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