Closed JoshuaACasey closed 5 years ago
Hi @jacnoc
What does your LINKS
setting look like? To me, this is likely an error in how that's setup.
It should be a tuple full of tuples with 2 string it in, or something like this
LINKS = (
('Pelican', 'http://getpelican.com/'),
('Python.org', 'http://python.org/'),
('jinja2', 'http://jinja.poco.org/'),
('You can modify those links in your config file', '#'),
)
If we have too many or too few, python get confused when it tries to unpack the tuple in the
{% for name, link in LINKS %}
part of the theme.
I use to have LINKS commented out but I uncommented it yesterday and reduced it from 3 to 1.
LINKS = (('Reddit', 'https://reddit.com/r/JoshuaCasey'))
Oh, This is Python syntax weirdness with tuples.
With single element tuples you need a trailing comma.
So your LINKS
settings should be something like this:
LINKS = (('Reddit', 'https://reddit.com/r/JoshuaCasey'),)
cool. that fixed it. Thanks for sharing knowledge. So dumb that it's something as stupid as a damn comma.
Can't figure out what is causing this & how to fix it. Especially because I disabled all the feed related config options because having them enabled was causing issues (disabling fixed it)