mirror of
https://github.com/peter-tanner/peter-tanner.github.io.git
synced 2024-11-30 12:00:18 +08:00
Escape tags
This commit is contained in:
parent
a1137b5d7c
commit
ef9f0cadaa
|
@ -24,7 +24,9 @@ To fix this,
|
||||||
3. Modify `head.tmpl`: Add this line somewhere in the `<head>` section:
|
3. Modify `head.tmpl`: Add this line somewhere in the `<head>` section:
|
||||||
|
|
||||||
```html
|
```html
|
||||||
|
{% raw %}
|
||||||
<link rel="canonical" href="{{AppUrl}}{{if $.Link}}{{slice $.Link 1}}{{end}}" />
|
<link rel="canonical" href="{{AppUrl}}{{if $.Link}}{{slice $.Link 1}}{{end}}" />
|
||||||
|
{% endraw %}
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Restart the gitea service
|
4. Restart the gitea service
|
||||||
|
|
Loading…
Reference in New Issue
Block a user