mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 21:25:59 -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
25 lines
533 B
HTML
25 lines
533 B
HTML
{{ define "main" }}
|
|
<h1>
|
|
{{ partial "icon.html" "files" }}
|
|
{{ .Title | markdownify }}
|
|
</h1>
|
|
|
|
{{ with .Content }}
|
|
{{ . }}
|
|
{{ end }}
|
|
|
|
<div class="page-list series">
|
|
{{ with .Paginator.Pages }}
|
|
{{ range . }}
|
|
<div class="page series">
|
|
{{ .Render "summary" }}
|
|
</div>
|
|
{{ end }}
|
|
{{ else }}
|
|
<div>
|
|
{{ i18n "no_posts" }}
|
|
</div>
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|