diff --git a/layouts/_default/single.html b/layouts/_default/single.html index c4d8890..07ae27a 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,32 +1,25 @@ {{ define "main" }} -
-

{{ .Title | markdownify }}

-{{ $authors := .Params.authors | default (slice .Site.Params.defaultAuthor) }} -

{{ index $authors 0 }}

-{{ if .Params.date }}

{{ .Date.Format "Mon | Jan 2, 2006" }}

{{ end }} -{{ range (.GetTerms "tags") }} - {{ .LinkTitle }} -{{ end}} - {{ partial "responsive-image.html" (dict "context" . "class" "shadow large-image") }} -
-{{ if .Params.toc }} -{{ .TableOfContents }} -{{ end }} -
-
- {{ .Content }} -

- {{ with .NextInSection }} - Next: {{ .Title | markdownify }} -
- {{ end }} - {{ with .PrevInSection }} - Previous: {{ .Title | markdownify }} -
- {{ end }} - >> Home -

-
-
+ {{ partial "article-meta.html" . }} + + {{ if .Params.toc }} + {{ .TableOfContents }} + {{ end }} + +
+
+ {{ .Content }} +

+ {{ with .NextInSection }} + Next: {{ .Title | markdownify }} +
+ {{ end }} + {{ with .PrevInSection }} + Previous: {{ .Title | markdownify }} +
+ {{ end }} + >> Home +

+
+
{{ end }} diff --git a/layouts/games/list.html b/layouts/games/list.html index 013fc29..2df9e23 100644 --- a/layouts/games/list.html +++ b/layouts/games/list.html @@ -1,17 +1,6 @@ {{ define "main" }} -
-

{{ .Title | markdownify }}

-{{ $authors := .Params.authors | default (slice .Site.Params.defaultAuthor) }} -

{{ index $authors 0 }}

-{{ if .Params.releaseDate }}

Released {{ dateFormat "Mon | Jan 2, 2006" .Params.releaseDate }}

{{ end }} -{{ range (.GetTerms "tags") }} - {{ .LinkTitle }} -{{ end }} -
-

Platforms:

- {{ delimit .Params.platforms " ยท " }} - {{ partial "responsive-image.html" (dict "context" . "class" "shadow fill-wh") }} -
+ +{{ partial "article-meta.html" . }} {{ if .Params.toc }} {{ .TableOfContents }}