added success page, improved display of success and error page
This commit is contained in:
parent
81b8154356
commit
64345dbcd0
|
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.3 MiB |
BIN
content/images/motif-success.jpg
Normal file
BIN
content/images/motif-success.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
@ -4,15 +4,16 @@ date: 2025-03-03 17:19
|
||||
author: Tobias Radloff
|
||||
summary: Ein Fehler ist aufgetreten
|
||||
lang: de
|
||||
slug: error
|
||||
save_as: error.html
|
||||
featured_image:
|
||||
- pic: ../images/error-unsplash.jpg
|
||||
- pic: ../images/motif-error.jpg
|
||||
alt: eine Frau vor einem Laptop stützt geknickt den Kopf in die Hände
|
||||
credit: Elisa Ventur on Unsplash.com
|
||||
---
|
||||
|
||||
Verflixt, es ist ein Fehler bei der Newsletter-Verwaltung aufgetreten. Vielleicht hilft dir die Fehlermeldung weiter?
|
||||
|
||||
<script src="{static}/js/ErrorMessage.js"></script>
|
||||
<script src="{static}/js/Message.js"></script>
|
||||
|
||||
[← zur Startseite](/)
|
||||
|
||||
19
content/pages/success.md
Normal file
19
content/pages/success.md
Normal file
@ -0,0 +1,19 @@
|
||||
---
|
||||
title: "Das lief richtig gut :-)"
|
||||
date: 2025-03-04 23:19
|
||||
author: Tobias Radloff
|
||||
summary: Erfolg auf der ganzen Linie
|
||||
lang: de
|
||||
slug: success
|
||||
save_as: success.html
|
||||
featured_image:
|
||||
- pic: ../images/motif-success.jpg
|
||||
alt: ein Mann sitzt auf einem Berggipfel über den Wolken und reckt die Faust in die Höhe
|
||||
credit: Ian Stauffer on Unsplash.com
|
||||
---
|
||||
|
||||
Na, das lief doch mal richtig gut. Erfolg auf der ganzen Linie, würde ich sagen. So soll es sein, und so bleibt es hoffentlich auch.
|
||||
|
||||
<script src="{static}/js/Message.js"></script>
|
||||
|
||||
[← zur Startseite](/)
|
||||
@ -393,12 +393,15 @@ pre {
|
||||
max-height: calc(var(--card-height) * 2);
|
||||
min-width: var(--smallest-width);
|
||||
max-width: 100%;
|
||||
aspect-ratio: auto;
|
||||
/* padding: var(--pico-spacing); */
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
figcaption {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.article-stats {
|
||||
padding-left: 0;
|
||||
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
{% macro fi(pic, link='', alt='', credit='') %}
|
||||
<div class="featured-image">
|
||||
<figure>
|
||||
<a href="{{ link }}" alt="{{ alt }}"><img src="{{ pic }}" /></a>
|
||||
{% if credit is defined %}
|
||||
{% if link %}<a href="{{ link }}"{% if alt %} alt="{{ alt }}"{% endif %}>{% endif %}<img src="{{ pic }}" />{% if link %}</a>{% endif %}
|
||||
{% if credit %}
|
||||
<figcaption>Bild: {{ credit }}</figcaption>
|
||||
{% endif %}
|
||||
</figure>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user