diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index bb357db..7606f8a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -17,7 +17,7 @@ - {{- partialCached "header.html" . }} + {{- partial "header.html" . }} {{- if ne .Site.Params.sidebar.display "remove" }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index ea48856..dd56d01 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,3 +1,2 @@ {{ $paginator := .Paginator.Pages.GroupByDate "2006" }} -{{ partial "list.html" $paginator }} - +{{ partial "list.html" $paginator }} \ No newline at end of file diff --git a/layouts/partials/menus.html b/layouts/partials/menus.html deleted file mode 100644 index b330003..0000000 --- a/layouts/partials/menus.html +++ /dev/null @@ -1,12 +0,0 @@ - - {{- $curP := . }} - {{- range .Site.Menus.main }} - {{ $active := or ($curP.IsMenuCurrent "main" .) ($curP.HasMenuCurrent "main" .) }} - {{ $active = or $active (eq .URL "/")}} - - - {{- .Name }} - - - {{- end }} - \ No newline at end of file