diff --git a/layouts/_default/bookmarks.html b/layouts/_default/bookmarks.html index b372492..c6c5f2f 100644 --- a/layouts/_default/bookmarks.html +++ b/layouts/_default/bookmarks.html @@ -1,4 +1,4 @@ -{{ define "main" }} +{{ define "main" -}}

My book­marks

{{ partial "processed-content.html" . }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 3161f9f..3ec2288 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,4 +1,4 @@ -{{ define "main" }} +{{ define "main" -}} {{- if eq .Page.Section "notes" -}} {{- partial "notes.html" . -}} {{- else -}} diff --git a/layouts/_default/notes.html b/layouts/_default/notes.html index dce5e99..61ef2c9 100644 --- a/layouts/_default/notes.html +++ b/layouts/_default/notes.html @@ -1,4 +1,4 @@ -{{ define "main" }} +{{ define "main" -}}

Notes

This is my microblog. These are my short informal entries, sorted by date (newest first). For longer entries, see my blog.

diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 1ed540a..4921e13 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,4 +1,4 @@ -{{ define "main" }} +{{ define "main" -}} {{- $canonicalRelPermalink := .RelPermalink | replaceRE "^/~seirdy/" "/" }}
{{ partial "full-article.html" . }} diff --git a/layouts/index.html b/layouts/index.html index dd33bde..f452e35 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,4 +1,4 @@ -{{ define "main" }} +{{ define "main" -}}
{{ partial "processed-content.html" . }} {{ partial "posts.html" . }}