diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index b022342..7e56b12 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -27,6 +27,9 @@ and this project adheres to https://semver.org/spec/v2.0.0.html[Semantic Version == Updated +- Reposition certain components. +This is to (hopefully) fix certain layouts when the article is read in reader mode (in major web browsers such as Chrome and Firefox). + - Spacing between basic elements (i.e., `

`). - Responsive font sizing. diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 34ffe33..c52ec00 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,24 +1,26 @@ {{ define "main" }} -

-
-

{{ .Title }}

-
- {{ partial "partials/components/post-meta.html" . }} - - {{ $is_toc := cond (ne .Params.toc nil) .Params.toc $.Site.Params.toc }} - {{ if (and $is_toc (gt (countrunes .TableOfContents) 0)) }} - - {{ .TableOfContents }} - {{ end }} - +
- {{ .Content }} +
+
+

{{ .Title }}

+ {{ partial "partials/components/post-meta.html" . }} +
+ + {{ $is_toc := cond (ne .Params.toc nil) .Params.toc $.Site.Params.toc }} + {{ if (and $is_toc (gt (countrunes .TableOfContents) 0)) }} + + {{ .TableOfContents }} + {{ end }} + + {{ .Content }} +
@@ -53,6 +55,6 @@

{{ i18n "available_translations" }}: {{ delimit $lang_links "," (printf " %s " (i18n "and")) }}

{{- end }}
-
+ {{ end }}