Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/schollz/onetwothree.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rwxr-xr-xlayouts/_default/single.html32
1 files changed, 32 insertions, 0 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100755
index 0000000..631cad1
--- /dev/null
+++ b/layouts/_default/single.html
@@ -0,0 +1,32 @@
+{{ partial "header.html" . }}
+
+
+<div class="content">
+ <h1>{{ .Title }} <aside>{{ range .Params.tags }}<a href="/tags/{{.}}/" class="w3-tag">/{{.}}</a>&nbsp;{{end}} </aside></h1>
+ {{ .Content }}
+</div>
+
+
+{{ if (eq .Type "post") }}
+<footer>
+ <p><small><em>Written {{ .Date.Format "January 2, 2006"}}. </em>
+ {{ if $.Site.Params.twitter }}
+ Leave a comment for me on Twitter <a href="https://twitter.com/intent/tweet?text=%40{{ $.Site.Params.twitter }}%20%23{{ replace (.URL) "/" "" }}%20">@{{ $.Site.Params.twitter }}</a>.
+ {{ end }}
+ </small></p>
+
+ <p>
+ {{ if .PrevInSection }}<a href="{{ .PrevInSection.URL }}">← {{ .PrevInSection.Title }}</a>&nbsp;{{end}}{{ if .NextInSection }}<a href="{{ .NextInSection.URL }}" style="float:right;">{{ .NextInSection.Title }} →</a>{{ end }}
+ </p>
+
+</span>
+
+</footer>
+{{ end }}
+
+
+
+
+
+
+{{ partial "footer.html" . }}