gmgauthier.com/layouts/reading/single.html

23 lines
631 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: 50%">
<h1>{{ .Title }}</h1>
<h2>{{ .Params.author }}</h2>
{{if isset .Params "topic" }}
<h3>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" . }}