gmgauthier.com/layouts/reading/single.html

19 lines
599 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>
</div>
<div class="content" style="text-align: justify-all">
{{ if isset .Params "image" }}
<span style="width: 100%; padding: 5px; alignment: center">
<img src="{{ with .Params.image }}{{ . }}{{ end }}" width="100%" height="385px"
style="alignment:center; border-color: #777777; border-width: thin; border-style: solid"/>
</span>
{{ end }}
{{ .Content }}
</div>
{{ partial "footer.html" . }}