mirror of
https://github.com/almet/notmyidea.git
synced 2025-04-28 11:32:39 +02:00
- Added the ability to display book cover for the category "Lectures" if ISBN cover is available. - Moved author's name into a small tag for better hierarchy and readability. - Implemented a feature to indicate link sizes depending on the number of articles associated with a given tag. - Implemented a mini footer element displaying an RSS feed icon. - Improved category display using description dictionary. - Added a new plugin "isbn_downloader" to fetch ISBN information when needed. - Included the count of articles for each category. - Implemented changes for better layout and readability of tags and categories. - Adjusted the layout of the webpage, improving the overall look of the page. - Included "requests" in the requirements.txt for supplanting dependencies required by the new plugin and/or features.
59 lines
1.7 KiB
Python
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 pensées partagées, bien souvent sur le 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.",
|
|
),
|
|
}
|