hugo-bearcub/layouts/_default/single.html

29 lines
669 B
HTML
Raw Normal View History

2020-08-31 15:40:11 +02:00
{{ define "main" }}
2023-02-01 15:06:05 -03:00
{{ if not .Params.menu }}
2020-08-31 15:40:11 +02:00
<h1>{{ .Title }}</h1>
<p>
<i>
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
2023-02-09 16:56:09 -03:00
{{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
2020-08-31 15:40:11 +02:00
</time>
2023-10-17 15:49:40 -03:00
{{ with .Params.author }}· {{.}}{{ end }}
2020-08-31 15:40:11 +02:00
</i>
</p>
2023-02-01 15:06:05 -03:00
{{ end }}
2020-08-31 15:40:11 +02:00
<content>
{{ .Content }}
</content>
<p>
{{ range (.GetTerms "tags") }}
2023-04-25 17:57:50 -03:00
<a class="blog-tags" href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
2020-08-31 15:40:11 +02:00
{{ end }}
</p>
{{ with .Site.Social.email }}
<p>
<a href='mailto:{{ . }}?subject={{ i18n "email-subject" }}"{{ default $.Site.Title $.Page.Title }}"'>
{{ i18n "email-reply" }} ↪
</a>
</p>
{{ end }}
2020-08-31 15:40:11 +02:00
{{ end }}