Closed KonstantinShemyak closed 7 years ago
This is caused by missing messages. The default templates used by the sidebar
plugin expect some special messages (translations) to be added, namely:
I added a note to the README. To fix this, you can either create some custom messages files with those entries, or make it untranslatable by modifying sidebar.tmpl and sidebar-helper.tmpl.
(PS. you could have just reopened #233. I assumed this was the only problem in here, but in case an issue still occurs, or you still can’t do what you want, you can always reopen the issue.)
Thanks for updating the documentation (and the plugin metadata)!
I uninstalled and re-installed nikola, this time without reinstalling the sidebar plugin, and I'm still getting this same error. Started happening when I copied in a post that had a sidebar ref in the text. However, even rm-ing that post doesn't stop the error on nikola build.
The posts/templates/pages might be cached, try rm -rf cache .doit.db
after removing the post.
Thank you! I'll give that a whirl.
What's the conf.py tuple supposed to be for Recent Posts?
This problem arises whenever I create a first post, even for a new site (rm -rf
the original site, then nikola init
a new one). It even happens after I uninstall and reinstall nikola, as soon as I create a new post, and even when I haven't installed the sidebar plugin.
This is caused by missing messages. The default templates used by the
sidebar
plugin expect some special messages (translations) to be added, namely:
- Recent Posts
- Archives
- Categories
- Tags
I added a note to the README. To fix this, you can either create some custom messages files with those entries, or make it untranslatable by modifying sidebar.tmpl and sidebar-helper.tmpl.
Localization messages are created in messages/messages_XX.py files in a theme, not conf.py.
The build (of the unchanged site) passes further than in #233 - gets to run
sidebar
, but still fails: