diff options
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> |