From 769c5b7aa6bd553c696125f3faa32103460afe78 Mon Sep 17 00:00:00 2001 From: Arona Jones Date: Sun, 19 Dec 2021 21:53:50 +0000 Subject: [PATCH] I wonder if this works --- layouts/post/single.html | 60 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 layouts/post/single.html diff --git a/layouts/post/single.html b/layouts/post/single.html new file mode 100644 index 0000000..2c0dc30 --- /dev/null +++ b/layouts/post/single.html @@ -0,0 +1,60 @@ +{{/* +Copyright (C) 2019 Josh Habdas + +This file is part of After Dark. + +After Dark is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +After Dark is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . +*/}} + +{{ define "header" }} + {{ partial "masthead.html" . }} +{{ end }} +{{ define "main" }} + {{ if ne $.Site.Params.hackcss.disabled true }} + {{ with resources.Get "css/conditional/layouts/post/single.css" | minify }} + + {{ end }} + {{ end }} +
+ {{ template "_internal/schema.html" . }} +
+

{{ .Title }}

+

+ {{ partial "post/meta.html" . }} +

+ {{ if .Description }} +
{{ .Description }}
+ {{ end }} + {{ partial "image/header.html" . }} +
+ {{ partial "toc-maybe.html" . }} +
+ {{ .Content }} +
+
+
+ {{ partial "post/byline.html" . }} + {{ partial "post/related-content.html" . }} +
+
+
+ +
+{{ end }} +{{ define "footer" }} + + {{ partial "copyright-notice.html" . }} + +{{ end }}