From c2b53e85d28b4e9d4bb508ed43718a6b6e647632 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sun, 16 Nov 2025 18:40:07 -0700 Subject: [PATCH] Place the modified single.html back into _default. Copy + modify layout/posts/single.html from the hello-friend-ng theme. --- .../{posts/poetry => _default}/single.html | 3 + layouts/posts/single.html | 192 +++++++++++++----- 2 files changed, 148 insertions(+), 47 deletions(-) rename layouts/{posts/poetry => _default}/single.html (95%) diff --git a/layouts/posts/poetry/single.html b/layouts/_default/single.html similarity index 95% rename from layouts/posts/poetry/single.html rename to layouts/_default/single.html index 556e4c9..c705962 100644 --- a/layouts/posts/poetry/single.html +++ b/layouts/_default/single.html @@ -16,6 +16,9 @@ {{ if .Params.subtitle }} {{ .Params.subtitle | markdownify }} {{ end }} + {{ if .Params.author }} +
{{ partial "byline.html" . }}
+ {{ end }} {{ if .Params.Cover }}
diff --git a/layouts/posts/single.html b/layouts/posts/single.html index c705962..01baa15 100644 --- a/layouts/posts/single.html +++ b/layouts/posts/single.html @@ -1,59 +1,157 @@ {{ define "main" }} -
+
- + - {{ if .Params.Cover }} -
- {{ .Title }} +
+

+ {{ .Title | markdownify }} +

+ {{ if .Params.subtitle }} + {{ .Params.subtitle | markdownify }} + {{ end }} + {{ if .Params.author }} +
{{ partial "byline.html" . }}
+ {{ end }} - {{ if .Params.CoverCaption }} -
{{ .Params.CoverCaption | markdownify }}
- {{ end }} -
- {{ end }} + {{ with .Params.Description }} +
{{ . }}
+ {{ end }} - {{ if .Params.toc }} -
- -
- {{ end }} + {{ if .Params.Cover }} +
+ {{ .Title }} -
- {{ .Content }} -
- + {{ if .Params.CoverCaption }} +
{{ .Params.CoverCaption | markdownify }}
+ {{ end }} +
+ {{ end }} + {{- if .Params.toc }}
+ +
+ {{- end }} - -
+
+ {{ .Content }} +
+ + +
+ + + + {{- if .Site.Params.EnableSharingButtons }} +
+ + {{- end }} + + {{ partial "pagination-single.html" . }} + + {{ if .Site.Config.Services.Disqus.Shortname }} + {{ if not (eq .Params.Comments "false") }} +
+ {{ template "_internal/disqus.html" . }} +
+ {{ end }} + {{ end }} + + {{ if .Site.Params.Commento.Url }} + +
+ {{ end }} + + {{ if .Site.Params.Utterances.Repository }} + + {{ end }} + +
{{ end }}