For the General Blog Layout, I used the code on the helpful Docs Demo Site so that visitors could search for posts based on a tag topic.
https://docs.treepl.co/demo-custom-blog
This works beautifully except, I’ve just discovered, for tags with two or more words and therefore containing spaces. This is because spaces are removed when the tag is passed to the URL. For example, if I click on the tag “awesome topic” the URL returned is:
/blog?tag=awesometopic
and no results are shown. But if I manually add the coding for a space to the URL
/blog?tag=awesome%20topic
results will appear.
We are now replacing spaces with underscores in our tags to fix this.
@Adam.Wilson maybe a note could be added to the Docs to warn about potential pitfalls of using spaces in tags.