We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef03ea6 commit 237caa9Copy full SHA for 237caa9
application/modules/news/views/articles.tpl
@@ -19,7 +19,7 @@
19
</div>
20
21
{foreach from=$articles key=key item=article}
22
- <article class="pagebody news-article {if $is_single}is-single{/if} {if $article.comments != -1}has-comments{/if} {if $article.tags}has-tags{/if} {if key(reset($articles)) == $key}first-item{/if} {if !isset($articles[$key + 1])}last-item{/if}">
+ <article class="pagebody news-article {if $is_single}is-single{/if} {if $article.comments != -1}has-comments{/if} {if $article.tags}has-tags{/if} {if $item@first}first-item{/if} {if $item@last}last-item{/if}">
23
<div glow><div glow-lines></div></div>
24
25
<div class="row">
0 commit comments