From 79acfcf1599496e67b20c39c00a100b07c383ab1 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Sat, 16 Mar 2019 17:43:05 +0100 Subject: theme: Add terrassa theme --- themes/terrassa/layouts/_default/single.html | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 themes/terrassa/layouts/_default/single.html (limited to 'themes/terrassa/layouts/_default/single.html') diff --git a/themes/terrassa/layouts/_default/single.html b/themes/terrassa/layouts/_default/single.html new file mode 100644 index 0000000..f6b15ae --- /dev/null +++ b/themes/terrassa/layouts/_default/single.html @@ -0,0 +1,31 @@ +{{ define "main" }} +
+
+

{{ .Title }}

+ {{ if .Description }} +

{{ .Description }}

+ {{ end }} + {{ if ne .Type "page" }} + {{ if and $.Site.Params.posts.showDate $.Site.Params.posts.showAuthor }} + + {{ else if $.Site.Params.posts.showDate }} + + {{ else if $.Site.Params.posts.showAuthor }} + + {{ end }} + {{ end }} +
+ +
+ {{ .Content }} +
+ + {{ if ne .Type "page" }} + + {{ end }} +
+{{ end }} \ No newline at end of file -- cgit v1.2.3