Commit 581bcb0 1 parent 379663b commit 581bcb0 Copy full SHA for 581bcb0
File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,15 @@ <h1 class="post-title">{{ page.title }}</h1>
23
23
{%- if tags != "" %}
24
24
·
25
25
{% for tag in page.tags -%}
26
- < a href ="{{ tag | prepend: '/blog/tag/' | prepend: site.baseurl}} ">
26
+ < a href ="{{ tag | slugify | prepend: '/blog/tag/' | prepend: site.baseurl}} ">
27
27
< i class ="fas fa-hashtag fa-sm "> </ i > {{ tag }}</ a >
28
28
{% endfor -%}
29
29
{% endif %}
30
30
31
31
{%- if categories != "" %}
32
32
·
33
33
{% for category in page.categories -%}
34
- < a href ="{{ category | prepend: '/blog/category/' | prepend: site.baseurl}} ">
34
+ < a href ="{{ category | slugify | prepend: '/blog/category/' | prepend: site.baseurl}} ">
35
35
< i class ="fas fa-tag fa-sm "> </ i > {{ category }}</ a >
36
36
{% endfor -%}
37
37
{% endif %}
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ <h2>{{ site.blog_description }}</h2>
25
25
< ul class ="p-0 m-0 ">
26
26
{% for tag in site.display_tags %}
27
27
< li >
28
- < i class ="fas fa-hashtag fa-sm "> </ i > < a href ="{{ tag | prepend: '/blog/tag/' | relative_url }} "> {{ tag }}</ a >
28
+ < i class ="fas fa-hashtag fa-sm "> </ i > < a href ="{{ tag | slugify | prepend: '/blog/tag/' | relative_url }} "> {{ tag }}</ a >
29
29
</ li >
30
30
{% unless forloop.last %}
31
31
< p > •</ p >
77
77
{% if tags != "" %}
78
78
·
79
79
{% for tag in post.tags %}
80
- < a href ="{{ tag | prepend: '/blog/tag/' | prepend: site.baseurl}} ">
80
+ < a href ="{{ tag | slugify | prepend: '/blog/tag/' | prepend: site.baseurl}} ">
81
81
< i class ="fas fa-hashtag fa-sm "> </ i > {{ tag }}</ a >
82
82
{% endfor %}
83
83
{% endif %}
84
84
85
85
{% if categories != "" %}
86
86
·
87
87
{% for category in post.categories %}
88
- < a href ="{{ category | prepend: '/blog/category/' | prepend: site.baseurl}} ">
88
+ < a href ="{{ category | slugify | prepend: '/blog/category/' | prepend: site.baseurl}} ">
89
89
< i class ="fas fa-tag fa-sm "> </ i > {{ category }}</ a >
90
90
{% endfor %}
91
91
{% endif %}
You can’t perform that action at this time.
0 commit comments