blob: 26df7316ee4d6f49f946b7a818b036eda3ecd525 (
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
|
{{ partial "head.html" . }}
<body class="{{ .Site.Params.themeColor }} {{if .Site.Params.layoutReverse}}layout-reverse{{end}} h-entry" itemscope itemtype="http://schema.org/BlogPosting">
<main class="content container" role="main">
<article class="post">
<header>
<a class="u-url" href="{{ .Permalink | replaceRE "/$" "" }}">
<h1 class="post-title p-name" itemprop="name">{{ .Title }}</h1>
</a>
<time class="post-date dt-published" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}" itemprop="datePublished">{{ .Date.Format "Monday, 2 January 2006" }}</time>
</header>
<main class="post-content e-content" itemprop="articleBody">
{{ .Content }}
</main>
<footer class="footer">
{{ if .Params.categories }}
<span>
Category:
{{ range .Params.categories }}
<a class="p-category" href="/categories/{{ . | lower | urlize }}/">{{ . }}</a>
{{ end }}
</span>
{{ end }}
{{ if .Params.tags }}
<p>
Tags:
{{ range .Params.tags }}
<span itemprop="keywords">
<a class="p-category" href="/tags/{{ . | urlize }}/">{{ . }}</a>
</span>
{{ end }}
</p>
{{ end }}
</footer>
</article>
</main>
{{ partial "sidebar.html" . }}
</body>
</html>
|