Socky pryč

This commit is contained in:
Marek Nečada 2022-04-10 19:39:52 +03:00
parent 708289fa46
commit 8703499c0b
2 changed files with 13 additions and 0 deletions

View File

@ -1,4 +1,5 @@
{{ define "main" -}}
<!-- single.html -->
<div class="post">
<h1 class="title">{{ .Title }}</h1>
{{ with .Params.tagline }}<span class="tagline">{{ . }}</span>{{ end }}
@ -13,11 +14,21 @@
{{ .Content }}
</div>
{{ $Site := .Site }}
{{ with .Params.elements }}
{{ range . }}
{{ partial . ( dict "Site" $Site ) }}
{{ end }}
{{ end }}
{{ partial "tags.html" . }}
{{/*
{{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}}
{{ partial "share.html" . }}
{{- end }}
*/}}
{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
<div class="comments">

View File

@ -23,9 +23,11 @@
{{ partial "tags.html" . }}
{{/*
{{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}}
{{ partial "share.html" . }}
{{- end }}
*/}}
{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
<div class="comments">