diff --git a/pelicanconf.py b/pelicanconf.py index aa89246..6e55d1a 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -17,15 +17,8 @@ TRANSLATION_FEED_ATOM = None AUTHOR_FEED_ATOM = 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.extensions.codehilite': {'css_class': 'highlight'}, @@ -46,7 +39,7 @@ SOCIAL = ( PAGE_URL = '{slug}/' PAGE_SAVE_AS = '{slug}/index.html' -# Articles: /mein-post/ statt /mein-post.html +# Articles: ARTICLE_URL = '{slug}/' ARTICLE_SAVE_AS = '{slug}/index.html' @@ -56,8 +49,6 @@ DEFAULT_PAGINATION = 10 # RELATIVE_URLS = True -# === Flex Theme Settings === - # Site-Beschreibung (erscheint in Meta-Tags & Header) SITESUBTITLE = 'Industrie-Automatisierung & Software' 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 FAVICON = '/images/favicon.ico' +DISPLAY_PAGES_ON_MENU = False +DISPLAY_CATEGORIES_ON_MENU = False + # Hauptmenü oben MAIN_MENU = True MENUITEMS = ( - ('Über mich', '/pages/about.html'), - ('Kontakt', '/pages/kontakt.html'), - # später: - # ('Blog', 'https://blog.danielnagel.at'), + ('Über mich', '/pages/about/'), ) # Copyright im Footer diff --git a/publishconf.py b/publishconf.py index fbce92f..39ffa8b 100644 --- a/publishconf.py +++ b/publishconf.py @@ -15,8 +15,3 @@ FEED_ALL_ATOM = "feeds/all.atom.xml" CATEGORY_FEED_ATOM = "feeds/{slug}.atom.xml" DELETE_OUTPUT_DIRECTORY = True - -# Following items are often useful when publishing - -# DISQUS_SITENAME = "" -# GOOGLE_ANALYTICS = "" \ No newline at end of file diff --git a/tasks.py b/tasks.py index 16ba5e9..cbcebe2 100644 --- a/tasks.py +++ b/tasks.py @@ -25,7 +25,7 @@ CONFIG = { "deploy_path": SETTINGS["OUTPUT_PATH"], # Host and port for `serve` "host": "localhost", - "port": 8000, + "port": 9000, } diff --git a/themes/Flex b/themes/Flex deleted file mode 160000 index bbf8768..0000000 --- a/themes/Flex +++ /dev/null @@ -1 +0,0 @@ -Subproject commit bbf8768d4fcc61e3a03d2db56e47686376ead317 diff --git a/themes/pelican-hyde b/themes/pelican-hyde new file mode 160000 index 0000000..20bcba1 --- /dev/null +++ b/themes/pelican-hyde @@ -0,0 +1 @@ +Subproject commit 20bcba19396ef2fa9ca64471d939834600fc0523