summaryrefslogtreecommitdiff
path: root/layouts/_default/single.html
diff options
context:
space:
mode:
authorMichał M. Sapka <michal@sapka.me>2023-02-24 21:23:37 +0100
committerMichał M. Sapka <michal@sapka.me>2023-02-25 00:21:16 +0100
commitba675a3bf24c1a2fc4afd37caaaefb8b9f80a18c (patch)
tree9a789440a1698f286387952c1d893ed823f5471a /layouts/_default/single.html
parentde97bdfd07f43e1e394fcd310aeca277e043500b (diff)
feat: prelimiary work on new layout
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 7ef1f8d..bc058fb 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,9 +1,10 @@
{{ define "main" }}
-<article>{{ .Page.Content }}</article>
+<article>
+ {{ partial "partials/full_post.html" . }}
+
{{- if not (in .Params.category "pages") }}
<BR>
- added on {{ .PublishDate.Format "January 2, 2006" }}
{{- if isset .Params "tags" -}}
{{- $tagsLen := len .Params.tags -}}
{{- if gt $tagsLen 0 -}}
@@ -13,11 +14,10 @@
<a href="{{ $url | absURL }}"> {{ . | title }}</a>
{{- if lt $k (sub $tagsLen 1) }} &middot; {{ end -}}
{{- end -}}
- </div>
{{- end -}}
{{- end }}
- <hr/>
+</article>
{{ if or .Next .Prev -}}
<div>
{{- with .Prev }} <a class="prev-link" href="{{ .RelPermalink}}"> &#8592; Previous</a> {{ end -}}