1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-25 19:34:48 +01:00

fix link url in link posts

This commit is contained in:
Matthias Kretschmann 2014-07-10 16:35:14 +02:00
parent c799b575c1
commit 407f5392b4

View File

@ -7,7 +7,7 @@ layout: base
<article class="hentry format-link"> <article class="hentry format-link">
<header> <header>
<h1 class="entry-title"> <h1 class="entry-title">
<a href="{{ post.linkurl }}" title="Go to source: {{ page.linkurl | remove:'http://' | remove:'https://' | remove:'www.' }}"> <a href="{{ page.linkurl }}" title="Go to source: {{ page.linkurl | remove:'http://' | remove:'https://' | remove:'www.' }}">
{{ page.title | titlecase }} <i class="icon-forward"></i> {{ page.title | titlecase }} <i class="icon-forward"></i>
<span class="linkurl">{{ page.linkurl | remove:'http://' | remove:'https://' | remove:'www.' | split:'/' | first }}</span> <span class="linkurl">{{ page.linkurl | remove:'http://' | remove:'https://' | remove:'www.' | split:'/' | first }}</span>
</a> </a>