From 6758a1a26de82a6dc3661db880513cba75f01110 Mon Sep 17 00:00:00 2001 From: leiyu3 Date: Thu, 17 Jul 2025 11:47:55 -0400 Subject: init commit --- layouts/_default/single.html | 74 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 74 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..38cf763 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,74 @@ +{{ define "main" }} + +{{/* Breadcrumbs */}} + +
+ +
+ + {{/* Title and Summary */}} + +

{{ .Title }}

+ {{ if .Param "author" }} +

By: {{ .Param "author" }}

+ {{ end }} + +
+
+ +
+ +
+ + +
+
+ +
+ + {{ if .Param "showTags" }} + + {{ $taxonomy := "tags" }} + {{ with .Param $taxonomy }} + +
+ {{ range $index, $tag := . }} + {{ with $.Site.GetPage (printf "/%s/%s" $taxonomy $tag) -}} + + #{{ .LinkTitle }} + + {{ end }} + {{ end }} +
+ + {{ end }} + {{ end }} + + {{/* Page content */}} + +
+ {{ .Content }} +
+ + {{/* Back to top */}} + +
+ +{{ end }} \ No newline at end of file -- cgit v1.2.3