41 lines
1.5 KiB
HTML
41 lines
1.5 KiB
HTML
<div class="nfb-content-box">
|
|
<div class="ui basic segment">
|
|
<div class="ui stackable grid">
|
|
<div class="row">
|
|
<div class="seven wide column">
|
|
<a href="{{ article.get_absolute_url }}">
|
|
<img src="{{ article.image.url }}"
|
|
class="ui fluid image nfb-image-link" />
|
|
</a>
|
|
</div>
|
|
<div class="six wide column" style="padding-left:10px">
|
|
<h2 class="ui header">
|
|
<a href="{{ article.get_absolute_url }}">{{ article.title }}</a>
|
|
<div class="sub header">
|
|
<br>
|
|
{% if article.authors.count %}
|
|
{% for author in article.get_ordered_authors %}
|
|
<strong>{{ author.name }}</strong>{% if not forloop.last %}, {% endif %}
|
|
{% endfor %}
|
|
{% endif %}
|
|
<br>
|
|
{{ article.date }}
|
|
</div>
|
|
</h2>
|
|
<div class="featured-subtitle">
|
|
<a href="{{ article.get_absolute_url }}" style="font-size:1.2rem">{{ article.subtitle }}</a>
|
|
<a href="{{ article.get_absolute_url }}"><i class="angle right icon"></i></a>
|
|
</div>
|
|
</div>
|
|
{% if article.featured.order_on_homepage == 0 %}
|
|
<div class="three wide column">
|
|
{% include 'ads.html' %}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<br />
|
|
<br />
|