mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-16 04:55:59 -06:00
27 lines
674 B
HTML
27 lines
674 B
HTML
{{ define "main" }}
|
|
<div class="post-title">
|
|
<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>
|
|
</div>
|
|
|
|
{{ partial "post-metadata/taxonomy.html" . }}
|
|
|
|
{{ with .Content }}
|
|
{{ . }}
|
|
{{ end }}
|
|
|
|
{{ partial "page-list.html" .Paginator.Pages }}
|
|
|
|
{{ partial "pagination.html" . }}
|
|
{{ end }}
|