2022-06-27 14:09:44 +00:00
|
|
|
{{ define "main" }}
|
|
|
|
{{ with .Params.image }}
|
2022-06-29 11:03:51 +00:00
|
|
|
{{ 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 }}
|