Update feed generation to match Zola update

This commit is contained in:
Teo-CD 2020-10-02 21:04:10 +02:00
parent c21216b8a8
commit 2d6b0f8173
2 changed files with 4 additions and 2 deletions

View file

@ -216,6 +216,8 @@ zulma_allow_theme_selection = true
This template is based on the [blog template](https://bulmatemplates.github.io/bulma-templates/templates/blog.html) over at [Free Bulma Templates](https://bulmatemplates.github.io/bulma-templates/). All themes were taken from [Bulmaswatch](https://jenil.github.io/bulmaswatch/). The code behind from originally adapted from the [after-dark](https://github.com/getzola/after-dark/blob/master/README.md) zola template.
This theme was modified by trotFunky from Worble's work on [github](https://github.com/Worble/Zulma).
## Known Bugs
- If user theme swapping is enabled and the user selects a theme different to the default, a slight delay will be introduced in page rendering as the css gets swapped out and in by the javascript. This is particularly pronounced when using the dark theme, since it will flash white before going back to black. This is better than the alternative flashes of unstyled content or old theme, but still annoying. I don't know any way around this, but with browser caching it should be fast enough to not cause serious issues.

View file

@ -25,8 +25,8 @@
</script>
{% endif %}
{% if config.generate_rss %}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ get_url(path="rss.xml") | safe }}">
{% if config.generate_feed %}
<link rel="alternate" type="application/atom+xml" title="RSS" href="{{ get_url(path="atom.xml") | safe }}">
{% endif %}
{% if config.build_search_index %}