Files @ 14dfff128751
Branch filter:

Location: AENC/cwi-pelican-template-fork/projects/cwi/publishconf.py

guravage
Changes facilitate publication, e.g., SITEURL defined in publishconf.py, URLs suffixes removed and Makefile SSH variable assigned realistic values.

Changes to be committed:
modified: Makefile
new file: content/extras/top-htaccess
modified: pelicanconf.py
modified: publishconf.py
#!/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 = 'http://event.cwi.nl/<project-name>'
RELATIVE_URLS = False
#MENUITEMS = [(title, ''.join((SITEURL, url))) for title, url in MENUITEMS]

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 = ""