]> git.ipfire.org Git - people/shoehn/ipfire.org.git/blobdiff - www/templates/news-item.html
Website update.
[people/shoehn/ipfire.org.git] / www / templates / news-item.html
index d41ca09403a3f60ba3efdb9960a1a81d89733391..afcdca474ca95fd7d702855f7b7950f424866d6f 100644 (file)
@@ -1,22 +1,11 @@
-{% extends "base-2.html" %}
+{% extends "base-1.html" %}
 
 {% block title %}{{ item.title }}{% end block %}
 
-{% block content %}
-<!--   <h2>{{ item.title }}</h2>
-       <div class="post_info">
-               {{ locale.format_date(item.date) }} {{ _("by") }}
-               <a href="/author/{{ item.author_id }}">{{ item.author }}</a>
+{% block body %}
+       <div class="page-header">
+               <h1>{{ item.title }}</h1>
        </div>
 
-       {{ item.text }} -->
-
-       {{ modules.NewsItem(item, uncut=True) }}
-{% end block %}
-
-{% block sidebar %}
-       <h4>other options</h4>
-       <ul class="list">
-               <li><a href="/news">{{ _("Show all news") }}</a></li>
-       </ul>
+       {{ modules.NewsItem(item, show_heading=False) }}
 {% end block %}