diff --git a/content/images/error-unsplash.jpg b/content/images/motif-error.jpg similarity index 100% rename from content/images/error-unsplash.jpg rename to content/images/motif-error.jpg diff --git a/content/images/motif-success.jpg b/content/images/motif-success.jpg new file mode 100644 index 0000000..f315006 Binary files /dev/null and b/content/images/motif-success.jpg differ diff --git a/content/js/ErrorMessage.js b/content/js/Message.js similarity index 100% rename from content/js/ErrorMessage.js rename to content/js/Message.js diff --git a/content/pages/error.md b/content/pages/error.md index a2744f7..142b1fc 100644 --- a/content/pages/error.md +++ b/content/pages/error.md @@ -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? - + [← zur Startseite](/) diff --git a/content/pages/success.md b/content/pages/success.md new file mode 100644 index 0000000..05d3f05 --- /dev/null +++ b/content/pages/success.md @@ -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. + + + +[← zur Startseite](/) diff --git a/theme/static/css/custom.css b/theme/static/css/custom.css index 083477d..68a5ab6 100644 --- a/theme/static/css/custom.css +++ b/theme/static/css/custom.css @@ -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; diff --git a/theme/templates/includes/featured_image.html b/theme/templates/includes/featured_image.html index a744673..e71c82c 100644 --- a/theme/templates/includes/featured_image.html +++ b/theme/templates/includes/featured_image.html @@ -1,8 +1,8 @@ {% macro fi(pic, link='', alt='', credit='') %}