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>
|
2021-11-29 21:02:54 +00:00
|
|
|
{{if isset .Params "topic" }}
|
|
|
|
<h3>Topic: {{ .Params.topic }}</h3>
|
|
|
|
{{ end }}
|
2021-11-29 17:29:47 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="content" style="text-align: justify-all">
|
|
|
|
{{ if isset .Params "image" }}
|
|
|
|
<span style="width: 100%; padding: 5px; alignment: center">
|
2022-01-03 12:21:24 +00:00
|
|
|
<img src="{{ $.Site.Params.blogCdnUrl }}{{ with .Params.image }}{{ . }}{{ end }}" width="100%" height="385px"
|
2021-11-29 17:29:47 +00:00
|
|
|
style="alignment:center; border-color: #777777; border-width: thin; border-style: solid"/>
|
|
|
|
</span>
|
|
|
|
{{ end }}
|
|
|
|
{{ .Content }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{ partial "footer.html" . }}
|