Add first version of the website
This commit is contained in:
commit
aa4d24b7d6
22 changed files with 1125 additions and 0 deletions
47
pelicanconf.py
Normal file
47
pelicanconf.py
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
AUTHOR = 'Pascal Le Merrer'
|
||||
SITENAME = 'Craft Letter'
|
||||
SITEURL = "https://www.craftletter.fr"
|
||||
SITEDESCRIPTION = "Newsletter hebdomadaire de veille technologique, consacrée au développement logiciel."
|
||||
|
||||
PATH = "content"
|
||||
|
||||
TIMEZONE = 'Europe/Paris'
|
||||
|
||||
DEFAULT_LANG = 'fr'
|
||||
|
||||
# Feed generation is usually not desired when developing
|
||||
FEED_ALL_RSS = "feeds/all.rss.xml"
|
||||
FEED_ALL_ATOM = None
|
||||
CATEGORY_FEED_ATOM = None
|
||||
TRANSLATION_FEED_ATOM = None
|
||||
AUTHOR_FEED_ATOM = None
|
||||
AUTHOR_FEED_RSS = None
|
||||
|
||||
# Blogroll
|
||||
LINKS = (
|
||||
("S'abonner à la lettre de veille", "https://craftletter.sender.site"),
|
||||
)
|
||||
|
||||
# Social widget
|
||||
SOCIAL = (
|
||||
("Linkedin", "https://www.linkedin.com/in/pascal-le-merrer/"),
|
||||
("Mastodon", "https://mastodon.social/@pascal_le_merrer"),
|
||||
)
|
||||
|
||||
DEFAULT_PAGINATION = 10
|
||||
|
||||
# Uncomment following line if you want document-relative URLs when developing
|
||||
# RELATIVE_URLS = True
|
||||
|
||||
THEME = "themes/blue-penguin"
|
||||
|
||||
JINJA_ENVIRONMENT = {
|
||||
'extensions': ['jinja2.ext.i18n'],
|
||||
}
|
||||
|
||||
STATIC_PATHS = ['images', 'robots.txt']
|
||||
|
||||
# SEO
|
||||
SEO_ENHANCER_SITEMAP_URL = "https://www.craftletter.fr/sitemap.xml"
|
||||
SEO_ENHANCER = True # SEO enhancer is disabled by defaultCSS_MIN = True
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue