forked from github/pelican
Since feed generation is usually unnecessary during development (and can produce potentially-confusing warnings when SITEURL is not set), running "make html" will now skip feed generation by default. Feed generation settings have been added to publishconf.py so feeds will be generated when the site is published. Also corrected some URLs in pelicanconf.py.
23 lines
476 B
Python
Executable file
23 lines
476 B
Python
Executable file
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*- #
|
|
|
|
# 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 = '$siteurl'
|
|
RELATIVE_URLS = False
|
|
|
|
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
|
CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
|
|
|
|
DELETE_OUTPUT_DIRECTORY = True
|
|
|
|
# Following items are often useful when publishing
|
|
|
|
#DISQUS_SITENAME = ""
|
|
#GOOGLE_ANALYTICS = ""
|