From 54375572e11d23dacb20c5742d171af3072d7b9c Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Thu, 28 Nov 2024 00:46:17 +0300 Subject: Серьезная реновация MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/single.html | 49 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 layouts/_default/single.html (limited to 'layouts/_default/single.html') diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..2bc6870 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,49 @@ +{{ define "main" }} +
+ +
+
+
+
+ {{ .Title }} + {{ if .Date }} + {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} + {{ $dateHuman := .Date | time.Format (or .Site.Params.dateFormat.published "Jan 02, 2006") }} + + {{ end }} +
+
+ {{ if .Params.Image }} + + {{ end }} +
{{ .Summary }}
+
{{ .Content }}
+ +
+ {{ if .Params.comments }} {{ partial "comments.html" . }} {{ end }} +
+
+{{ end }} -- cgit v1.2.3