summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2012-07-12 17:27:03 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2012-07-12 17:31:15 +0200
commita6b432c7b8e019151aea7a8afd240f7c34124b84 (patch)
tree73ba86df615add1593256fc279c2afb555901073
parentc6272168c74cee4a3a15956292bb666c7eb7d006 (diff)
downloadwww-a6b432c7b8e019151aea7a8afd240f7c34124b84.tar.gz
www-a6b432c7b8e019151aea7a8afd240f7c34124b84.tar.bz2
www-a6b432c7b8e019151aea7a8afd240f7c34124b84.zip
filter pages, based on path
-rw-r--r--howto.html2
-rw-r--r--index.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/howto.html b/howto.html
index fff9abe..f4dffe8 100644
--- a/howto.html
+++ b/howto.html
@@ -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 %}
diff --git a/index.html b/index.html
index 359fbd6..88b65dd 100644
--- a/index.html
+++ b/index.html
@@ -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}}" />