diff --git a/CHANGELOG.md b/CHANGELOG.md index e6fa73a..82b1e83 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,4 +2,7 @@ ## Version 1.0 -- Fork from [Hyde](https://github.com/spf13/hyde) and adapt to [Nate Finch's blog](https://npf.io)'s colors and fonts. \ No newline at end of file +- Fork from [Hyde](https://github.com/spf13/hyde) +- Adapt to [Nate Finch's blog](https://npf.io)'s colors and fonts. +- Refactor `basedof.html` and corresponding pages `index.html`, `single.html`, `list.html` + - define blocks `content` and `footer` that will be fulfilled by each different type of layout. \ No newline at end of file diff --git a/layouts/404.html b/layouts/404.html index a919514..e76d3fe 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -1,4 +1,11 @@ -{{ define "main" -}} +{{ define "header" -}} + {{ partial "header.html" . }} +{{- end }} + +{{ define "content" -}}
Sorry, we've misplaced that URL or it's pointing to something that doesn't exist. Head back home to try finding it again.
+{{- end }} + +{{ define "footer" -}} {{- end }} \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index c7ed356..3b77bea 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -1,11 +1,19 @@ -{{ partial "head.html" . }} - - {{ partial "sidebar.html" . }} -