Fix site URL and base URL.

Signed-off-by: HE, Tao <sighingnow@gmail.com>
This commit is contained in:
HE, Tao
2019-04-28 19:30:47 +08:00
parent 28ec44b3b2
commit a1b1bd9402
7 changed files with 27 additions and 27 deletions

View File

@@ -7,7 +7,7 @@
{% assign reversed_posts = site.posts | reverse %}
{% if reversed_posts %}
<link rel="next" href="{{reversed_posts.first.url}}" />
<link rel="next" href="{{site.baseurl}}{{reversed_posts.first.url}}" />
{% endif %}
</head>
<body>
@@ -19,7 +19,7 @@
{%- include body.html -%}
{% if reversed_posts %}
<a href="{{reversed_posts.first.url}}" class="navigation navigation-next navigation-unique" aria-label="Next page: {{reversed_posts.first.title}}">
<a href="{{site.baseurl}}{{reversed_posts.first.url}}" class="navigation navigation-next navigation-unique" aria-label="Next page: {{reversed_posts.first.title}}">
<i class="fa fa-angle-right"></i>
</a>
{% endif %}