Compare commits

..

No commits in common. "4d95d4c45186451627135c0d52adfa9e0f8d1f02" and "f4baff48821571acd167f755a485b0c3f981264c" have entirely different histories.

28 changed files with 45 additions and 66 deletions

View File

@ -25,7 +25,7 @@ require($webroot . '/functions.php');
$successURL = '/success.html';
$errorURL = '/error.html';
$err = 'Nachrichtenversand fehlgeschlagen';
$err = 'Nachrichtversand fehlgeschlagen';
$body = [
'Diese Nachricht wurde soeben durch das Kontaktformular auf t-r.de übermittelt:',

View File

@ -1,2 +0,0 @@
user-agent: *
disallow: /newsletter/danke.html

View File

@ -2,12 +2,9 @@
title: Du bist Abonnent!
date: 2025-02-04 10:20
author: Tobias Radloff
summary: Dieses Gedicht ist mein Dank dafür, dass du dich für meinen Newsletter angemeldet hast.
summary: Danke für deine Nachricht.
lang: de
slug: danke
html_metadata:
- name: robots
content: noindex
save_as: newsletter/danke.html
footer_line: "[← zur Startseite](/)"
featured_image:
@ -17,7 +14,7 @@ featured_image:
credit_link: https://unsplash.com/@rayhennessy
---
Klasse, dass du dich für meinen Newsletter angemeldet hast! Als kleines Dankeschön und um die Wartezeit auf die nächste Ausgabe zu verkürzen, ist hier ein bislang unveröffentlichtes Gedicht von mir. Viel Spaß :-)
Klasse, dass du dich für meinen Newsletter angemeldet hast. Als kleines Dankeschön und um die Wartezeit auf die nächste Ausgabe zu verkürzen, ist hier ein bislang unveröffentlichtes Gedicht von mir. Viel Spaß :-)
> ## Handwerk
>

View File

@ -4,7 +4,6 @@ slug: datenschutz
save_as: datenschutz/index.html
url: datenschutz/
footer_line: "[← zur Startseite](/)"
summary: DSGVO-konforme Datenschutzerklärung für die Webseite tobias-radloff.de
featured_image:
- pic: ../images/tr/motif-datenschutz.png
alt: die Abkürzung "DSGVO" vor einem blauem, einem Computerchip nachempfundenen Hintergrund

View File

