diff options
author | Valentin Popov <valentin@popov.link> | 2022-11-10 03:10:04 +0300 |
---|---|---|
committer | Valentin Popov <valentin@popov.link> | 2022-11-10 03:10:04 +0300 |
commit | 6fb3e475ce2e4140934746df9f010dfd9109031a (patch) | |
tree | 3615019bf8f46ab2c4567d811ab0b18529e00868 /templates/index.html | |
parent | b411c947f50fcc08fbae3b6c1b4e5252ddcfaac7 (diff) | |
download | popov.link-6fb3e475ce2e4140934746df9f010dfd9109031a.tar.xz popov.link-6fb3e475ce2e4140934746df9f010dfd9109031a.zip |
Deleted unsafe variables
Signed-off-by: Valentin Popov <valentin@popov.link>
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/index.html b/templates/index.html index cf822e1..3edb50d 100644 --- a/templates/index.html +++ b/templates/index.html @@ -11,8 +11,8 @@ <ul> {% for contact in config.extra.contacts %} <li> - <span>{{ contact.title | safe }}:</span> - <a href="{{ contact.url | safe }}" rel="nofollow" target="_blank">{{ contact.name | safe }}</a> + <span>{{ contact.title | trim }}:</span> + <a href="{{ contact.url | trim }}" rel="nofollow" target="_blank">{{ contact.name | trim }}</a> </li> {% endfor %} </ul> @@ -24,9 +24,9 @@ <ul> {% for link in config.extra.links %} <li> - <a href="{{ link.url | safe }}" rel="nofollow" target="_blank">{{ link.title | safe }}</a> + <a href="{{ link.url | trim }}" rel="nofollow" target="_blank">{{ link.title | trim }}</a> <span>—</span> - <span>{{ link.description | safe }}</span> + <span>{{ link.description | trim }}</span> </li> {% endfor %} </ul> @@ -39,9 +39,9 @@ <ul> {% for page in blog.pages | slice(end=5) %} <li> - <time datetime="{{ page.date | date(format='%+') | safe }}">{{ page.date | date(format='%Y/%m/%d') | safe }}</time> + <time datetime="{{ page.date | date(format='%+') | trim }}">{{ page.date | date(format='%Y/%m/%d') | trim }}</time> <span>—</span> - <a href="{{ page.permalink | safe }}">{{ page.title | safe }}</a> + <a href="{{ page.permalink | trim }}">{{ page.title | trim }}</a> </li> {% endfor %} </ul> |