From e4c72903b45c67c9abc5a0fac8b49c06be975e7c Mon Sep 17 00:00:00 2001 From: Peter Tanner Date: Sat, 29 Jun 2024 11:38:42 +0800 Subject: [PATCH] Escape without messing up code block align --- ...-the-canonical-tag-to-Gitea-to-prevent-duplicate-spam.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/_posts/2024-06-29-Adding-the-canonical-tag-to-Gitea-to-prevent-duplicate-spam.md b/_posts/2024-06-29-Adding-the-canonical-tag-to-Gitea-to-prevent-duplicate-spam.md index ac3c45b..04ed080 100644 --- a/_posts/2024-06-29-Adding-the-canonical-tag-to-Gitea-to-prevent-duplicate-spam.md +++ b/_posts/2024-06-29-Adding-the-canonical-tag-to-Gitea-to-prevent-duplicate-spam.md @@ -23,10 +23,12 @@ To fix this, 2. CD to the base directory and run `wget https://raw.githubusercontent.com/go-gitea/gitea/main/templates/base/head.tmpl`. Make sure your Gitea is updated to the latest version, or choose the right version instead of the `main` branch. 3. Modify `head.tmpl`: Add this line somewhere in the `` section: + + ```html -{% raw %} -{% endraw %} ``` + + 4. Restart the gitea service