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

single.html « _default « layouts - github.com/schollz/onetwothree.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 455a8ee1823f4fd718c9136fca29164007d8dc11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{{ partial "header.html" . }}

{{ if .Draft }}
DRAFT
{{ end }}

<div class="content">
	<h1>{{ .Title }} <aside>{{ range .Params.tags }}<a href="/tags/{{.}}/" class="w3-tag">/{{.}}</a>&nbsp;&nbsp;&nbsp;{{end}}{{ if .Params.tags}}<a href="/about" class="w3-tag">/about</a>{{ end}}</aside></h1>
	{{ .Content }}
</div>


<footer>
{{ if (eq .Type "post") }}
	<p><small><em>Written {{ .Date.Format "January 2, 2006"}}. </em>
		{{ if $.Site.Params.twitter  }} 
		Send feedback to <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>
{{ end }}

</footer>




{{ partial "footer.html" . }}