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"> <article class="list-post blog">
<header class="list-post-header"> <header class="list-post-header">
<h2 class="list-post-title"> <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> </h2>
</header> </header>
<section class="list-post-excerpt"> <section class="list-post-excerpt">

View File

@@ -4,7 +4,7 @@
<article class="list-post tips"> <article class="list-post tips">
<header class="list-post-header tips"> <header class="list-post-header tips">
<h2 class="list-post-title"> <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> </h2>
</header> </header>
<small class="list-meta"> <small class="list-meta">

View File

@@ -34,7 +34,7 @@ home: true
<article class="list-post blog"> <article class="list-post blog">
<header class="list-post-header"> <header class="list-post-header">
<h4 class="list-post-title"> <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> </h4>
</header> </header>
<section class="list-post-excerpt"> <section class="list-post-excerpt">
@@ -43,7 +43,7 @@ home: true
</article> </article>
{% endfor %} {% endfor %}
<nav class="see-all-container"> <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> </nav>
</div> </div>
@@ -53,7 +53,7 @@ home: true
<article class="list-post tips"> <article class="list-post tips">
<header class="list-post-header tips"> <header class="list-post-header tips">
<h4 class="list-post-title"> <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> </h4>
</header> </header>
<small class="list-meta"> <small class="list-meta">
@@ -67,7 +67,7 @@ home: true
</article> </article>
{% endfor %} {% endfor %}
<nav class="see-all-container"> <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> </nav>
</div> </div>
</div> </div>