Socky pryč
This commit is contained in:
parent
708289fa46
commit
8703499c0b
|
@ -1,4 +1,5 @@
|
||||||
{{ define "main" -}}
|
{{ define "main" -}}
|
||||||
|
<!-- single.html -->
|
||||||
<div class="post">
|
<div class="post">
|
||||||
<h1 class="title">{{ .Title }}</h1>
|
<h1 class="title">{{ .Title }}</h1>
|
||||||
{{ with .Params.tagline }}<span class="tagline">{{ . }}</span>{{ end }}
|
{{ with .Params.tagline }}<span class="tagline">{{ . }}</span>{{ end }}
|
||||||
|
@ -13,11 +14,21 @@
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ $Site := .Site }}
|
||||||
|
{{ with .Params.elements }}
|
||||||
|
{{ range . }}
|
||||||
|
{{ partial . ( dict "Site" $Site ) }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
{{ partial "tags.html" . }}
|
{{ partial "tags.html" . }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
{{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}}
|
{{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}}
|
||||||
{{ partial "share.html" . }}
|
{{ partial "share.html" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
|
{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
|
||||||
<div class="comments">
|
<div class="comments">
|
||||||
|
|
|
@ -23,9 +23,11 @@
|
||||||
|
|
||||||
{{ partial "tags.html" . }}
|
{{ partial "tags.html" . }}
|
||||||
|
|
||||||
|
{{/*
|
||||||
{{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}}
|
{{ if (and (ne .Params.DisableShare true) (ne .Params.disable_share true)) -}}
|
||||||
{{ partial "share.html" . }}
|
{{ partial "share.html" . }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
*/}}
|
||||||
|
|
||||||
{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
|
{{ if (and .Site.DisqusShortname (ne .Params.DisableComments true) (ne .Params.disable_comments true)) -}}
|
||||||
<div class="comments">
|
<div class="comments">
|
||||||
|
|
Loading…
Reference in New Issue