89 lines
3.3 KiB
HTML
89 lines
3.3 KiB
HTML
{% extends 'page.html' %}
|
|
|
|
{% block title %}Prelom{% endblock %}
|
|
{% block fulltitle %}Prelom{% endblock %}
|
|
{% block description %}Prelom{% endblock %}
|
|
{% block longdescription %}Prelom.{% endblock %}
|
|
{% block twittercard %}summary{% endblock %}
|
|
{% block image %}/static/img/favicon-180x180.png{% endblock %}
|
|
|
|
{% block content %}
|
|
<article class="page-content">
|
|
<div class="ui container">
|
|
<br><br>
|
|
{% if request.user.is_staff %}
|
|
<div class="ui center aligned basic segment">
|
|
<a href="{% url 'admin:journal_featuredarticle_changelist' %}"
|
|
class="ui blue icon button">
|
|
<i class="edit icon"></i>
|
|
Edit featured articles in admin
|
|
</a>
|
|
</div>
|
|
{% endif %}
|
|
|
|
{% for feature in large_features %}
|
|
{% include 'featured_article.html' with article=feature.article only %}
|
|
{% endfor %}
|
|
{% if small_features.exists %}
|
|
<div class="ui three column stackable grid">
|
|
{% for feature in small_features %}
|
|
<div class="column">
|
|
<div class="nfb-content-box">
|
|
<div class="ui basic segment">
|
|
{% include 'article_thumb.html' with article=feature.article only %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
<br /><br />
|
|
|
|
{% for category in categories %}
|
|
<!--<div class="nfb-homepage-box">
|
|
<div class="ui padded stackable grid">
|
|
<div class="seven wide column">
|
|
{% include 'category_latest.html' with category=category only %}
|
|
</div>
|
|
<div class="two wide column">
|
|
{% include 'category_browse.html' with category=category only %}
|
|
</div>
|
|
<div class="three wide column" style="text-align: right">
|
|
<h4 class="ui header">
|
|
<a href="{% url 'archives' category.slug 1 %}">{{ category.archive_link_text }} <i class="angle right icon"></i></a>
|
|
</h4>
|
|
<hr class="nfb-divider" />
|
|
</div>
|
|
</div>
|
|
</div>-->
|
|
<br />
|
|
{% endfor %}
|
|
|
|
<!--<div class="nfb-homepage-box">
|
|
<div class="ui padded stackable grid">
|
|
<div class="five wide column">
|
|
<h4 class="ui header">
|
|
Zadnja številka
|
|
</h4>
|
|
<hr class="nfb-divider" />
|
|
{% include 'issue_thumb.html' with issue=latest_issue only %}
|
|
</div>
|
|
<div class="five wide column">
|
|
<h4 class="ui header">
|
|
Predzadnja številka
|
|
</h4>
|
|
<hr class="nfb-divider" />
|
|
{% include 'issue_thumb.html' with issue=previous_issue only %}
|
|
</div>
|
|
<div class="three wide column">
|
|
<h4 class="ui header">
|
|
<a href="{% url 'issues' %}">Starejše številke<i class="angle right icon"></i></a>
|
|
</h4>
|
|
<hr class="nfb-divider" />
|
|
</div>
|
|
</div>
|
|
</div>-->
|
|
</div>
|
|
</article>
|
|
{% endblock %}
|