gmgauthier.com/layouts/reading/single.html

23 lines
759 B
HTML
Raw Normal View History

2021-11-29 17:29:47 +00:00
{{ partial "header.html" . }}
<div class="header" style="background-color: whitesmoke; opacity: 100%">
<h1 style="font-size: 44px; color: #065387">{{ .Title }}</h1>
<h2 style="color: dimgrey; font-size: 22px">{{ .Params.author }}</h2>
{{if isset .Params "topic" }}
<h3 style="color: cornflowerblue; font-size: 16px">Topic: {{ .Params.topic }}</h3>
{{ end }}
2021-11-29 17:29:47 +00:00
</div>
2022-01-03 14:55:21 +00:00
<div class="content">
2021-11-29 17:29:47 +00:00
{{ if isset .Params "image" }}
2022-01-03 14:55:21 +00:00
<span style="width: 100%; padding: 2px; alignment: center">
<img class="featured-image" src="{{ $.Site.Params.blogCdnUrl }}{{ with .Params.image }}{{ . }}{{ end }}" />
2021-11-29 17:29:47 +00:00
</span>
{{ end }}
2022-01-03 14:55:21 +00:00
<span style="text-align: justify">
2021-11-29 17:29:47 +00:00
{{ .Content }}
2022-01-03 14:55:21 +00:00
</span>
2021-11-29 17:29:47 +00:00
</div>
{{ partial "footer.html" . }}