summaryrefslogtreecommitdiff
path: root/studio-susie/templates/index.liquid
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2016-12-31 22:07:40 +0100
committerJules Laplace <jules@okfoc.us>2016-12-31 22:07:40 +0100
commita29a021dee9bee8b916df8b512c38f2adc2a445e (patch)
tree1b7138d0931c8621674c1c4325545e0f358137ff /studio-susie/templates/index.liquid
parent4f6d9d5e5f02f28ce12dbd5b432ecf43a939f8e1 (diff)
disabled
Diffstat (limited to 'studio-susie/templates/index.liquid')
-rw-r--r--studio-susie/templates/index.liquid12
1 files changed, 9 insertions, 3 deletions
diff --git a/studio-susie/templates/index.liquid b/studio-susie/templates/index.liquid
index 63bb53f..032a67f 100644
--- a/studio-susie/templates/index.liquid
+++ b/studio-susie/templates/index.liquid
@@ -105,13 +105,15 @@
<div id="fullpage">
{% for painting in paintings %}
+ {% if ! painting.disabled %}
<div class="section {% if painting.center %}center{% endif %}" data-image="{{ painting.image.uri }}">
{% unless painting.title contains "IMG" %}
<div class="plaque">
- <b>{{painting.title}}</b>{% if painting.date %}, {{painting.date}}.{% endif %} {{painting.description}}
+ <b>{{painting.title}}</b>{% if painting.date %}, {{painting.date}}.{% endif %} {{painting.medium}}
</div>
{% endunless %}
</div>
+ {% endif %}
{% endfor %}
</div>
@@ -123,11 +125,13 @@
</div>
{% for page in pages %}
+ {% if ! page.disabled %}
<div class="page" id="{{page.id}}">
<div class="content">
{{ page.body }}
</div>
</div>
+ {% endif %}
{% endfor %}
</div>
@@ -138,9 +142,11 @@
<div id="mobile-nav">
<span class="pages">
{% for page in pages %}
- <span><a href="/page/{{page.id}}">{{page.title}}</a></span>
+ {% if ! page.disabled %}
+ <span><a href="/page/{{page.id}}">{{page.title}}</a></span>
+ {% endif %}
{% endfor %}
- <span><a href="/paintings"><span class='ion-grid'></span><span class="nudge">See All </span></a></span>
+ <span><a href="/paintings"><span class='ion-grid'></span><span class="nudge">See All</span></a></span>
</span>
</div>