Escape tags

This commit is contained in:
Peter 2024-06-29 11:37:03 +08:00
parent a1137b5d7c
commit ef9f0cadaa

View File

@ -24,7 +24,9 @@ To fix this,
3. Modify `head.tmpl`: Add this line somewhere in the `<head>` section:
```html
{% raw %}
<link rel="canonical" href="{{AppUrl}}{{if $.Link}}{{slice $.Link 1}}{{end}}" />
{% endraw %}
```
4. Restart the gitea service