zola/docs/content/documentation
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
..
content Fix zola serve 2020-09-28 09:36:16 +02:00
deployment Make gitlab CI example script faster (#1171) 2020-09-18 15:35:38 +02:00
getting-started Fix #1165, improve situation for compile_sass errors (#1166) 2020-09-22 09:46:22 +02:00
templates Fix RSS block example in documentation (#1210) 2020-10-21 13:00:16 +02:00
themes Merge pull request #1038 from getzola/next 2020-09-04 23:42:30 +02:00
_index.md Update _index.md 2018-03-22 15:47:34 -06:00