nextDESIGN/layouts/_default/single.html

33 lines
903 B
HTML
Raw Permalink Normal View History

2020-05-15 20:17:59 +02:00
{{ define "main" }}
2022-02-22 17:34:43 +01:00
<h1>{{ .Title }}</h1>
<p id="date">{{.Date.Format "2006-01-02"}}</p>
<p>{{ .WordCount }} words, ~ {{ .ReadingTime }} min reading time</p>
2020-05-15 20:17:59 +02:00
2022-02-22 17:34:43 +01:00
<p>
<div class="tagories">
{{ with .Params.categories }}
<span id="categories">
{{ range . }}
<a href="{{ "categories" | absURL}}/{{ . | urlize }}">{{ . }}</a>
{{ end }}
</span>
{{ end }}
{{ with .Params.tags }}
<span id="tags">
{{ range . }}
<a href="{{ "tags" | absURL}}/{{ . | urlize }}">{{ . }}</a>
{{ end }}
</span>
2020-05-15 20:17:59 +02:00
{{ end }}
2022-02-22 17:34:43 +01:00
</div>
</p>
{{ .Content }}
{{ if isset .Site.Params.comment "mail" }}
<div class="comment">
<p>I would like to hear what you think about this post. Feel free to write me a mail!</p>
<a class="btn" href="mailto:{{ .Site.Params.comment.mail }}?subject=Reply to: &quot;{{ .Page.Title }}&quot;">Reply by mail</a>
</div>
{{ end }}
2020-05-15 20:17:59 +02:00
{{ end }}