Replace <a> with <span> in reader with :noref

master
pictuga 2014-06-22 19:42:52 +02:00
parent 8fd21ec9fd
commit ecabbc0175
1 changed files with 5 additions and 1 deletions

View File

@ -22,7 +22,11 @@
@for item in feed.items: @for item in feed.items:
<div class="col-1-3"> <div class="col-1-3">
<div class="item"> <div class="item">
@if item.link:
<a class="title link" href="@item.link" target="_blank">@item.title</a> <a class="title link" href="@item.link" target="_blank">@item.title</a>
@else
<span class="title">@item.title</span>
@end
<div class="article">@item.content</div> <div class="article">@item.content</div>
</div> </div>
</div> </div>