1
0
web/layouts/_default/single.html

37 lines
818 B
HTML
Raw Permalink Normal View History

2024-04-21 07:44:03 +00:00
{{ partial "head-blog.html" . }}
2024-04-05 08:44:02 +00:00
{{ partial "navbar.html" . }}
{{ partial "header.html" . }}
2024-04-05 08:46:22 +00:00
<article>
<div class="content">
2024-05-12 01:09:48 +00:00
<div class="post-time-date">
{{ if ne .Lastmod .Date }}
<p>{{ .Lastmod.Format "2006-01-02" }}</p>
{{ end }}
{{ $taxo := "tags" }}
{{ with .Param $taxo }}
<p><i class="fa-regular fa-folder"></i> {{ if gt (len .) 1 }}{{ end }}
{{ range $index, $director := . }}
{{- if gt $index 0 }}, {{ end -}}
{{ with $.Site.GetPage (printf "/%s/%s" $taxo $director) -}}
<a href="{{ .Permalink }}">{{ $director }}</a>
{{ end }}
{{ end }}
{{ end }}
</div>
2024-04-07 17:50:00 +00:00
<h1>{{ .Title }}</h1>
2024-04-05 08:46:22 +00:00
{{ .Content }}
</div>
</article>
2024-04-05 08:44:02 +00:00
2024-05-12 01:09:48 +00:00
{{ partial "next.html" . }}
2024-04-21 07:44:03 +00:00
{{ partial "comment.html" . }}
2024-04-07 17:50:00 +00:00
2024-04-05 08:44:02 +00:00
</div>
2024-04-27 03:19:58 +00:00
{{ partial "particles.html" . }}
2024-04-05 08:46:22 +00:00
{{ partial "footer.html" . }}
2024-04-05 08:44:02 +00:00
</body>
</html>