2017-03-26 05:23:50 +00:00
|
|
|
<div class="container"><!-- Begin Blog container -->
|
2017-03-13 09:14:02 +00:00
|
|
|
|
2018-01-27 01:10:03 +00:00
|
|
|
{{ if .Site.Params.showLatest }}
|
2017-03-26 05:23:50 +00:00
|
|
|
<h2 class="title is-2 has-text-centered">Latest Post</h2>
|
2018-03-25 15:08:39 +00:00
|
|
|
{{ range first 1 (where .Data.Pages.ByPublishDate.Reverse "Section" "blog") }}
|
2018-03-25 17:11:24 +00:00
|
|
|
<div class="summary">{{ .Date.Format (.Site.Params.dateForm | default "Jan 02, 2006") }}
|
2017-03-26 05:23:50 +00:00
|
|
|
<h3 class="title is-3 latest-post-title"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
|
|
|
<div class="markdown">
|
|
|
|
{{ .Summary }}
|
|
|
|
{{ if .Truncated }}
|
|
|
|
<a href="{{ .RelPermalink }}">...Read More</a>
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|
2017-03-13 09:14:02 +00:00
|
|
|
{{ end }}
|
|
|
|
|
2018-01-27 01:10:03 +00:00
|
|
|
{{ if .Site.Params.showAllPosts }}
|
2017-03-26 05:23:50 +00:00
|
|
|
<h2 class="title is-2 has-text-centered top-pad">All Posts</h2>
|
2017-03-13 09:14:02 +00:00
|
|
|
<ul>
|
|
|
|
{{ range .Data.Pages.ByPublishDate }}
|
|
|
|
{{ if eq .Section "blog" }}
|
|
|
|
{{ partial "li.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
{{ end }}
|
|
|
|
</ul>
|
|
|
|
{{ else }}
|
2018-06-25 00:22:21 +00:00
|
|
|
<div class="container has-text-centered top-pad"><a href="{{ "/blog" | relURL }}">ALL BLOG POSTS</a></div>
|
2017-03-13 09:14:02 +00:00
|
|
|
{{ end }}
|
2017-03-26 05:23:50 +00:00
|
|
|
|
|
|
|
</div><!-- End Blog container -->
|
|
|
|
|
2017-12-05 04:04:11 +00:00
|
|
|
<div class="container has-text-centered top-pad"><a href="#top"><i class="fa fa-arrow-up"></i></a></div>
|