]> git.ipfire.org Git - ipfire.org.git/commitdiff
index: Remove "What's New" section
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 19 Nov 2019 11:12:22 +0000 (11:12 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 19 Nov 2019 11:12:22 +0000 (11:12 +0000)
This is too far down and people do not really see it

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/index.html

index 0162ffa0f1387ce607e8da048e74a005d3080ec4..c0b039d31d0ce054c5088b33ed812174b3389a11 100644 (file)
                        </div>
                </div>
        </section>
-
-       <section>
-               <div class="container">
-                       <div class="row">
-                               <div class="col-12 col-md-6 col-lg-5 mb-5">
-                                       <h1>{{ _("Latest Release") }}</h1>
-
-                                       <p class="mb-0">
-                                               <small>{{ locale.format_date(latest_release.date, shorter=True) }}</small>
-                                       </p>
-
-                                       <h3 class="mb-5">
-                                               {% if latest_release.post %}
-                                                       <a href="https://blog.ipfire.org/post/{{ latest_release.post.slug }}">
-                                                               {{ _("%s has been released!") % latest_release.name }}
-                                                       </a>
-                                               {% else %}
-                                                       {{ _("%s has been released!") % latest_release.name }}
-                                               {% end %}
-                                       </h3>
-
-                                       <div class="row">
-                                               <div class="col-12 col-sm-6 col-md-12 col-xl-5 mb-3">
-                                                       <a class="btn btn-primary btn-block" href="/download">
-                                                               <span class="fas fa-download"></span> {{ _("Download") }}
-                                                       </a>
-                                               </div>
-
-                                               <div class="col-12 col-sm-6 col-md-12 col-xl-5 mb-3">
-                                                       <a class="btn btn-secondary btn-block" href="/donate">
-                                                               <span class="fas fa-heart"></span> {{ _("Donate") }}
-                                                       </a>
-                                               </div>
-                                       </div>
-                               </div>
-
-                               <div class="col-12 col-md-6 col-lg-5 offset-lg-2">
-                                       <h1>{{ _("What's going on?") }}</h1>
-
-                                       <dl class="dl-horizontal">
-                                               {% for post in posts %}
-                                                       <dt>
-                                                               <small>{{ locale.format_date(post.published_at, relative=True, shorter=True) }} &nbsp;</small>
-                                                       </dt>
-
-                                                       <dd class="text-overflow mb-4">
-                                                               <a href="https://blog.ipfire.org/post/{{ post.slug }}">{{ post.title }}</a>
-                                                       </dd>
-                                               {% end %}
-                                       </dl>
-
-                                       <a class="btn btn-secondary" href="https://blog.ipfire.org/">{{ _("Read More") }}</a>
-                               </div>
-                       </div>
-               </div>
-       </section>
 {% end block %}