squirrel/layouts/_default/single.html

19 lines
558 B
HTML
Raw Normal View History

2022-06-27 14:09:44 +00:00
{{ define "main" }}
{{ with .Params.image }}
{{ if .url }}
<img class="coverimage" src="{{ .url }}" />
{{ 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
<!-- <h6>{{ .Date.Format "Mon, Jan 2, 2006" }}</h6> -->
{{ .Content }}
</div>
{{ end }}