Remove html from links

This commit is contained in:
Rico Sta. Cruz 2017-08-28 21:53:29 +08:00
parent 5b87d995aa
commit cb4df01530
No known key found for this signature in database
GPG Key ID: CAAD38AE2962619A
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ html_class: home
<div class='pages-list'>
{% for page in site.pages %}
{% if page.category == category %}
<a href="{{base}}{{ page.url }}">
<a href="{{base}}{{ page.url | remove: '.html' }}">
<span class='title'>{{ page.title }}</span>
<span class='date'>{{ page.url | remove: '.html' | remove: '/' }}</span>
</a>