aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html28
1 files changed, 0 insertions, 28 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
deleted file mode 100644
index 2919b8f..0000000
--- a/layouts/_default/single.html
+++ /dev/null
@@ -1,28 +0,0 @@
-{{ define "main" }}
-
-<div>
- <h1>{{ .Title }}</h1>
-
- <div id="meta">
- {{- $pub := .Date.Format "Jan 2, 2006" -}}
- {{- $mod := "" -}}
-
- {{- if (not .GitInfo) }}
- {{- $mod = .Lastmod.Format "Jan 2, 2006" -}}
- {{ else }}
- {{- $mod = .Page.GitInfo.CommitDate.Format "Jan 2, 2006" -}}
- {{ end -}}
-
- {{ if eq $pub $mod }}
- <span id="meta_date">posted on {{ $pub }}</span>
- {{ else }}
- <span id="meta_date">posted on {{ $pub }} - last modified {{ $mod }}</span>
- {{ end }}
- </div>
-
- <article>{{ .Content }}</article>
-
- <a href="/">↑ back home</a>
-</div>
-
-{{ end }}