From 44dbcd6f34c676cefbacf12f18d9883c597a681a Mon Sep 17 00:00:00 2001 From: Track3 Date: Tue, 23 Oct 2018 13:15:50 +0800 Subject: First commit --- layouts/posts/single.html | 56 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 layouts/posts/single.html (limited to 'layouts/posts/single.html') diff --git a/layouts/posts/single.html b/layouts/posts/single.html new file mode 100644 index 0000000..62a875b --- /dev/null +++ b/layouts/posts/single.html @@ -0,0 +1,56 @@ +{{ define "header" }} +{{ partial "header.html" . }} +{{ end }} + +{{ define "main" }} + {{- with .Params.featuredImg }} +
+ {{- end }} +
+
+
+ +

{{ .Title }}

+
+
+ {{ .Content }} +
+
+
+ {{- with .Params.tags }} +

+ + {{- range . -}} + {{.}} + {{- end }} +

+ {{- end }} +

{{ .WordCount }} Words

+

{{ dateFormat .Site.Params.dateformNumTime .Date.Local }}

+ {{- if .GitInfo }} +

{{ .GitInfo.AbbreviatedHash }} @ {{ dateFormat .Site.Params.dateformNum .GitInfo.AuthorDate.Local }}

+ {{- end }} +
+
+
+ {{- with .NextInSection }} + + {{- end }} + {{- with .PrevInSection }} + + {{- end }} +
+ {{- with .Site.DisqusShortname }} + {{ partialCached "disqus.html" . }} + {{- end }} +
+{{ end }} + +{{ define "footer" }} +{{ partialCached "footer.html" . }} + +{{ end }} \ No newline at end of file -- cgit v1.2.3