
- wi choose to switch to Pelican static site generator because it's written in Python, a language quite accessible to iss. It is also the same tool wi use for irr blog. It just makes sense. - Design the landing page by overriding the index template using Pelican THEME_TEMPLATES_OVERRIDE to simplify the change. - Design the contact page with gpg key and OMEMO fingerprint sign using that key. - Custom CSS for the banner and the link card of the landing page.
49 lines
1.2 KiB
Python
49 lines
1.2 KiB
Python
AUTHOR = 'Irrlicht'
|
|
SITENAME = 'Mindlair'
|
|
SITEURL = ""
|
|
ARTICLE_URL = "{slug}"
|
|
PAGE_URL = "{slug}"
|
|
PAGE_SAVE_AS = "{slug}.html"
|
|
CATEGORY_URL = "category/{slug}"
|
|
TAG_URL = "tag/{slug}"
|
|
|
|
CUSTOM_CSS = "/static/assets/css/custom.css"
|
|
|
|
PATH = "content"
|
|
|
|
STATIC_PATHS = ["static", ".well-known"]
|
|
|
|
TIMEZONE = 'Europe/Paris'
|
|
|
|
DEFAULT_LANG = 'fr'
|
|
|
|
# Feed generation is usually not desired when developing
|
|
FEED_ALL_ATOM = None
|
|
CATEGORY_FEED_ATOM = None
|
|
TRANSLATION_FEED_ATOM = None
|
|
AUTHOR_FEED_ATOM = None
|
|
AUTHOR_FEED_RSS = None
|
|
|
|
MENU_PAGES = [ "Contact" ]
|
|
DISPLAY_CATEGORIES_ON_MENU = False
|
|
|
|
THEME="theme"
|
|
THEME_TEMPLATES_OVERRIDES = [ "templates" ]
|
|
|
|
DEFAULT_PAGINATION = False
|
|
LINKS = [
|
|
{
|
|
"name": "Blog — Débordement contenu ",
|
|
"description": "Mon blog, espace principal d'expression où je pose mes textes en tout genre",
|
|
"url":"https://blog.mindlair.fr",
|
|
"logo":"blog_logo.svg"
|
|
},
|
|
{
|
|
"name": "Shaarli — Liens",
|
|
"description":"Partage de ressources variées : articles, podcasts, videos,…",
|
|
"url":"https://links.mindlair.fr",
|
|
"logo":"bookmark.svg"
|
|
}
|
|
]
|
|
|
|
PORT=8001
|