mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -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
26 lines
594 B
HTML
26 lines
594 B
HTML
{{ define "main" }}
|
|
<h1>
|
|
{{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
|
{{ .Title | markdownify }}
|
|
{{ partial "rss-link.html" . }}
|
|
</h1>
|
|
|
|
{{ with .Content }}
|
|
{{ . }}
|
|
{{ end }}
|
|
|
|
<div class="list-page-container">
|
|
{{ with .Sections }}
|
|
<div class="sections">
|
|
{{ range . }}
|
|
{{ .Render "summary" }}
|
|
{{ end }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
{{ partial "page-list.html" .Paginator.Pages }}
|
|
</div>
|
|
|
|
{{ partial "pagination.html" . }}
|
|
{{ end }}
|