2016-10-06 14:03:35 +02:00
|
|
|
{{ define "title" }}{{ .Title | markdownify }} | {{ .Site.Title }}{{ end }}
|
2016-09-01 16:37:27 +02:00
|
|
|
{{ define "main" }}
|
2016-08-30 11:45:13 +02:00
|
|
|
<article class="blog-post">
|
2016-09-02 09:09:17 +02:00
|
|
|
<header>
|
2016-10-06 13:21:30 +02:00
|
|
|
<h2 class="blog-post-title"><a href="{{ .Permalink }}">{{ .Title | markdownify }}</a></h2>
|
2016-09-27 22:21:01 +02:00
|
|
|
<p class="blog-post-meta"><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format .Site.Params.date_format }}</time> by {{ .Params.author | default .Site.Params.author }}{{ if or (.Params.categories) (.Params.tags) }} in {{ partial "meta-terms.html" . }}{{ end }}</p>
|
2016-09-02 09:09:17 +02:00
|
|
|
</header>
|
2016-08-30 11:45:13 +02:00
|
|
|
{{ .Content }}
|
2016-09-18 16:11:08 +02:00
|
|
|
|
2016-10-03 16:57:08 +02:00
|
|
|
{{ if .IsTranslated }}
|
2016-10-03 21:57:27 +02:00
|
|
|
<h4>{{ i18n "translations" }}</h4>
|
2016-10-03 16:57:08 +02:00
|
|
|
<ul>
|
|
|
|
{{ range .Translations }}
|
|
|
|
<li>
|
|
|
|
<a href="{{ .Permalink }}">{{ .Lang }}: {{ .Title }}{{ if .IsPage }}{{ end }}</a>
|
|
|
|
</li>
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ end }}
|
2016-09-18 16:11:08 +02:00
|
|
|
{{ if not .Site.Params.sharingicons.hide }}
|
|
|
|
{{ partial "sharing-icons.html" . }}
|
|
|
|
{{ end }}
|
2016-08-30 11:45:13 +02:00
|
|
|
</article> <!-- /.blog-post -->
|
2016-09-01 16:37:27 +02:00
|
|
|
{{ end }}
|