2017-06-16 07:06:16 +03:00
|
|
|
{{ partial "header.html" . }}
|
|
|
|
<div class="article-meta">
|
2018-08-30 17:24:07 +03:00
|
|
|
<h1><span class="title">{{ .Title | markdownify }}</span></h1>
|
2017-06-16 07:06:16 +03:00
|
|
|
{{ with .Params.author }}<h2 class="author">{{ . }}</h2>{{ end }}
|
2018-02-19 06:10:16 +02:00
|
|
|
{{ if (gt .Params.date 0) }}<h2 class="date">{{ .Date.Format "2006/01/02" }}</h2>{{ end }}
|
2017-06-20 06:59:02 +03:00
|
|
|
<p class="terms">
|
|
|
|
{{ range $i := (slice "categories" "tags") }}
|
|
|
|
{{ with ($.Param $i) }}
|
|
|
|
{{ $i | title }}: {{ range $k := . }}<a href="{{ relURL (print "/" $i "/" $k | urlize) }}">{{$k}}</a> {{ end }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</p>
|
2017-06-16 07:06:16 +03:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<main>
|
|
|
|
{{ .Content }}
|
|
|
|
</main>
|
|
|
|
|
|
|
|
{{ partial "footer.html" . }}
|