summaryrefslogtreecommitdiff
path: root/layouts/posts/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/posts/single.html')
-rw-r--r--layouts/posts/single.html19
1 files changed, 8 insertions, 11 deletions
diff --git a/layouts/posts/single.html b/layouts/posts/single.html
index 69352cd..00df697 100644
--- a/layouts/posts/single.html
+++ b/layouts/posts/single.html
@@ -1,16 +1,13 @@
{{ define "main" }}
- {{ $dateFormat := default "January 2, 2006" .Site.Params.BookDateFormat }}
- <header class="markdown">
- <h1>{{ .Title }}</h1>
- {{ with .Date }}
- <h5>
- <strong>{{ .Format $dateFormat }}</strong>
- </h5>
- {{ end }}
- </header>
- <article class="markdown">
+<article class="markdown">
+ <h1>
+ <a href="{{ .RelPermalink }}">{{ .Title }}</a>
+ </h1>
+ {{ partial "docs/post-meta" . }}
+ <p>
{{- .Content -}}
- </article>
+ </p>
+</article>
{{ end }}
{{ define "toc" }}