working site with external nginx
This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user