summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default/single.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/Brine/layouts/_default/single.html')
-rw-r--r--themes/Brine/layouts/_default/single.html17
1 files changed, 5 insertions, 12 deletions
diff --git a/themes/Brine/layouts/_default/single.html b/themes/Brine/layouts/_default/single.html
index a34f75c..dacdc89 100644
--- a/themes/Brine/layouts/_default/single.html
+++ b/themes/Brine/layouts/_default/single.html
@@ -1,12 +1,5 @@
-{{ define "main" }}
- <article class="post">
- <header class="post-header">
- <h1 class ="post-title">{{ .Title }}</h1>
- <div class="post-meta">
- <div>Published: {{ .PublishDate.Format "Jan 2, 2006" }}</div>
- <div>Reading time: {{ .ReadingTime }} min</div>{{- with .Params.tags -}}
- <div>Tags: {{ range . -}}{{- with $.Site.GetPage (printf "/%s/%s" "tags" . ) -}}<a href="{{ .Permalink }}">{{ .Title }}</a>&nbsp;{{- end -}}{{- end -}}</div>{{- end -}}
- </div>
- </header>
- <div class="post-content">{{ .Content }}</div>
- </article>{{ end }}
+{{ define "main" }} <h1>{{ .Title }}</h1>
+ <div>Published: {{ .PublishDate.Format "Jan 2, 2006" }}</div>
+ <div>Reading time: {{ .ReadingTime }} min</div>{{- with .Params.tags -}}
+ <div>Tags: {{ range . -}}{{- with $.Site.GetPage (printf "/%s/%s" "tags" . ) -}}<a href="{{ .Permalink }}">{{ .Title }}</a>&nbsp;{{- end -}}{{- end -}}</div>{{- end -}}
+ {{ .Content }}{{ end }}