Compare commits

...

2 Commits

Author SHA1 Message Date
Marcel Kapfer 78a150b86e
Add support for ukraine info on every page 2022-03-06 16:30:31 +01:00
Marcel Kapfer 6c9ebed829
Fixed display of post excerpts
Missing p tag
2022-03-06 16:30:06 +01:00
3 changed files with 26 additions and 2 deletions

View File

@ -6,6 +6,7 @@
<body>
{{- partial "header.html" . -}}
<main>
{{- partial "support-ukraine.html" -}}
{{- block "main" . }}{{- end }}
</main>
<footer>

View File

@ -17,7 +17,11 @@
{{ end }}
</div>
</p>
{{ .Summary }}
<p>
{{ .Summary }}
</p>
{{- if .Truncated -}}
<p><a href="{{.Permalink}}">Read more</a></p>
<p><a href="{{.Permalink}}">Read more</a></p>
{{- end -}}

View File

@ -0,0 +1,19 @@
<div style="border: 3px solid red; padding: 20px; border-radius: 20px">
<p style="margin-top: 0; padding: 10px">
<strong>
There are currently more important things than this page.
Please take a moment to show your support for Ukraine.
</strong>
</p>
<figure>
<img src="/support-ukraine.svg" alt="Ukrainian flag with dove and text: SUPPORT UKRAINE END WAR">
</figure>
<p style="font-weight: bold; text-align: center; color: red; margin-bottom: 0">
<a class="btn" style="color: red; border-color: red; display: block; padding: 0" href="https://supportukrainenow.org" target="blank">
Find out how YOU can help!
</a>
</p>
</div>