Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6e84f57619 | |||
| e8f64d16ad | |||
| 40e3c60e6e | |||
| 15db8b2a36 | |||
| e6f4cf592a | |||
| 3698aa90f4 | |||
| 212f0ffde8 | |||
| 5d20c05137 | |||
| c0509d7630 | |||
| af1304e4d2 | |||
| 35e5991479 | |||
| 6edc783c56 | |||
| e6596700c2 | |||
| f5dc0528e4 | |||
| 18e01cb9d5 | |||
| ce8d9f8557 |
2
Makefile
2
Makefile
@@ -2,7 +2,7 @@ PY?=python3
|
||||
PELICAN?=pelican
|
||||
PELICANOPTS=
|
||||
|
||||
YEARSUBFOLDER=enseignements/2019-2020/
|
||||
YEARSUBFOLDER=enseignements/2015-2016/
|
||||
|
||||
BASEDIR=$(CURDIR)
|
||||
INPUTDIR=$(BASEDIR)/content
|
||||
|
||||
@@ -9,7 +9,7 @@ from globalconf import *
|
||||
AUTHOR = 'Benjamin Bertrand'
|
||||
SITENAME = 'OpyTex'
|
||||
SITETITLE = 'OpyTex'
|
||||
SITESUBTITLE = "2019-2020"
|
||||
SITESUBTITLE = "2015-2016"
|
||||
SITEURL = ''
|
||||
|
||||
CC_LICENSE_COMMERCIAL = True
|
||||
|
||||
@@ -11,7 +11,7 @@ sys.path.append(os.curdir)
|
||||
from pelicanconf import *
|
||||
|
||||
# If your site is available via HTTPS, make sure SITEURL begins with https://
|
||||
SITEURL = 'https://raw.opytex.org/enseignements/2019-2020/'
|
||||
SITEURL = 'https://opytex.org/enseignements/2019-2020/'
|
||||
RELATIVE_URLS = False
|
||||
|
||||
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
||||
|
||||
@@ -12,4 +12,4 @@ pytz==2020.1
|
||||
six==1.15.0
|
||||
soupsieve==2.0.1
|
||||
Unidecode==1.1.1
|
||||
Wand==0.6.2
|
||||
Wand==0.6.1
|
||||
|
||||
2
tasks.py
2
tasks.py
@@ -21,7 +21,7 @@ CONFIG = {
|
||||
'settings_base': SETTINGS_FILE_BASE,
|
||||
'settings_publish': 'publishconf.py',
|
||||
|
||||
'year_subfolder': 'enseignements/2019-2020/',
|
||||
'year_subfolder': 'enseignements/2015-2016/',
|
||||
|
||||
# Output path. Can be absolute or relative to tasks.py. Default: 'output'
|
||||
'deploy_path': SETTINGS['OUTPUT_PATH'],
|
||||
|
||||
Reference in New Issue
Block a user