diff options
Diffstat (limited to 'users/fcuny/blog/layouts/_default')
-rw-r--r-- | users/fcuny/blog/layouts/_default/baseof.html | 1 | ||||
-rw-r--r-- | users/fcuny/blog/layouts/_default/list.html | 8 | ||||
-rw-r--r-- | users/fcuny/blog/layouts/_default/single.html | 2 |
3 files changed, 3 insertions, 8 deletions
diff --git a/users/fcuny/blog/layouts/_default/baseof.html b/users/fcuny/blog/layouts/_default/baseof.html index d9ca51a..3fd7011 100644 --- a/users/fcuny/blog/layouts/_default/baseof.html +++ b/users/fcuny/blog/layouts/_default/baseof.html @@ -3,6 +3,7 @@ {{ partial "head.html" . }} <body> <div class="main"> + {{- partial "header.html" . -}} <main> {{ block "main" . }}{{ end }} </main> diff --git a/users/fcuny/blog/layouts/_default/list.html b/users/fcuny/blog/layouts/_default/list.html index 3423cb6..2b7d98a 100644 --- a/users/fcuny/blog/layouts/_default/list.html +++ b/users/fcuny/blog/layouts/_default/list.html @@ -1,10 +1,6 @@ {{ define "main" }} -<h1>{{ .Title }}</h1> -{{ range .Pages.ByPublishDate.Reverse }} -<p> - <a class="font-125" href="{{ .RelPermalink }}">{{ .Title }}</a> -</p> -{{ end }} + {{ $pgs := where .Data.Pages "Params.hidden" "ne" "true" }} + {{ partial "postlist" $pgs }} {{ end }} diff --git a/users/fcuny/blog/layouts/_default/single.html b/users/fcuny/blog/layouts/_default/single.html index 0ab5e35..356f344 100644 --- a/users/fcuny/blog/layouts/_default/single.html +++ b/users/fcuny/blog/layouts/_default/single.html @@ -1,7 +1,5 @@ {{ define "main" }} -<p><a href="/">← Back to Franck's homepage</a></p> - <h1>{{ .Title }}</h1> <div class="meta"> |