diff options
author | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2012-07-09 17:08:41 +0200 |
---|---|---|
committer | Nico von Geyso <Nico.Geyso@FU-Berlin.de> | 2012-07-09 17:08:41 +0200 |
commit | f25236bd6f1082f779fc365f7d2c14a60891dcf5 (patch) | |
tree | 66ce571e4a3b711715721261680d4802efa6d7b1 /index.html | |
parent | c13d334376c5bc5eca664fe1a5abf7a54e24ecbc (diff) | |
download | www-f25236bd6f1082f779fc365f7d2c14a60891dcf5.tar.gz www-f25236bd6f1082f779fc365f7d2c14a60891dcf5.tar.bz2 www-f25236bd6f1082f779fc365f7d2c14a60891dcf5.zip |
some content here and there
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 62 |
1 files changed, 33 insertions, 29 deletions
@@ -1,40 +1,44 @@ {% meta %} title: Home - top_link: 2 + top_link: 3 {% endmeta %} {% block content %} -<h2>news</h2> -{% for post in site.posts|batch(3)|first %} -<p> - <a href="{{ post.get_url() }}">{{ post.title }}</a> - - - {{ post.date.strftime('%Y, %B %d') }} -</p> -{% endfor %} +<div id="news"> + <h2>news</h2> + {% for post in site.posts|batch(3)|first %} + <p> + <a href="{{ post.get_url() }}">{{ post.title }}</a> + - + {{ post.date.strftime('%Y, %B %d') }} + </p> + {% endfor %} +</div> -<h2>services</h2> -<ul id="services"> -{% for page in site.pages %} - {% if page.service %} - <li> - <div class="grid_2 alpha"> - <img src="{{page.logo_url}}" alt="{{page.title}}" /> - </div> +<div id="services"> + <h2>services</h2> + <ul class="grid_16"> + {% for page in site.pages|sort(attribute='title') %} + {% if page.service %} + <li class="grid_8 {{ loop.cycle('omega', 'alpha') }}"> + <div class="grid_2 alpha"> + <img src="{{page.logo_url}}" alt="{{page.title}}" /> + </div> - <div class="gird_16 omega" - <h3> - <a href="{{page.get_url()}}">{{page.title}}</a> - </h3> + <div class="gird_6 omega" + <h3> + <a href="{{page.get_url()}}">{{page.title}}</a> + </h3> - <p> - {{page.description}} - </p> - </div> - </li> - {% endif %} -{% endfor %} -</ul> + <p> + {{page.description}} + </p> + </div> + </li> + {% endif %} + {% endfor %} + </ul> +</div> {% endblock %} |