changed the replace to slugify method

pull/1/head
kirbylife 2019-11-17 16:16:54 -06:00
parent 1435bac8ab
commit debcb8bb57
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
{% block content %}
{% for post in posts %}
<a class="article" href="/posts/{{ post.title | split(pat=' ') | join(sep='-') }}-{{ post.id }}">
<a class="article" href="/posts/{{ post.title | slugify }}-{{ post.id }}">
<article>
<span><strong>{ image: </strong></span>
<figure>