mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-08-31 00:57:33 -05:00
24 lines
600 B
HTML
24 lines
600 B
HTML
{{ define "main" }}
|
|
{{ with .Content }}
|
|
<article class="body-module--center">
|
|
{{ . }}
|
|
</article>
|
|
<hr class="body-module--center">
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
{{ define "post-body" }}
|
|
{{ if .Site.Params.homepageLatestPosts }}
|
|
<div class="body-module--center">
|
|
<h1>
|
|
{{ i18n "latest_posts" }}
|
|
{{ partial "rss-link.html" . }}
|
|
</h1>
|
|
|
|
{{ partial "page-list.html" (.Paginate .Site.RegularPages).Pages }}
|
|
|
|
{{ partial "pagination.html" . }}
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|