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
|
author: Tobias Radloff
|
||||||
summary: Ein Fehler ist aufgetreten
|
summary: Ein Fehler ist aufgetreten
|
||||||
lang: de
|
lang: de
|
||||||
|
slug: error
|
||||||
save_as: error.html
|
save_as: error.html
|
||||||
featured_image:
|
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
|
alt: eine Frau vor einem Laptop stützt geknickt den Kopf in die Hände
|
||||||
credit: Elisa Ventur on Unsplash.com
|
credit: Elisa Ventur on Unsplash.com
|
||||||
---
|
---
|
||||||
|
|
||||||
Verflixt, es ist ein Fehler bei der Newsletter-Verwaltung aufgetreten. Vielleicht hilft dir die Fehlermeldung weiter?
|
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](/)
|
[← 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);
|
max-height: calc(var(--card-height) * 2);
|
||||||
min-width: var(--smallest-width);
|
min-width: var(--smallest-width);
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
aspect-ratio: auto;
|
object-fit: cover;
|
||||||
/* padding: var(--pico-spacing); */
|
|
||||||
display: block;
|
display: block;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
figcaption {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.article-stats {
|
.article-stats {
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
|
|
||||||
|
|||||||
@ -1,8 +1,8 @@
|
|||||||
{% macro fi(pic, link='', alt='', credit='') %}
|
{% macro fi(pic, link='', alt='', credit='') %}
|
||||||
<div class="featured-image">
|
<div class="featured-image">
|
||||||
<figure>
|
<figure>
|
||||||
<a href="{{ link }}" alt="{{ alt }}"><img src="{{ pic }}" /></a>
|
{% if link %}<a href="{{ link }}"{% if alt %} alt="{{ alt }}"{% endif %}>{% endif %}<img src="{{ pic }}" />{% if link %}</a>{% endif %}
|
||||||
{% if credit is defined %}
|
{% if credit %}
|
||||||
<figcaption>Bild: {{ credit }}</figcaption>
|
<figcaption>Bild: {{ credit }}</figcaption>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</figure>
|
</figure>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user