Skip to content
Snippets Groups Projects
Verified Commit d47713e9 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Add links to news

parent 5e11a5c6
No related branches found
No related tags found
No related merge requests found
...@@ -102,17 +102,19 @@ ...@@ -102,17 +102,19 @@
<!-- Main Content --> <!-- Main Content -->
{% block content %}{% endblock %} {% block content %}{% endblock %}
<div class="col-xs-10 col-xs-offset-1 col-sm-4 col-sm-offset-1"> {% block news %}
<h3>News</h3> <div class="col-xs-10 col-xs-offset-1 col-sm-4 col-sm-offset-1">
{% for article in articles %} <h3>News</h3>
<h4>{{ article.title }}</h4> {% for article in articles %}
{{ article.date }} · {{ article.author }} <h4><a href="{{ article.url }}">{{ article.title }}</a></h4>
<p> {{ article.date }} · <a href="{{ article.author.url }}">{{ article.author }}</a>
{{ article.summary }} <p>
</p {{ article.summary }}
<a href="{{ article.url }}">More info…</a> </p
{% endfor %} <a href="{{ article.url }}">More info…</a>
</div> {% endfor %}
</div>
{% endblock %}
<!-- Sponsoren Footer --> <!-- Sponsoren Footer -->
<footer class="page-footer" id="sponsoren-footer"> <footer class="page-footer" id="sponsoren-footer">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment