yuex / pelican-chameleon

A pelican theme, developed using bootstrap3
MIT License
56 stars 28 forks source link

CRITICAL: UndefinedError: 'author_url' is undefined #7

Closed aeslaughter closed 7 years ago

aeslaughter commented 8 years ago

I am receiving the following error when running this theme from the pelican-themes repository.

CRITICAL: UndefinedError: 'author_url' is undefined

pelicanconfig.py

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

SITENAME = u'MOOSE'
SITEURL = ''
THEME = '/Users/slauae/projects/pelican-themes/chameleon'
PATH = 'content'
TIMEZONE = 'America/Denver'
DEFAULT_LANG = u'en'

# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
aeslaughter commented 8 years ago

I am sure I am likely missing some required setting, I just not sure what it is. Anything to help would be great. Note, setting AUTHORS did not help.

AUTHORS = {u'Andrew E. Slaughter': 'https://github.com/aeslaughter'}
yuex commented 8 years ago

Have you tried the following?

AUTHOR = u'Andrew E. Slaughter'
AUTHORS = {AUTHOR: u'https://github.com/aeslaughter'}
aeslaughter commented 8 years ago

That fixes it.