1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-13 16:45:14 +01:00

just append trailing slash to some url variables, ref #8

This commit is contained in:
Matthias Kretschmann 2013-12-07 16:26:51 +01:00
parent 79589bb328
commit d46f6292a0
3 changed files with 7 additions and 7 deletions

View File

@ -15,7 +15,7 @@
{{ post.content | markdownify }}
<p>
<a class="more-link" href="{{ post.linkurl }}">Go to source <i class="icon-forward"></i></a>
<a class="permalink-link" href="{{ post.url }}" rel="tooltip" title="Permalink">&#8734;</a>
<a class="permalink-link" href="{{ post.url | append: '/' }}" rel="tooltip" title="Permalink">&#8734;</a>
</p>
</section>
</article>
@ -39,13 +39,13 @@
<article class="hentry format-post">
<header>
<h1 class="entry-title"><a href="{{ post.url }}">{{ post.title | titlecase }}</a></h1>
<h1 class="entry-title"><a href="{{ post.url | append: '/' }}">{{ post.title | titlecase }}</a></h1>
</header>
<section class="entry-content">
{% if post.image %}
<a href="{{ post.url }}">
<a href="{{ post.url | append: '/' }}">
{% picture {{ post.image }} class="teaser" %}
</a>
{% endif %}
@ -64,7 +64,7 @@
<footer class="goodie-actions">
<p class="info col3">
<a class="btn icon-info" href="{{ post.url }}">Release Post</a>
<a class="btn icon-info" href="{{ post.url | append: '/' }}">Release Post</a>
</p>
{% if post.download %}
@ -77,7 +77,7 @@
{% endif %}
{% unless page.path contains "goodies" %}
<a class="more-link" href="{{ post.url }}">Continue reading <i class="icon-arrow-right"></i></a>
<a class="more-link" href="{{ post.url | append: '/' }}">Continue reading <i class="icon-arrow-right"></i></a>
{% endunless %}
</section>

View File

@ -54,7 +54,7 @@
<meta http-equiv="cleartype" content="on">
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
<link rel="canonical" href="{{ canonical }}">
<link rel="canonical" href="{{ canonical | append: '/' }}">
<link rel="stylesheet" href="/assets/css/kremalicious3.min.css">
{% if page.style %}

View File

@ -18,7 +18,7 @@ layout: base
{{ content }}
<p>
<a class="more-link" href="{{ page.linkurl }}">Go to source <i class="icon-forward"></i></a>
<a class="permalink-link" href="{{ page.url }}" rel="tooltip" title="Permalink">&#8734;</a>
<a class="permalink-link" href="{{ page.url | append: '/' }}" rel="tooltip" title="Permalink">&#8734;</a>
</p>
</section>