bobatheme/layouts/home.html

22 lines
536 B
HTML
Raw Normal View History

2021-09-25 20:52:01 -05:00
{{ define "main" }}
2022-04-29 19:09:26 -05:00
{{ with .Content }}
2022-05-23 01:33:24 -05:00
<article class="homepage-content">
{{ . }}
2022-05-23 01:33:24 -05:00
</article>
<hr>
2022-04-29 19:09:26 -05:00
{{ end }}
{{ if .Site.Params.homepageLatestPosts }}
<div class="homepage-latest-posts">
<h1>
{{ i18n "latest_posts" }}
{{ partial "rss-link.html" . }}
</h1>
2022-04-29 19:09:26 -05:00
{{ partial "page-list.html" (.Paginate .Site.RegularPages).Pages }}
2022-04-29 19:09:26 -05:00
{{ partial "pagination.html" . }}
</div>
2022-04-29 19:09:26 -05:00
{{ end }}
2021-09-25 20:52:01 -05:00
{{ end }}