2020-08-31 13:40:11 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
{{ if eq .Type "blog" }}{{ if not .Params.menu }}
|
|
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
<p>
|
|
|
|
<i>
|
|
|
|
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
|
2021-04-06 06:47:59 +00:00
|
|
|
{{ .Date.Format (default "02 Jan, 2006" .Site.Params.dateFormat) }}
|
2020-08-31 13:40:11 +00:00
|
|
|
</time>
|
2024-03-09 06:27:57 +00:00
|
|
|
{{ if ne .Lastmod .Date }}
|
|
|
|
/ <b>EDIT :
|
|
|
|
<time datetime='{{ .Lastmod.Format "2006-01-02" }}'>
|
|
|
|
{{ .Lastmod.Format (default "02 Jan, 2006" .Site.Params.dateFormat) }}
|
|
|
|
</time></b>
|
|
|
|
{{ end }}
|
2020-08-31 13:40:11 +00:00
|
|
|
</i>
|
|
|
|
</p>
|
|
|
|
{{ end }}{{ end }}
|
|
|
|
<content>
|
|
|
|
{{ .Content }}
|
|
|
|
</content>
|
|
|
|
<p>
|
|
|
|
{{ range (.GetTerms "tags") }}
|
|
|
|
<a href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
|
|
|
|
{{ end }}
|
|
|
|
</p>
|
|
|
|
{{ end }}
|