site_opytex/publishconf.py

28 lines
637 B
Python
Raw Normal View History

2019-07-18 10:43:36 +00:00
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
# This file is only used if you use `make publish` or
# explicitly specify it as your config file.
import os
import sys
2023-04-14 12:41:25 +00:00
sys.path.append(os.curdir)
2023-04-14 12:44:55 +00:00
from pelicanconf import *
2023-04-14 12:41:25 +00:00
# If your site is available via HTTPS, make sure SITEURL begins with https://
2023-04-14 12:41:25 +00:00
SITEURL = "https://opytex.org/enseignements/2022-2023/"
RELATIVE_URLS = False
2019-07-18 10:43:36 +00:00
2023-04-14 12:41:25 +00:00
FEED_ALL_ATOM = "feeds/all.atom.xml"
CATEGORY_FEED_ATOM = "feeds/{slug}.atom.xml"
2019-07-18 10:43:36 +00:00
DELETE_OUTPUT_DIRECTORY = True
# Following items are often useful when publishing
2023-04-14 12:41:25 +00:00
# DISQUS_SITENAME = ""
# GOOGLE_ANALYTICS = ""