Second pass at adding key files
This commit is contained in:
18
site/articles/include_featured_articles.html
Normal file
18
site/articles/include_featured_articles.html
Normal file
@ -0,0 +1,18 @@
|
||||
<div class="featured-wrapper">
|
||||
<%~set list_view = 'featured'%>
|
||||
<%~set row_index = 0%>
|
||||
<%~loop featured_articles_loop%>
|
||||
<%~if skip_first%><%if row_num == 1%><%nextloop%><%endif%><%elsif row_num > 3%><%lastloop%><%endif%>
|
||||
<%if get_thumbnail_url%>
|
||||
<%~set thumbnail_url = Plugins::UI::fetch_thumbnail($loop_value)%>
|
||||
<%~endif%>
|
||||
<%~if row_num == $show_ad%>
|
||||
<div class="featured-content col-6-12">
|
||||
<%~set adsize = '300x250'%>
|
||||
<%~include include_ad.html%>
|
||||
</div>
|
||||
<%~endif%>
|
||||
<%~set row_index += 1%>
|
||||
<%include link.html%>
|
||||
<%~endloop%>
|
||||
</div>
|
Reference in New Issue
Block a user