New theme, don't touch the CSS, Julien.

This commit is contained in:
Julien Palard 2021-05-29 22:59:27 +02:00
parent 60791037e2
commit a12d4dac72
3 changed files with 35 additions and 8 deletions

View File

@ -1,8 +1,6 @@
Title: Julien Palard
Date: 2016-05-28
description: Julien Palard - mdk.fr
URL:
save_as: index.html
status: hidden
CPython core developer, PSF fellow, independent Python trainer.

View File

@ -1,6 +1,27 @@
from datetime import date
AUTHOR = "Julien Palard"
SITENAME = "mdk.fr"
SITETITLE = "Julien Palard"
SITESUBTITLE = "Formateur Python"
SITEURL = ""
SITELOGO = "/images/julien.jpg"
SITEDESCRIPTION = "Julien Palard, formateur Python"
ROBOTS = "index, follow"
COPYRIGHT_NAME = "Julien Palard"
COPYRIGHT_YEAR = str(date.today().year)
HOME_HIDE_TAGS = False
FAVICON = "/images/favicon.png"
DISPLAY_PAGES_ON_MENU = False
MAIN_MENU = False
LINKS = (
("My Python Talks", "/pages/talks.html"),
("About me", "/pages/julien-palard.html"),
("GPG: 0x46EBCD72F08E6717", "/pages/gpg.html"),
("HackInScience", "https://hackinscience.org"),
)
PATH = "content"
@ -15,16 +36,25 @@ TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
THEME_COLOR = "dark"
THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE = True
THEME_COLOR_ENABLE_USER_OVERRIDE = True
PYGMENTS_STYLE = "emacs"
PYGMENTS_STYLE_DARK = "monokai"
# Social widget
SOCIAL = (
("twitter", "https://twitter.com/sizeof"),
("github", "https://github.com/julienpalard"),
("so", "https://stackoverflow.com/users/232831/julien-palard"),
("stack-overflow", "https://stackoverflow.com/users/232831/julien-palard"),
("rss", "/feeds/all.atom.xml"),
("mastodon", "https://mamot.fr/@mdk"),
)
USE_GOOGLE_FONTS = False
DEFAULT_PAGINATION = 10
THEME = "theme"
THEME = "/home/mdk/clones/Flex/"
THEME_STATIC_DIR = "theme"
ARTICLE_URL = "{category}/{slug}.html"
STATIC_PATHS = ["images"]

View File

@ -10,11 +10,10 @@ from pelicanconf import *
# If your site is available via HTTPS, make sure SITEURL begins with https://
SITEURL = "https://mdk.fr"
RELATIVE_URLS = False
DELETE_OUTPUT_DIRECTORY = True
THEME = "Flex"
FEED_ALL_ATOM = "feeds/all.atom.xml"
CATEGORY_FEED_ATOM = "feeds/{slug}.atom.xml"
AUTHOR_FEED_ATOM = "feeds/{slug}.atom.xml"
AUTHOR_FEED_RSS = "feeds/{slug}.rss.xml"
DELETE_OUTPUT_DIRECTORY = True