diff --git a/themes/briar/layouts/_default/baseof.html b/themes/briar/layouts/_default/baseof.html index ba9e13ffe41e3be811fd5ca14c0817c84008bb95..f200c65accc015558724625f7577f25cb52792cb 100644 --- a/themes/briar/layouts/_default/baseof.html +++ b/themes/briar/layouts/_default/baseof.html @@ -1,15 +1,15 @@ <!DOCTYPE html> <html lang="{{ .Site.LanguageCode }}"> - {{- partial "head.html" . -}} - <body> - <div id="wrapper"> - {{- partial "header.html" . -}} - <div id="container"> - <div id="content"> - {{- block "main" . }}{{- end }} - </div> - </div> - {{- partial "footer.html" . -}} +{{- partial "head.html" . -}} +<body> + <div id="wrapper"> + {{- partial "header.html" . -}} + <div id="container"> + <div id="content"> + {{- block "main" . }}{{- end }} </div> - </body> + </div> + {{- partial "footer.html" . -}} + </div> + </body> </html> diff --git a/themes/briar/layouts/_default/list.html b/themes/briar/layouts/_default/list.html index 5b2148269cdae28b73704e913159e3a63b23612c..3f1ed3326f497f4350637b28378f5661d4c36ad8 100644 --- a/themes/briar/layouts/_default/list.html +++ b/themes/briar/layouts/_default/list.html @@ -1,14 +1,14 @@ {{ define "main" }} - <h1>{{ with .Title }} {{ . }} {{ else }} {{ .Site.Title }} {{ end }}</h1> - {{ range first 1 .Pages.ByDate.Reverse }} - <h3 itemprop="headline" class="blog-post-title"> - <a href="{{.Permalink}}">{{.Title}}</a> - </h3> +<h1>{{ with .Title }} {{ . }} {{ else }} {{ .Site.Title }} {{ end }}</h1> +{{ range first 1 .Pages.ByDate.Reverse }} +<h3 itemprop="headline" class="blog-post-title"> + <a href="{{.Permalink}}">{{.Title}}</a> +</h3> <p class="blog-post-meta">{{.Date.Format "2006-01-02"}} - {{ if (isset .Params "author") }} - by {{ markdownify .Params.author }} - {{ end }} - </p> - {{ end }} - {{ .Content }} +{{ if (isset .Params "author") }} +by {{ markdownify .Params.author }} +{{ end }} +</p> +{{ end }} +{{ .Content }} {{ end }} diff --git a/themes/briar/layouts/_default/section.html b/themes/briar/layouts/_default/section.html index d870959866390f639a83d4241574416fe9cdb151..a7fc36f52b8cd7a2aebda1e0e421290e1047cf20 100644 --- a/themes/briar/layouts/_default/section.html +++ b/themes/briar/layouts/_default/section.html @@ -1,14 +1,14 @@ {{ define "main" }} - <h1>{{ with .Title }} {{ . }} {{ else }} {{ .Site.Title }} {{ end }}</h1> - {{ range first 10 .Pages.ByDate.Reverse }} - <h3 itemprop="headline" class="blog-post-title"> - <a href="{{.Permalink}}">{{.Title}}</a> - </h3> +<h1>{{ with .Title }} {{ . }} {{ else }} {{ .Site.Title }} {{ end }}</h1> +{{ range first 10 .Pages.ByDate.Reverse }} +<h3 itemprop="headline" class="blog-post-title"> + <a href="{{.Permalink}}">{{.Title}}</a> +</h3> <p class="blog-post-meta">{{.Date.Format "2006-01-02"}} - {{ if (isset .Params "author") }} - by {{ markdownify .Params.author }} - {{ end }} - </p> - {{ end }} - {{ .Content }} +{{ if (isset .Params "author") }} +by {{ markdownify .Params.author }} +{{ end }} +</p> +{{ end }} +{{ .Content }} {{ end }} diff --git a/themes/briar/layouts/_default/single.html b/themes/briar/layouts/_default/single.html index 830b17ec82cb08239ead118e5eca620cffdd38e6..e22c3a138fe07379c771f08888f433c7f5d628c3 100644 --- a/themes/briar/layouts/_default/single.html +++ b/themes/briar/layouts/_default/single.html @@ -1,4 +1,4 @@ {{ define "main" }} - <h2>{{ .Title }}</h2> - {{ .Content }} +<h2>{{ .Title }}</h2> +{{ .Content }} {{ end }}