mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-14 19:06:16 +01:00
f14301c395
* feat: improve configuration * fix: fix partials/footer.html error
21 lines
724 B
HTML
21 lines
724 B
HTML
{{- define "title" }}{{ .Title }} | {{ .Site.Title }}{{ end -}}
|
|
|
|
{{- define "content" -}}
|
|
{{- $params := .Scratch.Get "params" -}}
|
|
<div class="page single special">
|
|
{{- /* Title */ -}}
|
|
<h1 class="single-title animated pulse faster">
|
|
{{- .Title -}}
|
|
</h1>
|
|
|
|
{{- /* Subtitle */ -}}
|
|
{{- with $params.subtitle -}}
|
|
<h2 class="single-subtitle">{{ . }}</h2>
|
|
{{- end -}}
|
|
|
|
{{- /* Content */ -}}
|
|
<div class="content" id="content">
|
|
{{- dict "content" .Content "ruby" $params.ruby "fraction" $params.fraction "fontawesome" $params.fontawesome | partial "function/content.html" | safeHTML -}}
|
|
</div>
|
|
</div>
|
|
{{- end -}}
|