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,13 @@
<!DOCTYPE html>
<html lang="{{ .Site.Language.Lang }}">
{{ partial "head.html" . }}
<body>
<div class="container paper">
{{ partial "nav.html" . }}
<main>
{{ block "main" . }}{{ end }}
</main>
{{ partial "google-analytics-async.html" . }}
</div>
</body>
</html>

View File

@@ -0,0 +1,16 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ $pages := .Pages }}
{{ 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 }}

View File

@@ -0,0 +1,6 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ .Content }}
{{ end }}

View File

@@ -0,0 +1,11 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ range .Data.Terms.Alphabetical }}
<h2 class="post-list">
<span class="badge">{{ .Count }}</span>
<a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a>
</h2>
{{ end }}
{{ end }}