setup with new theme

This commit is contained in:
Daniel 2026-05-07 22:01:04 +02:00
parent 32b8f1878a
commit 8db370f99e
5 changed files with 8 additions and 22 deletions

View File

@ -17,15 +17,8 @@ TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None AUTHOR_FEED_RSS = None
THEME = "themes/Flex" THEME = "themes/pelican-hyde"
# Blogroll
LINKS = (
("Pelican", "https://getpelican.com/"),
("Python.org", "https://www.python.org/"),
("Jinja2", "https://palletsprojects.com/p/jinja/"),
("You can modify those links in your config file", "#"),
)
MARKDOWN = { MARKDOWN = {
'markdown.extensions.codehilite': {'css_class': 'highlight'}, 'markdown.extensions.codehilite': {'css_class': 'highlight'},
@ -46,7 +39,7 @@ SOCIAL = (
PAGE_URL = '{slug}/' PAGE_URL = '{slug}/'
PAGE_SAVE_AS = '{slug}/index.html' PAGE_SAVE_AS = '{slug}/index.html'
# Articles: /mein-post/ statt /mein-post.html # Articles:
ARTICLE_URL = '{slug}/' ARTICLE_URL = '{slug}/'
ARTICLE_SAVE_AS = '{slug}/index.html' ARTICLE_SAVE_AS = '{slug}/index.html'
@ -56,8 +49,6 @@ DEFAULT_PAGINATION = 10
# RELATIVE_URLS = True # RELATIVE_URLS = True
# === Flex Theme Settings ===
# Site-Beschreibung (erscheint in Meta-Tags & Header) # Site-Beschreibung (erscheint in Meta-Tags & Header)
SITESUBTITLE = 'Industrie-Automatisierung & Software' SITESUBTITLE = 'Industrie-Automatisierung & Software'
SITE_DESCRIPTION = 'Persönliche Website von Daniel Nagel' SITE_DESCRIPTION = 'Persönliche Website von Daniel Nagel'
@ -67,13 +58,13 @@ SITELOGO = '/images/profile.png' # rundes Profilbild im Header
SITELOGO_SIZE = 120 # in Pixel SITELOGO_SIZE = 120 # in Pixel
FAVICON = '/images/favicon.ico' FAVICON = '/images/favicon.ico'
DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = False
# Hauptmenü oben # Hauptmenü oben
MAIN_MENU = True MAIN_MENU = True
MENUITEMS = ( MENUITEMS = (
('Über mich', '/pages/about.html'), ('Über mich', '/pages/about/'),
('Kontakt', '/pages/kontakt.html'),
# später:
# ('Blog', 'https://blog.danielnagel.at'),
) )
# Copyright im Footer # Copyright im Footer

View File

@ -15,8 +15,3 @@ FEED_ALL_ATOM = "feeds/all.atom.xml"
CATEGORY_FEED_ATOM = "feeds/{slug}.atom.xml" CATEGORY_FEED_ATOM = "feeds/{slug}.atom.xml"
DELETE_OUTPUT_DIRECTORY = True DELETE_OUTPUT_DIRECTORY = True
# Following items are often useful when publishing
# DISQUS_SITENAME = ""
# GOOGLE_ANALYTICS = ""

View File

@ -25,7 +25,7 @@ CONFIG = {
"deploy_path": SETTINGS["OUTPUT_PATH"], "deploy_path": SETTINGS["OUTPUT_PATH"],
# Host and port for `serve` # Host and port for `serve`
"host": "localhost", "host": "localhost",
"port": 8000, "port": 9000,
} }

@ -1 +0,0 @@
Subproject commit bbf8768d4fcc61e3a03d2db56e47686376ead317

1
themes/pelican-hyde Submodule

@ -0,0 +1 @@
Subproject commit 20bcba19396ef2fa9ca64471d939834600fc0523