Skip to content
Snippets Groups Projects
Commit 8703499c authored by Marek Nečada's avatar Marek Nečada
Browse files

Socky pryč

parent 708289fa
No related branches found
No related tags found
No related merge requests found
{{ 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">
......
......@@ -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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment