zola/docs/content/documentation/templates
Kiyan Mair f5a200e64c
Fix RSS block example in documentation (#1210)
This commit fixes a bug in the documentation for the feeds page which
shows how to use the RSS block to enable feed autodiscovery.

The bug used an em space character instead of a space in one part of the
code snippet. If a user were to copy the code snippet into their code as
directed, the Zola build would fail with a parse error. The em space
appears identical to a regular space in monospaced fonts, making the
error seem mysterious or incorrect.

I believe the em space was used in order to prevent the shortcode from
rendering, as the code snippet is just meant to show what the shortcode
looks like. However, it is possible to escape the shortcode so that it
renders correctly without causing confusion for the user who expects to
be able to copy and paste it.

This commit replaces the em space in both code snippets with regular
spaces and escapes the shortcodes.
2020-10-21 13:00:16 +02:00
..
feeds Fix RSS block example in documentation (#1210) 2020-10-21 13:00:16 +02:00
404.md Simple clean up of documentation. (#849) 2020-02-02 17:48:42 -08:00
_index.md Redirect on templates and themes sections 2017-10-19 17:06:31 +02:00
archive.md Simple clean up of documentation. (#849) 2020-02-02 17:48:42 -08:00
overview.md Merge pull request #1038 from getzola/next 2020-09-04 23:42:30 +02:00
pages-sections.md Clearer page sorting comment 2020-06-18 23:21:35 +02:00
pagination.md Simple clean up of documentation. (#849) 2020-02-02 17:48:42 -08:00
robots.md Simple clean up of documentation. (#849) 2020-02-02 17:48:42 -08:00
sitemap.md WIP: add an 'updated' field to pages 2020-04-14 17:29:46 +05:30
taxonomies.md Typos (#1010) 2020-04-26 20:35:59 +02:00