absolute url

This commit is contained in:
piharpi
2019-03-24 20:37:09 +07:00
parent 783438dbf2
commit 7f6ca48428
7 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@
<article class="list-post blog">
<header class="list-post-header">
<h2 class="list-post-title">
<a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
<a href="{{ post.url | absolute_url }}">{{ post.title | escape }}</a>
</h2>
</header>
<section class="list-post-excerpt">

View File

@@ -4,7 +4,7 @@
<article class="list-post tips">
<header class="list-post-header tips">
<h2 class="list-post-title">
<a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
<a href="{{ post.url | absolute_url }}">{{ post.title | escape }}</a>
</h2>
</header>
<small class="list-meta">

View File

@@ -34,7 +34,7 @@ home: true
<article class="list-post blog">
<header class="list-post-header">
<h4 class="list-post-title">
<a href="{{ post.url | relative_url }}">{{ post.title | escape }}.</a>
<a href="{{ post.url | absolute_url }}">{{ post.title | escape }}.</a>
</h4>
</header>
<section class="list-post-excerpt">
@@ -43,7 +43,7 @@ home: true
</article>
{% endfor %}
<nav class="see-all-container">
<a class="button" href="{{ site.url }}/blog">See All</a>
<a class="button" href="{{ site.url | absolute_url }}/blog">See All</a>
</nav>
</div>
@@ -53,7 +53,7 @@ home: true
<article class="list-post tips">
<header class="list-post-header tips">
<h4 class="list-post-title">
<a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
<a href="{{ post.url | absolute_url }}">{{ post.title | escape }}</a>
</h4>
</header>
<small class="list-meta">
@@ -67,7 +67,7 @@ home: true
</article>
{% endfor %}
<nav class="see-all-container">
<a class="button" href="{{ site.url }}/tips">See All</a>
<a class="button" href="{{ site.url | absolute_url }}/tips">See All</a>
</nav>
</div>
</div>