~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/news/post_detail.html

  • Committer: franku
  • Date: 2018-11-15 20:39:35 UTC
  • mfrom: (504.1.1 widelands)
  • Revision ID: somal@arcor.de-20181115203935-2j4ip880mi4b3mzv
redesign the website to show tabs for some pages and give an additional header section with important links

Show diffs side-by-side

added added

removed removed

Lines of Context:
15
15
        <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/comments.css" />
16
16
{% endblock %}
17
17
 
18
 
{% block content %}
19
 
        <h1>News: {{ object.title }}</h1>
 
18
{% block content_header %}
 
19
        <h1>News: {{ object.title }}</h1><br />
20
20
        <div class="linksBox">
21
21
                <a href="{% url 'news_index' %}">News Archive: </a>
22
22
                {% if object.get_previous_by_publish %}
25
25
                {% if object.get_next_post %}
26
26
                        | <a href="{{ object.get_next_post.get_absolute_url }}">{{ object.get_next_post }} &raquo;</a> 
27
27
                {% endif %}
28
 
        </div>
 
28
        </div>{% endblock %}
 
29
 
 
30
{% block content_main %}
29
31
 
30
32
        {% include "news/inlines/post_detail.html" %}
31
33