]> git.ipfire.org Git - ipfire.org.git/blobdiff - templates/planet/posting.html
Massive web site update
[ipfire.org.git] / templates / planet / posting.html
index dcc1d13c1243c4dd1c37c239c3420c765c950156..6b01bd8c72487477c5cc16e1c5fd937574ef429a 100644 (file)
@@ -2,33 +2,8 @@
 
 {% block title %}{{ entry.title }}{% end block %}
 
-{% block header %}
-       <header class="jumbotron subhead" id="overview">
-               <div class="container">
-                       <h1>
-                               <i class="fa fa-comment"></i>
-                               <a href="/post/{{ entry.slug }}">{{ entry.title }}</a>
-                       </h1>
-
-                       <p class="lead">
-                               {{ _("by") }} <a href="/user/{{ entry.author.uid }}">{{ entry.author.name }}</a>
-                               &bull; {{ locale.format_date(entry.published, shorter=True) }}
-                       </p>
-               </div>
-       </header>
-{% end header %}
-
-{% block body %}
-       {% if entry.is_draft() %}
-               <div class="alert alert-warning alert-dismissable">
-                       <button type="button" class="close" data-dismiss="alert">&times;</button>
-                       <strong>{{ _("Heads up!") }}</strong> {{ _("This post is a draft and has not been published, yet.") }}
-               </div>
-       {% end %}
-
-       {% module PlanetAuthorBox(entry.author) %}
-
-       {% raw entry.text %}
+{% block container %}
+       {% module PlanetEntry(entry) %}
 
        <hr class="clear">