From ef9f0cadaa4af14f573a4b545edd45572528a4b0 Mon Sep 17 00:00:00 2001 From: Peter Tanner Date: Sat, 29 Jun 2024 11:37:03 +0800 Subject: [PATCH] Escape tags --- ...ding-the-canonical-tag-to-Gitea-to-prevent-duplicate-spam.md | 2 ++ 1 file changed, 2 insertions(+) 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 8988469..ac3c45b 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 @@ -24,7 +24,9 @@ To fix this, 3. Modify `head.tmpl`: Add this line somewhere in the `` section: ```html +{% raw %} +{% endraw %} ``` 4. Restart the gitea service