diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2012-07-12 17:27:03 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2012-07-12 17:31:15 +0200 |
commit | a6b432c7b8e019151aea7a8afd240f7c34124b84 (patch) | |
tree | 73ba86df615add1593256fc279c2afb555901073 | |
parent | c6272168c74cee4a3a15956292bb666c7eb7d006 (diff) | |
download | www-a6b432c7b8e019151aea7a8afd240f7c34124b84.tar.gz www-a6b432c7b8e019151aea7a8afd240f7c34124b84.tar.bz2 www-a6b432c7b8e019151aea7a8afd240f7c34124b84.zip |
filter pages, based on path
-rw-r--r-- | howto.html | 2 | ||||
-rw-r--r-- | index.html | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -9,7 +9,7 @@ <ul> {% for page in site.pages %} - {% if page.howto %} + {% if page.path.startswith('howtos/') %} <li><a href="{{ page.get_url() }}">{{ page.title }}</a></li> {% endif %} {% endfor %} @@ -32,7 +32,7 @@ <h2>services</h2> <ul class="grid_16"> {% for page in site.pages|sort(attribute='title') %} - {% if page.service %} + {% if page.path.startswith('services/') %} <li class="grid_8 {{ loop.cycle('omega', 'alpha') }}"> <div class="grid_2 alpha"> <img src="{{page.logo_url}}" alt="{{page.title}}" /> |