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,21 @@
{{ define "main" }}
<h1 class="post-title">{{ .Title }}</h1>
{{ $dateFormat := $.Site.Params.dateFormat | default "Jan 2, 2006" }}
<strong>Publish date: </strong>{{ .PublishDate.Format $dateFormat }}
<br>
{{ with .Params.tags }}
<strong>Tags: </strong>
{{ range . }}
<a href="{{ "tags/" | absURL }}{{ . | urlize }}">{{ . }}</a>
{{ end }}
{{ end }}
{{ if ne .Params.toc false }}
{{ partial "toc.html" . }}
{{ end }}
{{ .Content }}
{{ end }}