diff --git a/Makefile b/Makefile index ad8eaf7..7410b80 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ ifeq ($(DEBUG), 1) PELICANOPTS += -D endif -RELATIVE ?= 0 +RELATIVE ?= 1 ifeq ($(RELATIVE), 1) PELICANOPTS += --relative-urls endif diff --git a/pelicanconf.py b/pelicanconf.py index b48db2f..dc351b1 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -10,7 +10,8 @@ AUTHOR = 'Benjamin Bertrand' SITENAME = 'OpyTex' SITETITLE = 'OpyTex' SITESUBTITLE = "DEV" -SITEURL = 'localhost:8000/enseignements/DEV/' +#SITEURL = 'https://0.0.0.0:8000/enseignements/DEV' +SITEURL = '' CC_LICENSE_COMMERCIAL = True CC_LICENSE = True @@ -25,7 +26,8 @@ DEFAULT_LANG = 'fr' #RELATIVE_URLS = True # Files places -IGNORE_FILES = ['venv'] +IGNORE_FILES = ['venv', '.git', 'tools'] +# Pages, articles and static #PAGE_PATHS = ['pages'] ARTICLE_PATHS = ['.'] STATIC_PATHS = ['.'] @@ -48,10 +50,6 @@ ARTICLE_URL = ARTICLE_SAVE_AS = PAGE_URL = PAGE_SAVE_AS = '{path_no_ext}.html' # Readers READERS = {"html": None} - -# Themes -THEME = "theme" - # Everythings in french JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']} # Default theme language. @@ -61,6 +59,10 @@ DEFAULT_LANG = "fr" OG_LOCALE = "fr" LOCALE = ("fr", "fr_FR.utf8") +# Themes +THEME = "./theme/" +USE_GOOGLE_FONTS = False + DISPLAY_PAGES_ON_SIDE = False MAIN_MENU = True