forked from github/pelican
Certain configuration options are more useful in production than they are in development. Some examples might be absolute URLs, external analytics service identifiers, Disqus comments, etc. This version of the quickstart script creates two configuration files: one for development and the other for use when publishing. In addition, the related docs have been expanded considerably. Last but not least, the quickstart script will now detect whether there is a project folder associated with the currently active virtualenv (if any) and use it by default.
17 lines
312 B
Python
17 lines
312 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*- #
|
|
|
|
from pelicanconf import *
|
|
|
|
SITEURL = '$siteurl'
|
|
|
|
DELETE_OUTPUT_DIRECTORY = True
|
|
|
|
# Following items are often useful when publishing
|
|
|
|
# Uncomment following line for absolute URLs in production:
|
|
#RELATIVE_URLS = False
|
|
|
|
#DISQUS_SITENAME = ""
|
|
#GOOGLE_ANALYTICS = ""
|
|
|