You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.2 KiB
35 lines
1.2 KiB
{{ define "header" }}
|
|
{{ partial "header.html" . }}
|
|
{{ end }}
|
|
|
|
{{ define "content" }}
|
|
<div class="post-list">
|
|
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" site.Params.mainSections) }}
|
|
{{ range $paginator.Pages }}
|
|
<div class="col-md-8 col-sm-8 col-xs-12">
|
|
<span class="blog__title">
|
|
<a href="{{ .RelPermalink }}" target="_blank" rel="noopener noreferrer">{{ .Title }}</a>
|
|
</span>
|
|
<span class="blog__meta">
|
|
{{ partial "page-single/post-meta.html" . }}
|
|
</span>
|
|
<span class="blog__summary">
|
|
{{ .Summary }}
|
|
</span>
|
|
<span class="read_more">
|
|
<a href="{{ .RelPermalink }}" target="_blank" rel="noopener noreferrer">READ MORE</a>
|
|
</span>
|
|
</div>
|
|
<div class="row-space"> </div>
|
|
{{ end }}
|
|
</div>
|
|
{{ partial "pagination.html" . }}
|
|
{{ end }}
|
|
|
|
{{ define "footer" }}
|
|
{{ if .Site.GoogleAnalytics }}
|
|
<!-- Google Analytics -->
|
|
{{ template "_internal/google_analytics_async.html" . }}
|
|
{{ end }}
|
|
{{ partial "footer/font-awesome-js.html" . }}
|
|
{{ end }}
|
|
|