mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-05 00:15:59 -06:00
22 lines
532 B
HTML
22 lines
532 B
HTML
{{ define "main" }}
|
|
{{ with .Content }}
|
|
<div class="homepage-content">
|
|
{{ . }}
|
|
</div>
|
|
{{ end }}
|
|
|
|
{{ if .Site.Params.homepageLatestPosts }}
|
|
<div class="homepage-latest-posts">
|
|
<hr>
|
|
<h1>
|
|
{{ i18n "latest_posts" }}
|
|
{{ partial "rss-link.html" . }}
|
|
</h1>
|
|
|
|
{{ partial "page-list.html" (.Paginate .Site.RegularPages).Pages }}
|
|
|
|
{{ partial "pagination.html" . }}
|
|
</div>
|
|
{{ end }}
|
|
{{ end }}
|