LoveIt/layouts/_default/single.html

25 lines
823 B
HTML
Raw Normal View History

{{- define "title" }}{{ .Title }} - {{ .Site.Title }}{{ end -}}
2019-08-04 15:53:35 +02:00
2020-01-31 11:46:28 +01:00
{{- define "content" -}}
{{- $params := .Scratch.Get "params" -}}
2020-02-13 18:30:33 +01:00
<div class="page single special">
{{- /* Title */ -}}
<h1 class="single-title animate__animated animate__pulse animate__faster">
2020-01-31 11:46:28 +01:00
{{- .Title -}}
</h1>
{{- /* Subtitle */ -}}
{{- with $params.subtitle -}}
<h2 class="single-subtitle">{{ . }}</h2>
{{- end -}}
{{- /* Content */ -}}
2020-02-24 10:00:39 +01:00
<div class="content" id="content">
2020-05-18 15:30:33 +02:00
{{- dict "Content" .Content "Ruby" $params.ruby "Fraction" $params.fraction "Fontawesome" $params.fontawesome | partial "function/content.html" | safeHTML -}}
2019-08-04 15:53:35 +02:00
</div>
{{- /* Comment */ -}}
{{- partial "comment.html" . -}}
2019-02-03 12:30:44 +01:00
</div>
2020-02-06 17:10:00 +01:00
{{- end -}}