Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
blog-memopol
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Political Memory
blog-memopol
Commits
2870b2cb
Commit
2870b2cb
authored
Oct 16, 2016
by
Arthur
Committed by
Jamesie Pic
Dec 27, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ajout mecanisme traduction
parent
02aff85b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
pelicanconf.py
pelicanconf.py
+7
-0
No files found.
pelicanconf.py
View file @
2870b2cb
...
...
@@ -50,11 +50,17 @@ I18N_SUBSITES = {
'SITENAME'
:
'Site officiel de Memopol'
,
'LOCALE'
:
'fr'
,
'SITEURL'
:
'/fr'
,
'DEFAULT_CATEGORY'
},
}
#Arthur 16/10/2016 Je ne suis pas sur de l'utilite
I18N_UNTRANSLATED_ARTICLES
=
'remove'
I18N_UNTRANSLATED_PAGES
=
'remove'
I18N_GETTEXT_LOCALEDIR
=
'locale/'
I18N_GETTEXT_DOMAIN
=
'blog'
languages_lookup
=
{
'en'
:
'English'
,
'fr'
:
'Français'
,
...
...
@@ -76,6 +82,7 @@ JINJA_FILTERS = {
'my_ordered_items'
:
my_ordered_items
,
}
JINJA_EXTENSIONS
=
[
'jinja2.ext.i18n'
]
#Theme
THEME
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'theme'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment