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