diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6784f2b..9610585 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,28 +6,12 @@ - {{- if $.Site.Params.SetThemeAuto -}} - - {{- end -}} -
- {{- partial "header.html" . }} -
- + {{- partial "header.html" . }}
{{- block "main" . }} {{end }}
- - - {{ $highlight := resources.Get "js/highlight.min.js" | minify | fingerprint}} - - + {{- partial "footer.html" . }} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 1062c07..38f6d30 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,5 +1,13 @@ -© {{ now.Year }} {{ .Site.Title }} -· -Powered by Hugo️️ -· -Theme️ PaperMod \ No newline at end of file + +{{ $highlight := resources.Get "js/highlight.min.js" | minify | fingerprint}} + + \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index c1cc59e..a72672a 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,16 +1,28 @@ - \ No newline at end of file + {{- if .Site.Menus.main }} + + {{- end }} + + \ No newline at end of file