Layout improvements
- Tagline - Share buttons - JSON LD - Tags - Style Fixes
This commit is contained in:
parent
cd5751ef14
commit
b607c6857a
11 changed files with 317 additions and 18 deletions
|
@ -66,6 +66,10 @@
|
|||
integrity="sha256-MAgcygDRahs+F/Nk5Vz387whB4kSK9NXlDN3w58LLq0="
|
||||
crossorigin="anonymous"></script>
|
||||
|
||||
|
||||
<script src="{{ `js/jquery.min.js` | relURL }}"></script>
|
||||
<script src="{{ `js/soho.js` | relURL }}"></script>
|
||||
|
||||
{{ range $.Site.Params.customJs -}}
|
||||
<script src="{{ . | relURL }}"></script>
|
||||
{{- end}}
|
||||
|
|
|
@ -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)) -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue