website/themes/terminal-plus-minus/layouts/index.html

16 lines
346 B
HTML
Raw Normal View History

2019-09-01 17:51:06 +00:00
{{ define "main" }}
{{- with $.Site.Params.tagline -}}
<h2 class="site__tagline">{{- . -}}</h2>
{{- end -}}
{{- .Content -}}
{{- partial "author/projects.html" . -}}
{{- partial "author/support.html" . -}}
{{- $showPosts := eq $.Site.Params.showPostsOnHome true -}}
{{- if $showPosts -}}
{{- partial "posts.html" . -}}
{{- end -}}
{{- end -}}