summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.js2
-rw-r--r--package.json2
-rw-r--r--templates/index.liquid4
3 files changed, 4 insertions, 4 deletions
diff --git a/index.js b/index.js
index 1914ba5..c826359 100644
--- a/index.js
+++ b/index.js
@@ -42,7 +42,7 @@ var app = okcms.createApp({
mobileMedia: {type: 'media-list'},
press: {type: 'link-list'},
whiteCursor: {type: 'flag'},
- hideProject: {type: 'flag'},
+ disabled: {type: 'flag'},
},
},
diff --git a/package.json b/package.json
index 7dae23f..201d764 100644
--- a/package.json
+++ b/package.json
@@ -18,7 +18,7 @@
"dependencies": {
"dotenv": "^2.0.0",
"object-assign": "^2.0.0",
- "okcms": "git+ssh://git@github.com:okfocus/okcms.git#v0.1.27"
+ "okcms": "git+ssh://git@github.com:okfocus/okcms.git#v0.1.28"
},
"devDependencies": {
"grunt": "^0.4.5",
diff --git a/templates/index.liquid b/templates/index.liquid
index a932851..722bad4 100644
--- a/templates/index.liquid
+++ b/templates/index.liquid
@@ -33,7 +33,7 @@
<li data-id="cover">Cover</li>
<li data-id="introduction">Introduction</li>
{% for project in projects %}
- {% unless project.hideProject %}
+ {% unless project.disabled %}
<li data-id="{{ project.id }}">
<u class='desktoptitle'>{{ project.title }}</u>
<u class='mobiletitle'>{% if project.mobileTitle %}{{ project.mobileTitle }}{% else %}{{ project.title }}{% endif %}</u>
@@ -119,7 +119,7 @@
<div class="right"></div>
</div>
{% for project in projects %}
- {% unless project.hideProject %}
+ {% unless project.disabled %}
<div class="item" data-id="{{ project.id }}">
<div class="top {% if project.media[2] %}gallery{% else %}single{% endif %} {% if project.whiteCursor %}whitecursor{% endif %}">
{% for media in project.media %}