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
22 lines
623 B
HTML
22 lines
623 B
HTML
<h2 class="page-title">
|
|
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
|
<a class="heading-link" href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
|
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
|
</h2>
|
|
|
|
{{ partial "page-metadata/post-short.html" . }}
|
|
|
|
{{ with .Resources.GetMatch "feature" }}
|
|
<div class="post-media">
|
|
{{ partial "figure.html" (dict "src" .) }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
<div class="page-description">
|
|
{{ partial "description-or-summary.html" . }}
|
|
</div>
|
|
|
|
<div class="readmore">
|
|
<a href="{{ .Permalink }}">{{ i18n "read_more" }} →</a>
|
|
</div>
|