@ -2,7 +2,7 @@
title: "Das hat nicht geklappt :-("
date: 2025-03-03 17:19
author: Tobias Radloff
summary: Bei der Bearbeitung eines Webseitenformulars ist ein Fehler aufgetreten. Super ärgerlich!
summary: Ein Fehler ist aufgetreten
lang: de
slug: error
url: /error.html
@ -10,12 +10,12 @@ save_as: error.html
footer_line: "[← zur Startseite](/)"
featured_image:
- pic: ../images/motif-error.jpg
alt: eine Frau vor einem Laptop stützt traurig den Kopf in die Hände
alt: eine Frau vor einem Laptop stützt geknickt den Kopf in die Hände
credit: Elisa Ventur | unsplash.com
credit_link: https://unsplash.com/@elisa_ventur
---
Verflixt, bei der Bearbeitung deiner Formulareingaben ist ein Fehler aufgetreten. Vielleicht hilft dir die Statusmeldung weiter?
Verflixt, es ist ein Fehler bei der Newsletter-Verwaltung aufgetreten. Vielleicht hilft dir die Statusmeldung weiter?
`suche Statusmeldung`{: #msg}

View File

@ -2,7 +2,6 @@
title: Impressum
date: 2025-02-20
footer_include: includes/timestamp.html
summary: Rechtskonformes Impressum für die Webseite tobias-radloff.de.
featured_image:
- pic: ../images/tr/motif-paragraph-symbol.png
alt: ein goldenes Paragraphenzeichen

View File

@ -1,5 +1,5 @@
---
title: Startseite
title: Index
date: 2025-02-25
template: index
save_as: index.html
@ -18,6 +18,7 @@ index_cards:
alt: Lesungen und Lesereihen
- pic: images/tr/motif-newsletter.png
link: neues/
# link: neues/meine-neue-webseite-ist-live.html
alt: Aktuelles und Neuigkeiten
credit: Markus Winkler | unsplash.com
credit_link: https://unsplash.com/@markuswinkler

View File

@ -2,7 +2,7 @@
title: Kontaktformular
date: 2025-02-04 10:20
author: Tobias Radloff
summary: Kontaktformular für die Website tobias-radloff.de. Schreib mir eine Nachricht und lass mich wissen, was dich bewegt.
summary: Schreib mir eine Nachricht.
lang: de
template: page
slug: kontakt

View File

@ -1,7 +1,7 @@
---
title: Kurzprosa
author: Tobias Radloff
summary: Erfahre alles über meine Kurzgeschichten, Wettbewerbsbeiträge und Anthologien aus den Genres Fantasy, SF, Horror, Belletristik, Krimi und Satire.
summary: Kurzgeschichten, Wettbewerbsbeiträge und Anthologien
lang: de
category: Kurzprosa
template: cards

View File

@ -1,6 +1,6 @@
---
title: Lyrik & Slam Poetry
summary: Erfahre alles über meine veröffentliche Lyrik und Slam Poetry, von denen mehrere Texte frei im Netz verfügbar sind.
summary: Gedichte, Reime, Poesie
category: Lyrik
author: Tobias Radloff
lang: de

View File

@ -1,6 +1,5 @@
---
title: Neuigkeiten
template: news
summary: "Hier findest du alles, was es bei mir zu vermelden gibt: Neuerscheinungen, aktuelle Veranstaltungen und Termine, Presseberichte, geplante Projekte und mehr."
slug: neues
---

View File

@ -2,7 +2,7 @@
title: Newsletter
date: 2025-03-10 22:13
author: Tobias Radloff
summary: Abonniere meinen Newsletter und bleibe stets auf dem Laufenden, was meine Bücher, Lesungen und sonstigen Projekte angeht.
summary: Abonniere meinen Newsletter und bleib auf dem Laufenden, was meine Bücher angeht.
lang: de
template: page
featured_image:

View File

@ -1,6 +1,6 @@
---
title: Romane
summary: Erfahre alles über meine Romane, darunter der Noir-Krimi "Amoralisch", der dystopische SF-Thriller "Schwarzspeicher" und meine zweisprachigen (d/e) Kinder- und Jugendbücher.
summary: Fantasy, SF, Krimi, Kinder- und Jugendbuch, …
author: Tobias Radloff
lang: de
category: Romane

View File

@ -2,7 +2,7 @@
title: "Das hat geklappt :-)"
date: 2025-03-04 23:19
author: Tobias Radloff
summary: Ein Arbeitsschritt bei der Formularbearbeitung wurde erfolgreich bewältigt.
summary: Ein Arbeitsschritt wurde erfolgreich bewältigt.
lang: de
slug: success
url: /success.html

View File

@ -1,6 +1,6 @@
title: Termine
author: Tobias Radloff
summary: Diese Liste enthält die Termine all meiner kommenden Lesungen und Veranstaltungen, darunter auch meine Lesereihen 'Potsdams Andere Welten' und 'Babelsberger Lesesalon'.
summary: Lesungen und Veranstaltungen
template: termine
lang: de
category: Termine

View File

@ -3,7 +3,7 @@ title: Über mich
author: Tobias Radloff
category: Über mich
lang: de
summary: Vita und Werdegang des Schriftstellers Tobias Radloff.
summary: Vita und Wissenswertes über mich
slug: ueber-mich
footer_line: "[← zur Startseite](/)"
template: page

View File

@ -1,6 +1,6 @@
---
title: Weitere Texte
summary: Erfahre alles über meine weiteren Texte, darunter Rollenspielpublikationen (u.a. Das Schwarze Auge, Call of Cthulhu) und Zeitschriftenartikel (teilweise frei im Netz verfügbar).
summary: Rollenspielpublikationen & Zeitschriftenartikel
author: Tobias Radloff
lang: de
slug: weitere

View File

@ -2,7 +2,7 @@
title: Werke
date: 2025-02-04 10:20
author: Tobias Radloff
summary: Erfahre mehr über meine Romane, Kurzgeschichten, Lyrik, Slam Poetry und weiteren Texte.
summary: Ich schreibe …
template: wide-cards
wide_cards:
- romane

View File

@ -20,7 +20,7 @@ tags:
- Science-Fiction
- Andere Welten
author: Tobias Radloff
summary: Warum wir uns in der Zukunft über Kundendiensthotlines noch mehr ärgern werden, erfährst du in dieser SF-Kurzgeschichte.
summary:
lang: de
order: 45
featured_image:

View File

@ -20,4 +20,9 @@ Trotzdem verzichte ich absichtlich darauf, mir soziale Medien zunutze zu machen.
## Ich mag meine Privatsphäre
Es ist mir wichtig, Privates und Öffentliches nicht zu vermischen. Doch die sozialen Medien sind darauf ausgerichtet, beides zu vermischen.

View File

@ -7,8 +7,6 @@ SITENAME = 'Tobias Radloff'
SITESUBTITLE = 'Schriftsteller'
SITEURL = ''
DEFAULT_METADESC = "Der preisgekrönte Schriftsteller Tobias Radloff schreibt Romane, Kurzgeschichten und Lyrik und ist Mitgründer der Lesereihe \"Potsdams Andere Welten\"."
TIMEZONE = 'Europe/Berlin'
DEFAULT_LANG = 'de'
#DEFAULT_DATE_FORMAT = '%d.%m.%Y' (doesn't seem to work)
@ -20,10 +18,7 @@ PATH = 'content'
# Content Settings #
###############################################################################
PICO_COLOR = 'slate'
FONT_SOURCE = "local"
CUSTOM_CSS = "custom.css"
STYLESHEET_FILES = ("pico." + PICO_COLOR + ".css", "font." + FONT_SOURCE + ".css", CUSTOM_CSS)
STYLESHEET_FILES = ("pico.slate.css", "font.local.css", "custom.css")
DIRECT_TEMPLATES = []
@ -44,7 +39,6 @@ EXTRA_PATH_METADATA = {
'misc/PHPMailer.php': {'path': 'PHPMailer.php'},
'misc/SMTP.php': {'path': 'SMTP.php'},
'misc/.htaccess': {'path': '.htaccess'},
'misc/robots.txt': {'path': 'robots.txt'},
}
PAGE_URL = '{slug}/'
@ -70,7 +64,7 @@ DEFAULT_DATE = "fs"
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
SUMMARY_MAX_LENGTH = 25
SUMMARY_MAX_LENGTH = 50
FORMATTED_FIELDS = ['summary', 'klappentext', 'footer_line']
@ -153,5 +147,7 @@ MARKDOWN = {
# Self-defined Settings #
###############################################################################
DEFAULT_METADESC = "Tobias Radloff ist preisgekrönter Schriftsteller von Romanen, Kurzgeschichten und Lyrik auf deutsch und englisch. Zu seinen Genres gehören Fantasy, SF, Krimi, Kinder-/Jugendbuch und mehr. Er organisiert und moderiert die regelmäßigen Lesereihen 'Potsdams andere Welten' und 'Babelsberger Lesesalon'."
import datetime
DATETIME_NOW = datetime.datetime.now().astimezone()

View File

@ -7,8 +7,7 @@ import sys
sys.path.append(os.curdir)
from pelicanconf import *
FONT_SOURCE = "cdn"
STYLESHEET_FILES = ("pico." + PICO_COLOR + ".min.css", "font." + FONT_SOURCE + ".css", CUSTOM_CSS)
STYLESHEET_FILES = ("pico.zinc.min.css", "font.cdn.css", "custom.css")
# If your site is available via HTTPS, make sure SITEURL begins with https://

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %}{{ article.title }} {{ SITENAME }}{% endblock %}
{% block metadesc %}{% if article.summary %}{{ article.summary | striptags | e }}{% else %}{{ article.title }}{% endif %}{% endblock %}
{% block metadesc %}{% if article.summary %}{{ article.summary | e }}{% else %}An Article in {{ SITETAG }}: {{ article.title }}{% endif %}{% endblock %}
{% block content_all %}
<article>

View File

@ -5,18 +5,15 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
{% include "includes/favicon.html" %}
<meta name="description" property="og:description" content="{% block metadesc %}{{ DEFAULT_METADESC | e }}{% endblock %}" />
<meta name="description" content="{% block metadesc %}{{ DEFAULT_METADESC|e }}{% endblock %}" />
<meta name="author" content="{{ AUTHOR }}" />
<meta name="generator" content="Pelican" />
<meta name="color-scheme" content="light dark" />
{% for css in STYLESHEET_FILES %}
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/{{ css }}" />
{% endfor %}
<title>{% block title %}{{ SITENAME | e }}{% endblock %}</title>
{% block html_metadata %}{% endblock html_metadata %}
<title>{% block title %}{{ SITENAME }}{% endblock %}</title>
</head>
<body>

View File

@ -1,12 +1,10 @@
{% extends "page.html" %}
{% block title %}{{ SITENAME }}, {{ SITESUBTITLE }}{% endblock %}
{% block content_header %}
{% endblock content_header %}
{% block content_all %}
{% for p in pages if p.title == "Startseite" %}
{% for p in pages if p.title == "Index" %}
{% if p.featured_news %}
{% set fn = p.featured_news %}

View File

@ -1,17 +1,8 @@
{% extends "base.html" %}
{% block title %}{{ page.title }} {{ SITENAME }}{% endblock %}
{% block html_metadata %}
{% if page.html_metadata %}
{% for meta in page.html_metadata %}
<meta name="{{ meta.name }}" content="{{ meta.content }}" />
{% endfor %}
{% endif %}
{% endblock html_metadata %}
{% block metadesc %}
{% if page.summary %}{{ page.summary | striptags | e }}{% else %}{{ super() }}{% endif %}
{% if page.summary %}{{ page.summary|e }}{% else %}{{ super() }}{% endif %}
{% endblock %}
{% block content_all %}

View File

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block title %}Schlagwort: {{ tag }} {{ SITENAME }}{% endblock %}
{% block metadesc %}All meine Bücher, Texte und Einträge zum Schlagwort '{{ tag }}'{% endblock %}
{% block metadesc %}Alle Einträge zum Schlagwort '{{ tag }}'{% endblock %}
{% block content_all %}
{% block content_header %}