1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 15:25:31 -04:00

cleaned up HTML output

This commit is contained in:
2019-04-02 13:11:37 -04:00
parent 91cbf98449
commit ccd30a9e2b
3 changed files with 31 additions and 40 deletions

View File

@@ -7,21 +7,12 @@
<div class="meta">
{{ .Date.Format "January 2, 2006" }} &middot; {{ if lt 1 .WordCount }}{{ .WordCount }} words{{ else }}{{ .WordCount }} word{{ end }} &middot; {{ .ReadingTime }} minute read
<div class="tags">
{{ with .Params.tags }}
{{ if ge (len .) 1 }}
{{ with .Params.tags }}{{ if ge (len .) 1 }}
{{ range . }}<span class="tag"><!--<a href="{{ $.Site.BaseURL }}tags/{{ . | urlize }}">-->{{ . }}<!--</a>--></span> {{ end }}
{{ end }}
{{ end }}
{{ end }}{{ end }}
</div>
</div>
</div>
{{ if .Site.Params.enableToc }}
{{ if .TableOfContents }}
<div id="toc">
{{ .TableOfContents }}
</div>
{{ end }}
{{ end }}
<div id="content">
{{ .Content }}
</div>