mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-22 01:46:51 +01:00
just append trailing slash to some url variables, ref #8
This commit is contained in:
parent
79589bb328
commit
d46f6292a0
@ -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">∞</a>
|
||||
<a class="permalink-link" href="{{ post.url | append: '/' }}" rel="tooltip" title="Permalink">∞</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>
|
||||
|
@ -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 %}
|
||||
|
@ -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">∞</a>
|
||||
<a class="permalink-link" href="{{ page.url | append: '/' }}" rel="tooltip" title="Permalink">∞</a>
|
||||
</p>
|
||||
</section>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user