discourse-legacysite-perl/site/articles/_widget_feature_article.html

23 lines
907 B
HTML
Raw Normal View History

2024-06-17 12:24:05 +00:00
<%~set feature_list_loop = Plugins::UI::fetch_links(ids => $Articles, sb => 'Date')%>
<%~loop feature_list_loop%>
<div class="product center">
<a href="<%URL%>" class="label label-category"><%escape_html Name%></a>
<div class="product-image">
<%~if thumbnail_url%>
<img src="<%config.build_root_url%><%thumbnail_url.medium || $thumbnail_url.small%>" width="300" height="166" class="img-responsive" />
<%~else%>
<img src="<%config.build_static_url%>/images/default_300x166.png" width="300" height="166" class="img-responsive" />
<%~endif%>
</div>
<div class="post-meta medium-grey">
<i class="icon sprite-slowtwitch"></i>
<span class="author uppercase"><%Contact_Name%></span>
</div>
<div class="excerpt">
<%Description%>
<a href="<%detailed_url%>" class="readmore">Read &gt;</a>
</div>
</div>
<%~endloop%>