Bonsoir,
j’ai installé Pelican pour créer un site Internet. Cela marche mais je n’arrive pas à changer de thème.
J’ai uploadé le thème “apricot” dans “/var/www/pelican/” (ce qui donne /var/www/pelican/apricot) et mis dans pelicanconf.py la ligne suivante :
THEME = “apricot”
J’ai donc :
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'arnaud'
SITENAME = u'arnauld'
SITEURL = 'https://arnauld.org/pelican'
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'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
# Blogroll
LINKS = (('Pelican', 'http://getpelican.com/'),
('Python.org', 'http://python.org/'),
('Jinja2', 'http://jinja.pocoo.org/'),
('You can modify those links in your config file', '#'),)
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
THEME = "apricot"
Mais le thème ne change pas…
Merci de vos conseils.