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