Skip to content

Commit

Permalink
Module/News: Smarty 5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Nightprince committed Apr 26, 2024
1 parent ef03ea6 commit 237caa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/modules/news/views/articles.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</div>

{foreach from=$articles key=key item=article}
<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}">
<div glow><div glow-lines></div></div>

<div class="row">
Expand Down

0 comments on commit 237caa9

Please sign in to comment.