File tree 3 files changed +6
-6
lines changed 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 16
16
</ p >
17
17
< p > Latest post:
18
18
{% set latest_post = posts|last %}
19
- < strong > < a href ="{{ latest_post.path }} "> {{ latest_post.title }}</ a > </ strong >
19
+ < strong > < a href ="{{ latest_post.permalink | safe }} "> {{ latest_post.title }}</ a > </ strong >
20
20
</ p >
21
21
</ div >
22
22
47
47
< h1 > {{ extra.title }}</ h1 >
48
48
< ul >
49
49
{% for subsection in extra.subsections|reverse %}
50
- < li > < a href ="{{ subsection.path }} "> {{ subsection.title }}</ a > </ li >
50
+ < li > < a href ="{{ subsection.permalink | safe }} "> {{ subsection.title }}</ a > </ li >
51
51
{% endfor %}
52
52
{% for page in extra.pages|reverse %}
53
- < li > < a href ="{{ page.path }} "> {{ page.title }}</ a > </ li >
53
+ < li > < a href ="{{ page.permalink | safe }} "> {{ page.title }}</ a > </ li >
54
54
{% endfor %}
55
55
</ ul >
56
56
Original file line number Diff line number Diff line change 1
1
{% macro post_link(page) %}
2
2
< article >
3
- < h2 class ="post-title "> < a href ="{{ page.path }} "> {{ page.title }}</ a > </ h2 >
3
+ < h2 class ="post-title "> < a href ="{{ page.permalink | safe }} "> {{ page.title }}</ a > </ h2 >
4
4
{{ page.summary | safe }}
5
5
</ article >
6
6
{% endmacro post_link %}
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ <h2>Table of Contents</h2>
28
28
< hr >
29
29
< div class ="PageNavigation ">
30
30
{% if page.previous %}
31
- < a class ="prev " href ="{{ page.previous.path }} "> « {{ page.previous.title }}</ a >
31
+ < a class ="prev " href ="{{ page.previous.permalink | safe }} "> « {{ page.previous.title }}</ a >
32
32
{% endif %}
33
33
{% if page.next %}
34
- < a class ="next " href ="{{ page.next.path }} "> {{ page.next.title }} »</ a >
34
+ < a class ="next " href ="{{ page.next.permalink | safe }} "> {{ page.next.title }} »</ a >
35
35
{% endif %}
36
36
</ div >
37
37
You can’t perform that action at this time.
0 commit comments