diff options
| author | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2020-10-17 14:40:58 +0200 |
|---|---|---|
| committer | Alexandre Vicenzi <vicenzi.alexandre@gmail.com> | 2020-10-17 14:40:58 +0200 |
| commit | b607c6857a95b49df2e71042b82b41ca15d26eb3 (patch) | |
| tree | c6dda838ab985454d1ca1bd06a32c231d5ecf1d9 /layouts/_default/single.html | |
| parent | cd5751ef1425db3ed7e46fcaa7fafe53e494c286 (diff) | |
Layout improvements
- Tagline
- Share buttons
- JSON LD
- Tags
- Style Fixes
Diffstat (limited to 'layouts/_default/single.html')
| -rw-r--r-- | layouts/_default/single.html | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 611a77f..bb342dc 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -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)) -}} |
