squirrel/layouts/_default/single.html

19 lines
512 B
HTML
Raw Permalink Normal View History

2022-06-27 14:09:44 +00:00
{{ define "main" }}
{{ with .Params.image }}
{{ if .url }}
2022-07-08 15:35:15 +00:00
<img class="coverimage" src="{{ .url }}" alt="{{ .alt }}" />
{{ else }}
<img class="coverimage" src="{{ . }}" />
{{ end }}
2022-06-27 14:09:44 +00:00
{{ end }}
<div class="content">
{{ with .Title }}
2021-02-25 21:23:58 +00:00
<div class="title">
2022-06-27 14:09:44 +00:00
<h1 class="content-title">{{ . }}</h1>
2021-02-25 21:23:58 +00:00
<div class="divider"></div>
</div>
{{ end }}
2022-06-27 14:09:44 +00:00
{{ .Content }}
</div>
{{ end }}