File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 18
18
< meta name ="author " content ="{{ site.author }} ">
19
19
{% if site.fb_page %}< meta property ="fb:pages " content ="{{ site.fb_page_id }} " /> {% endif %}
20
20
{% if page.categories %}< meta name ="keywords " content ="{{ page.categories | join: ', ' }} "> {% endif %}
21
- < link rel ="canonical " href ="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }} ">
22
- < link rel ="alternate " type ="application/rss+xml " title ="RSS Feed for {{ site.title }} " href ="{{ "/feed.xml" | prepend: site.baseurl }}" />
21
+ < link rel ="canonical " href ="{{ page.url | absolute_url }} ">
22
+ < link rel ="alternate " type ="application/rss+xml " title ="RSS Feed for {{ site.title }} " href ="{{ "/feed.xml" | relative_url }}" />
23
23
24
24
<!-- Custom CSS -->
25
- < link rel ="stylesheet " href ="{{ "/css/pixyll.css" | prepend: site.baseurl }}?{{ site.time | date: "%Y%m%d%H%M" }}" type="text/css">
25
+ < link rel ="stylesheet " href ="{{ "/css/pixyll.css" | relative_url }}?{{ site.time | date: "%Y%m%d%H%M" }}" type="text/css">
26
26
27
27
<!-- Fonts -->
28
28
{% if site.extended_fonts %}
Original file line number Diff line number Diff line change 12
12
{% if site.stackoverflow_id %}
13
13
< a class ="fa fa-stack-overflow " href ="https://stackoverflow.com/users/{{ site.stackoverflow_id }} "> </ a >
14
14
{% endif %}
15
- < a class ="fa fa-rss " href ="{{ "/feed.xml" | prepend: site.baseurl }}"> </ a >
15
+ < a class ="fa fa-rss " href ="{{ "/feed.xml" | relative_url }}"> </ a >
16
16
{% if site.twitter_username %}
17
17
< a class ="fa fa-twitter " href ="https://twitter.com/{{ site.twitter_username }} "> </ a >
18
18
{% endif %}
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ <h1>{{ page.title }}</h1>
62
62
< h3 class ="related-post-title "> {{ site.text.post.related_posts }}</ h3 >
63
63
{% for post in site.related_posts %}
64
64
< div class ="post ml2 ">
65
- < a href ="{{ post.url | prepend: site.baseurl }} " class ="post-link ">
65
+ < a href ="{{ post.url | relative_url }} " class ="post-link ">
66
66
< h4 class ="post-title "> {{ post.title }}</ h4 >
67
67
< p class ="post-summary "> {{ post.summary }}</ p >
68
68
</ a >
Original file line number Diff line number Diff line change 9
9
{% for post in paginator.posts %}
10
10
< div class ="post py3 ">
11
11
< p class ="post-meta "> {{ post.date | date: site.date_format }}</ p >
12
- < a href ="{{ post.url | prepend: site.baseurl }} " class ="post-link "> < h3 class ="h1 post-title "> {{ post.title }}</ h3 > </ a >
12
+ < a href ="{{ post.url | relative_url }} " class ="post-link "> < h3 class ="h1 post-title "> {{ post.title }}</ h3 > </ a >
13
13
< span class ="post-summary ">
14
14
{% if post.summary %}
15
15
{{ post.summary }}
You can’t perform that action at this time.
0 commit comments