mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -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 }}
|