working site with external nginx

This commit is contained in:
2020-01-18 13:40:05 -06:00
parent 9449858d2f
commit 9f57bd71c6
62 changed files with 5267 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ $pages := where site.RegularPages "Type" "in" site.Params.mainSections }}
{{ range $pages.ByPublishDate.Reverse }}
<h2 class="post-list {{ if ne .Params.show_summary false }}summary{{ end }}">
<a href="{{ .Permalink }}">
{{ .Title }}
</a>
</h2>
{{ if ne .Params.show_summary false }}
{{ .Summary }}
{{ end }}
{{ end }}
{{ end }}