diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..4035dd6 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,31 @@ + + + + + {{- partial "head.html" . }} + + + + +
+ {{- partial "header.html" . }} +
+ +
+ {{- block "main" . }} + {{end }} +
+ + + {{ $highlight := resources.Get "highlight.min.js" | minify }} + + + + + \ No newline at end of file diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 96863ba..969f98b 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,4 +1,4 @@ -{{- partial "header.html" . }} +{{ define "main" }} {{- $scope := .Site }} @@ -39,4 +39,4 @@ {{- end }} -{{- partial "footer.html" . }} \ No newline at end of file +{{ end }}{{/* end main */}} \ No newline at end of file diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 0897600..842fa31 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,4 +1,4 @@ -{{- partial "header.html" . }} +{{ define "main" }}
@@ -26,4 +26,4 @@ {{- end }}
-{{- partial "footer.html" . }} \ No newline at end of file +{{ end }}{{/* end main */}} \ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index c186c8f..11cff65 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,16 +1,5 @@ - - -{{ $highlight := resources.Get "highlight.min.js" | minify }} - - - - - \ No newline at end of file +© {{ now.Year }} {{ .Site.Title }} +· +Powered by Hugo️️ +· +Theme️ Paper \ No newline at end of file diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 938d24c..c1cc59e 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,30 +1,16 @@ - - - - - {{- partial "head.html" . }} - - - - -
- -
-
\ No newline at end of file + \ No newline at end of file