Feat: split with globalconf
This commit is contained in:
parent
39241ee741
commit
74c085c442
17
globalconf.py
Normal file
17
globalconf.py
Normal file
@ -0,0 +1,17 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*- #
|
||||
from __future__ import unicode_literals
|
||||
|
||||
# Menu
|
||||
MAIN_MENU = True
|
||||
DISPLAY_PAGES_ON_MENU = False
|
||||
DISPLAY_CATEGORIES_ON_MENU = False
|
||||
MENUITEMS = [
|
||||
#("Dernières modifications", SITEURL+"blog_index.html"),
|
||||
("Contenus de cours", "/pages/tout-sur-mes-cours.html"),
|
||||
('blog', '/blog_index.html'),
|
||||
('Opytex', "/opytex/"),
|
||||
("pyMath", "/pymath/"),
|
||||
('À propos', "/pages/a-propos.html"),
|
||||
]
|
||||
|
@ -1,6 +1,10 @@
|
||||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*- #
|
||||
from __future__ import unicode_literals
|
||||
import os
|
||||
import sys
|
||||
sys.path.append(os.curdir)
|
||||
from globalconf import *
|
||||
|
||||
AUTHOR = 'Benjamin Bertrand'
|
||||
SITENAME = 'Opytex'
|
||||
@ -36,19 +40,6 @@ TRANSLATION_FEED_ATOM = None
|
||||
AUTHOR_FEED_ATOM = None
|
||||
AUTHOR_FEED_RSS = None
|
||||
|
||||
# Menu
|
||||
MAIN_MENU = True
|
||||
DISPLAY_PAGES_ON_MENU = False
|
||||
DISPLAY_CATEGORIES_ON_MENU = False
|
||||
MENUITEMS = [
|
||||
('Opytex', "/opytex/"),
|
||||
("pyMath", "/pymath/"),
|
||||
("Contenus de cours", "/pages/mes-cours.html"),
|
||||
#('blog', '/blog_index.html'),
|
||||
('À propos', "/pages/a-propos.html"),
|
||||
#('Archives', "/pages/archives.html"),
|
||||
]
|
||||
|
||||
# Blogroll
|
||||
LINKS = [
|
||||
("2019-2020", "/2019-2020/")
|
||||
|
Loading…
Reference in New Issue
Block a user