mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-14 04:15:58 -06:00
25 lines
590 B
HTML
25 lines
590 B
HTML
{{ define "main" }}
|
|
<h1>
|
|
{{ if eq .Data.Singular "tag" }}
|
|
{{ partial "icon.html" "tag" }}
|
|
{{ else if eq .Data.Singular "category" }}
|
|
{{ partial "icon.html" "folder" }}
|
|
{{ else }}
|
|
{{ partial "icon.html" "filter" }}
|
|
{{ end }}
|
|
|
|
{{ .Title | markdownify }}
|
|
{{ partial "rss-link.html" . }}
|
|
</h1>
|
|
|
|
{{ partial "post-metadata/taxonomy.html" . }}
|
|
|
|
{{ with .Content }}
|
|
{{ . }}
|
|
{{ end }}
|
|
|
|
{{ partial "page-list.html" .Paginator.Pages }}
|
|
|
|
{{ partial "pagination.html" . }}
|
|
{{ end }}
|