summaryrefslogtreecommitdiff
path: root/templates/public/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/public/index.html')
-rw-r--r--templates/public/index.html12
1 files changed, 4 insertions, 8 deletions
diff --git a/templates/public/index.html b/templates/public/index.html
index 444d2908..fa8bb8fb 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -9,7 +9,6 @@
{% block content_left %}
{% cache 62 main-page-left secure %}
<div id="intro" class="box">
-
<h2>A <em>libre</em> version of Arch Linux</h2>
<p>You've reached the website for <strong>Parabola GNU/Linux-libre</strong>,
@@ -28,11 +27,9 @@
<p class="readmore"><a href="{% url page-about %}"
title="Learn more about Parabola">Learn more...</a></p>
-
</div>
<div id="news">
-
<h3>
<a href="{% url news-list %}" title="Browse the news archives">Latest News</a>
<span class="arrow"></span>
@@ -48,7 +45,10 @@
title="View full article: {{ news.title }}">{{ news.title }}</a>
</h4>
<p class="timestamp">{{ news.postdate|date }}</p>
- <div class="article-content">{{ news.content|markdown|truncatewords_html:75 }}</div>
+ <div class="article-content">
+ {% if forloop.counter0 == 0 %}{{ news.content|markdown|truncatewords_html:300 }}
+ {% else %}{{ news.content|markdown|truncatewords_html:100 }}{% endif %}
+ </div>
{% else %}
{% if forloop.counter0 == 5 %}
<h3>
@@ -68,7 +68,6 @@
{% endif %}
{% endif %}
{% endfor %}
-
</div>
{% endcache %}
{% endblock %}
@@ -76,7 +75,6 @@
{% block content_right %}
{% cache 59 main-page-right secure %}
<div id="pkgsearch" class="widget">
-
<form id="pkgsearch-form" method="get" action="/packages/">
<fieldset>
<label for="pkgsearch-field">Package Search:</label>
@@ -87,7 +85,6 @@
</div>
<div id="pkg-updates" class="widget box">
-
<h3>Recent Updates <span class="more">(<a href="/packages/?sort=-last_update"
title="Browse all of the latest packages">more</a>)</span></h3>
@@ -108,7 +105,6 @@
</div>
<div id="nav-sidebar" class="widget">
-
<h4>Documentation</h4>
<ul>