Just learning Pelican
As I’m just learning Pelican, Dirkjan Ochtman pointed out that I can have “fancy” URLs via the ARTICLE_PERMALINK_STRUCTURE setting. So the blog spam you are seeing is a result of my publishing the same two articles with two different URLs (fancy and non-fancy). My apologies for the noise.
publishconf.py
And actually, I found ARTICLE_URL and ARTICLE_SAVE_AS to be the settings I wanted to use instead [1]. My publishconf.py now looks like this [2]:
ARTICLE_SAVE_AS = '/{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html'
ARTICLE_URL = '/{date:%Y}/{date:%m}/{date:%d}/{slug}/'
AUTHOR = u'Alex Clark'
CATEGORY_FEED_ATOM = None
CATEGORY_FEED_RSS = None
DEFAULT_CATEGORY = 'Blog'
DEFAULT_LANG = 'en'
DEFAULT_PAGINATION = 10
DELETE_OUTPUT_DIRECTORY = True
DISQUS_SITENAME = 'aclark-blog'
GITHUB_URL = 'https://github.com/ACLARKNET/aclarknet.github.com'
GOOGLE_ANALYTICS = 'UA-34988446-1'
SITENAME = u'Alex Clark'
SITEURL = 'http://blog.aclark.net'
SOCIAL = (
('GitHub', 'http://github.com/aclark4life'),
('Gittip', 'https://www.gittip.com/aclark4life'),
('PythonPackages', 'https://pythonpackages.com/user/aclark4life'),
('Twitter', 'http://twitter.com/aclark4life'),
('atom feed (Mozilla)', 'http://blog.aclark.net/Mozilla.atom.xml'),
('atom feed (Plone)', 'http://blog.aclark.net/Plone.atom.xml'),
('atom feed (Python)', 'http://blog.aclark.net/Python.atom.xml'),
)
TAG_FEED_ATOM = 'feeds/%s.atom.xml'
TAG_FEED_RSS = None
TWITTER_USERNAME = 'aclark4life'
[1] | http://pelican.notmyidea.org/en/3.0/settings.html#url-settings |
[2] | I removed the extraneous pelicanconf.py and put everything in one file |