summaryrefslogtreecommitdiff
path: root/theme
diff options
context:
space:
mode:
authorSebastian Krzyszkowiak <dos@dosowisko.net>2014-07-15 18:16:48 +0200
committerSebastian Krzyszkowiak <dos@dosowisko.net>2014-07-15 18:16:48 +0200
commit0cba12f7b98cc8f7b991ff5f934a5ae138b6ffc0 (patch)
tree8047b856a5994cb8316ef2bd29049dc4f4a71fd9 /theme
parent46b633ad17749664b3ffc74a7d540b11e9b2eb85 (diff)
downloadwww-0cba12f7b98cc8f7b991ff5f934a5ae138b6ffc0.tar.gz
www-0cba12f7b98cc8f7b991ff5f934a5ae138b6ffc0.tar.bz2
www-0cba12f7b98cc8f7b991ff5f934a5ae138b6ffc0.zip
july trilogy on main page
Signed-off-by: Sebastian Krzyszkowiak <dos@dosowisko.net>
Diffstat (limited to 'theme')
-rw-r--r--theme/templates/index.html25
1 files changed, 12 insertions, 13 deletions
diff --git a/theme/templates/index.html b/theme/templates/index.html
index a270261..57ac4dd 100644
--- a/theme/templates/index.html
+++ b/theme/templates/index.html
@@ -25,18 +25,17 @@
</div>
<h1 style="display: inline-block; color: #555">News</h1>
<div style="display: inline-block; padding-left:15px">
- <h4 style="font-weight: bold"><a href="{{ SITEURL }}/{{ category[1][2].url }}">{{ category[1][2].title }}</a></h4>
- <p class="text-muted" style="font-size: 0.75em">{{ category[1][2].locale_date }}</p>
+ <h4 style="font-weight: bold"><a href="{{ SITEURL }}/{{ category[1][0].url }}">{{ category[1][0].title }}</a></h4>
+ <p class="text-muted" style="font-size: 0.75em">{{ category[1][0].locale_date }}</p>
</div>
- <div style="font-size: 0.7em; max-height: 450px; overflow: hidden; position: relative">
- {{ category[1][2].content }}
- <p style="margin:0;position: absolute; padding-top: 50px; bottom:0; left:0; width: 100%; text-align: center; background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
- background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(255,255,255,1)));
- background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
- background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
- background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
- background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%);
- filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff',GradientType=0 );"><a href="{{ SITEURL }}/{{ category[1][2].url }}" class="btn btn-lg btn-primary" style="margin: 20px 0;">Read more</a></p>
+ <div style="height: 450px; max-height: 400px; overflow: hidden; position: relative">
+ <p class="lead" style="margin: 1.5em 0 2em">We have made a set of three news articles - "<em>The Past</em>", "<em>The Present</em>" and "<em>The Future</em>". This trilogy is intended to provide a comprehensive overview over the project's state and plans, for both our long time supporters as well as those who found out about the project only recently.
+ <ul>
+ <li><a href="/news/july-trilogy-part-i-the-past">Part I: The Past</a></li>
+ <li><a href="/news/july-trilogy-part-ii-the-present">Part II: The Present</a></li>
+ <li>Part III: The Future (coming soon)</li>
+ </ul>
+ </p>
</div>
</div>
@@ -48,7 +47,7 @@
<div>
<div class="bs-sidebar" style="font-size: 0.7em">
- <ul class="nav nav-list bs-sidenav" style="padding: 0px 10px 0 0; max-height: 450px; overflow-y: auto">
+ <ul class="nav nav-list bs-sidenav" style="padding: 0px 10px 0 0; max-height: 400px; overflow-y: auto">
{% for post in category[1] %}
<li>
<h4 style="font-weight: bold"><a href="{{ SITEURL }}/{{ post.url }}">{{ post.title.replace("Neo900 Progress Update","Progress Update") }}</a></h4>
@@ -74,7 +73,7 @@
{% for category in categories if category[0] == 'ublog' %}
<div class="bs-sidebar" style="font-size: 0.7em">
- <ul class="nav nav-list bs-sidenav" style="padding: 10px 10px 0 0; max-height: 450px; overflow-y: auto">
+ <ul class="nav nav-list bs-sidenav" style="padding: 10px 10px 0 0; max-height: 400px; overflow-y: auto">
{% for post in category[1] %}
<li>
<div class="content" style="line-height: 1.5em; word-wrap:break-word">