blob: 71c64818bcee1afe1b6ba6bc32e9ba1a089cea1a (
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
|
{{- partial "header.html" . }}
<article class="post-single">
<header class="post-header">
<h1 class="post-title">{{ .Title }}</h1>
<div class="post-meta">
{{- $date := .Date.Format "2006-01-02" }}
{{- $lastmod := .Lastmod.Format "2006-01-02" }}
Posted on <time>{{ $date }}</time>{{ if ne $date $lastmod }}, updated on <time>{{ $lastmod }}</time>{{ end }}
</div>
{{- if .Params.tags }}
<ul class="post-tags">
{{- range .Params.tags }}
{{- $href := print (absURL "tags/") (urlize .) }}
<li><a href="{{ $href }}">{{ . }}</a></li>
{{- end }}
</ul>
{{- end }}
</header>
<div class="post-content">
{{- if .Params.changelog }}
<section>
<h1>更新履歴</h1>
<ul>
{{- range $date, $remark := .Params.changelog }}
<li>{{ $date }}: {{ $remark }}</li>
{{- end }}
</ul>
</section>
{{- end }}
{{ .Content }}
</div>
</article>
{{- partial "footer.html" . }}
|