setup with new theme
This commit is contained in:
parent
32b8f1878a
commit
8db370f99e
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = ""
|
||||
2
tasks.py
2
tasks.py
|
|
@ -25,7 +25,7 @@ CONFIG = {
|
|||
"deploy_path": SETTINGS["OUTPUT_PATH"],
|
||||
# Host and port for `serve`
|
||||
"host": "localhost",
|
||||
"port": 8000,
|
||||
"port": 9000,
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +0,0 @@
|
|||
Subproject commit bbf8768d4fcc61e3a03d2db56e47686376ead317
|
||||
1
themes/pelican-hyde
Submodule
1
themes/pelican-hyde
Submodule
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 20bcba19396ef2fa9ca64471d939834600fc0523
|
||||
Loading…
Reference in New Issue
Block a user