1
0
Fork 0

link post url filter refinements

This commit is contained in:
Matthias Kretschmann 2013-11-29 20:53:16 +01:00
parent 026ed4600e
commit cf37a3762d
2 changed files with 4 additions and 4 deletions

View File

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

View File

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