minimo/publishconf.py

30 lines
713 B
Python

#!/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
sys.path.append(os.curdir)
from pelicanconf import *
SITEURL = 'https://unit.abbiamoundominio.org/minimo'
RELATIVE_URLS = False
#FEED_ALL_ATOM = 'feeds/all.atom.xml'
#CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
FEED_ALL_RSS = 'feeds/all.rss.xml'
#CATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml'
CATEGORY_FEED_RSS = 'feeds/category_%s.rss.xml'
## RSS anche delle tag
#TAG_FEED_ATOM = "feeds/tag_%s.atom.xml"
TAG_FEED_RSS = "feeds/tag_%s.rss.xml"
#TRANSLATION_FEED_RSS = None
DELETE_OUTPUT_DIRECTORY = True