Skip to content

Commit

Permalink
🔧 🚀 Add theme and plugins config (#2)
Browse files Browse the repository at this point in the history
It is necessary to load the Jinja2 extension for i18n and to specify the theme. There are another variables pending to specify.
  • Loading branch information
ivanhercaz committed Dec 8, 2019
1 parent f8b6b90 commit f5de764
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion docs/pelicanconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,15 @@
DEFAULT_PAGINATION = 5

# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
# RELATIVE_URLS = True

# Theme configuration

THEME = "../"

JINJA_ENVIRONMENT = {
"extensions": ["jinja2.ext.i18n"]
}

PLUGIN_PATHS = ['/home/ivanhercaz/Apps/pelican-plugins']
PLUGINS = ["i18n_subsites"]

0 comments on commit f5de764

Please sign in to comment.