blob: fbdd7198910c9b91c40df787d63d6800e906bef2 (
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
33
34
35
|
{{ define "main" }}
<section id="main">
<article class="post content">
<h2 class="title">{{ .Title }}</h2>
<div class="post_content">
{{ .Content }}
</div>
<div class="info post_meta">
<time datetime={{ .Date.Format "2006-01-02T15:04:05Z0700" }} class="date">{{ .Date.Format "Monday, January 2, 2006" }}</time>
{{ with .Params.tags }}
<ul class="tags">
{{ range . }}
<li> <a href="{{ "tags" | absURL }}{{ . | urlize }}">{{ . }}</a> </li>
{{ end }}
</ul>
{{ end }}
{{ with .Site.Params.postLicense }}
<div class="license">
<p>{{ . | markdownify }}</p>
</div>
{{ end }}
</div>
<div class="clearfix"></div>
</article>
<div class="other_posts">
{{ if .PrevInSection }}
<a href="{{.PrevInSection.Permalink}}" class="prev">{{ .PrevInSection.LinkTitle }}</a>
{{ end }}
{{ if .NextInSection }}
<a href="{{.NextInSection.Permalink}}" class="next">{{ .NextInSection.LinkTitle }}</a>
{{ end }}
</div>
{{ partial "comments.html" . }}
</section>
{{ end }}
|