Layout improvements

- Tagline
- Share buttons
- JSON LD
- Tags
- Style Fixes
This commit is contained in:
Alexandre Vicenzi 2020-10-17 14:40:58 +02:00
parent cd5751ef14
commit b607c6857a
11 changed files with 317 additions and 18 deletions

View file

@ -1,6 +1,7 @@
{{ define "main" -}}
<div class="post">
<h1>{{ .Title }}</h1>
<h1 class="title">{{ .Title }}</h1>
{{ with .Params.tagline }}<span class="tagline">{{ . }}</span>{{ end }}
{{ if ne .Type "page" -}}
<div class="post-date">
@ -8,7 +9,15 @@
</div>
{{- end }}
<div>
{{ .Content }}
</div>
{{ partial "tags.html" . }}
{{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}}
{{ partial "share.html" . }}
{{- end }}
</div>
{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}