From f48ec923c409215cd9a995f9cccfdb679e35ce02 Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <the@jeffreyfreeman.me> Date: Sun, 8 Oct 2023 12:13:37 -0400 Subject: [PATCH] Reorganized elements in single pages to be consistent --- layouts/_default/single.html | 2 +- layouts/entry/single.html | 1 - layouts/news/single.html | 1 + layouts/projects/single.html | 3 ++- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 4b47d4192..02d8b299f 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -6,8 +6,8 @@ <section class='post-content'> {{ if isset .Params "toc" }}{{ .TableOfContents }}{{ end}} {{ .Content }} + {{ partial "article_footer.html" . }} - {{ partial "comments.html" . }} {{ partial "article_share.html" . }} {{ partial "comments.html" . }} </section> diff --git a/layouts/entry/single.html b/layouts/entry/single.html index b2637f290..e4f6a6b49 100644 --- a/layouts/entry/single.html +++ b/layouts/entry/single.html @@ -1,4 +1,3 @@ - {{ partial "top_single.html" . }} <div class='row'> <div class='col-md-8'> diff --git a/layouts/news/single.html b/layouts/news/single.html index 7e2cce3e1..ddd8f71ca 100644 --- a/layouts/news/single.html +++ b/layouts/news/single.html @@ -6,6 +6,7 @@ <section class='post-content'> {{ if isset .Params "toc" }}{{ .TableOfContents }}{{ end}} {{ .Content }} + {{ partial "article_footer.html" . }} {{ partial "article_share.html" . }} {{ partial "comments.html" . }} diff --git a/layouts/projects/single.html b/layouts/projects/single.html index b792e2831..ddd8f71ca 100644 --- a/layouts/projects/single.html +++ b/layouts/projects/single.html @@ -4,8 +4,9 @@ <article class='post'> {{ partial "post_header_single.html" . }} <section class='post-content'> + {{ if isset .Params "toc" }}{{ .TableOfContents }}{{ end}} {{ .Content }} - + {{ partial "article_footer.html" . }} {{ partial "article_share.html" . }} {{ partial "comments.html" . }} -- GitLab