mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 05:15:58 -06:00
BBaoVanC
7bc8a4cb57
- Add vim folds to make organized sections - Rename a lot of classes from post- to page- - Generalize series CSS classes better - Clean up navbar div structure - Remove langpicker and most of multilingual support - many other minor tweaks
27 lines
674 B
HTML
27 lines
674 B
HTML
{{ define "main" }}
|
|
<div class="page-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 "page-metadata/taxonomy.html" . }}
|
|
|
|
{{ with .Content }}
|
|
{{ . }}
|
|
{{ end }}
|
|
|
|
{{ partial "page-list.html" .Paginator.Pages }}
|
|
|
|
{{ partial "pagination.html" . }}
|
|
{{ end }}
|