blog.notmyidea.org/pelicanconf.py
Alexis Métaireau cbe32a1694 Update website design and content
- Changed the main background color
- Added a quote background color
- Changed the color of the citation in bold
- Added a background image to the body that repeats
- Increased the maximum width of the body
- Made layout adjustments for mobile phones
- Added padding to blockquotes and made visual enhancement with quotes
- Adjusted the footer style
- Fixed an issue with the weight attribute of the feed icon img, it should be height
- Added a content div to wrap main body content
- Appended a version parameter to the css file in html to force browser cache refresh
- Updated menu and category descriptions in the website configuration file
- Updated styling of blockquote element and added open-end quotes
- Added new image file white-waves.webp and integrated it to the background design
- Tweaked the main body's max-width and font-size for better accessibility and readability on mobile devices
- Optimized placements for blockquote contents
- Adjusted fontSize of blockquote's open-quote and close-quote
- Updated categories description in pelicanconf.py file
- Removed unnecessary padding-right from 'time' style
2023-10-12 15:25:12 +02:00

59 lines
1.7 KiB
Python

# -*- coding: utf-8 -*-
PATH = "content"
AUTHOR = ""
SITENAME = "Alexis Métaireau"
THEME = "mnmlist"
DISQUS_SITENAME = "notmyidea"
DEFAULT_PAGINATION = 3
STATIC_PATHS = ["images", "docs"]
SITEURL = ""
RELATIVE_URLS = True
TIMEZONE = "Europe/Paris"
LOCALE = "fr_FR"
DEFAULT_DATE_FORMAT = "%d %B %Y"
LINKS = []
PLUGIN_PATHS = ["."]
PLUGINS = ["simplereader", "isbn_downloader"]
CACHE_OUTPUT_DIRECTORY = "cache"
CACHE_DOMAIN = "/cache/"
TYPOGRIFY = True
INDEX_SAVE_AS = "articles.html"
CATEGORY_SAVE_AS = "{slug}/index.html"
CATEGORY_URL = "{slug}/"
MENU = [
("Journal", "/journal/index.html", "journal"),
("Code, etc.", "/code/", "code"),
("Notes hebdo", "/weeknotes/", "weeknotes"),
("Lectures", "/lectures/", "lectures"),
]
CATEGORIES_DESCRIPTION = {
"weeknotes": (
"Notes hebdo",
"Chaque semaine, je fais un petit résumé de ce qui s'est passé. Cela m'aide à garder le fil de mes idées et de mes différents projets. Un bon moyen de faire un pause et d'observer la semaine sous un autre angle.",
),
"lectures": (
"Notes de lecture",
"Quelques notes prises au détour d'une lecture, plutôt pour ne pas les oublier, et me remémorer le livre quand j'en ai besoin.",
),
"code": (
"Code, etc.",
"Des bouts de trucs liés au code, que je trouve utiles de stocker quelque part (en anglais)",
),
"journal": (
"Journal",
"Quelques réfléxions, bien souvent autour du monde du travail ou de la technologie.",
),
"notes": (
"Carnet de notes",
"Prises bien souvent en regardant une vidéo ou un article en ligne. Je les mets ici pour pouvoir les retrouver quand le besoin se fait sentir.",
),
}