blob: bbb6775d9cf99db81ef5d1810d350b65b860b19b (
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
36
37
38
39
40
41
42
|
{{ define "main" }}
<div class="row">
<div class="col-md-8">
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
<header class="post-header">
<h1 class="post-title" itemprop="name headline">{{ .Title }}</h1>
<p class="post-meta"><time datetime='{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}' itemprop="datePublished">{{ .Date.Format "January 2, 2006" }}</time>{{ with .Params.Author }} • <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ . }}</span></span>{{ end }}</p>
</header>
<div class="post-content" itemprop="articleBody">
{{ .Content }}
</div>
</article>
<div class="row">
{{ if .Site.Params.disqus }}
{{ partial "disqus.html" . }}
{{ end }}
</div>
<div class="row">
<ul class="pager">
{{ with .Next }}
<li><a class="next" href="{{ .URL }}">« {{ .Title }}</a></li>
{{ end }}
{{ with .Prev }}
<li><a class="previous" href="{{ .URL }}">{{ .Title }} »</a></li>
{{ end }}
</ul>
</div>
</div>
{{ partial "sidebar.html" . }}
</div>
{{ partial "fb-script.html" . }}
{{ end }}
|