Open oschrenk opened 9 months ago
I'm on zola --version
: 0.19.1
and it appears that the configuration schema has changed regarding feeds, specifically:
# ...
# When set to "true", a feed is automatically generated.
generate_feeds = false
# The filenames to use for the feeds. Used as the template filenames, too.
# Defaults to ["atom.xml"], which has a built-in template that renders an Atom 1.0 feed.
# There is also a built-in template "rss.xml" that renders an RSS 2.0 feed.
feed_filenames = ["atom.xml"]
# ...
this change causes building the site with PaperMod to break in a variety of places, specifically in the following templates that reference the generate_feed
and feed_filename
attribute which no longer appears to be valid:
templates/partials/head.html
templates/section.html
templates/tags/single.html
Aside from overriding these templates in my own project, is there a known-workaround for dealing with this issue?
Would you be open to PR's to fix the templates in this repo directly?
Sure thing, please feel free! I'm unfortunately no longer using zola - but I'll gladly accept PRs so that people who like this theme can profit from eachothers fixes.
Thanks!
Error: Failed to serve the site
Error: Failed to render pager 1
Error: Reason: Failed to render 'section.html'
Error: Reason: Variable config.feed_filenames
not found in context while rendering 'section.html'
I still encounter this problem when run zola serve
Thank you for the theme! I had some issue setting up papermod from the given instructions. These were the three things tripping me up:
This was solved by adding
to the main body of the config
The installation procedure does mention to copy sample files, which makes the extra config required. But the extra config is missing in the installation procedure.
This was solved by adding the
[extra.papermod]
section of the sample config to my config.posts/_index.md
not foundThis is a misunderstanding between an initial empty setup of zola and the theme.
a)
zola init
creates an emptycontent
directory already b)cp -r themes/papermod/content content
as outlined in the installation procedure actually actually then copies the content into the existingcontent
, resulting in a directory structure likeThis was solved via