aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrandon Mathis <brandon@imathis.com>2011-07-18 16:59:59 -0400
committerBrandon Mathis <brandon@imathis.com>2011-07-18 16:59:59 -0400
commit64b23d9f34f140b8e544960070525343dfe1273b (patch)
treea14bde5798b64f4d578439b4f38e1ee7f3b4643d
parent0f2686eff7f23a996a2a35f712079ea3ac971cd9 (diff)
downloadmy_new_personal_website-64b23d9f34f140b8e544960070525343dfe1273b.tar.xz
my_new_personal_website-64b23d9f34f140b8e544960070525343dfe1273b.zip
Improved variable names for setting footer, sharing, sidebar and metadata diesplay from page configurations
Diffstat (limited to '')
-rw-r--r--.themes/classic/source/_includes/article.html2
-rw-r--r--.themes/classic/source/_layouts/category_index.html2
-rw-r--r--.themes/classic/source/_layouts/default.html4
-rw-r--r--.themes/classic/source/_layouts/page.html6
-rw-r--r--.themes/classic/source/_layouts/post.html6
-rw-r--r--.themes/classic/source/blog/archives/index.html2
-rw-r--r--.themes/classic/source/index.html3
7 files changed, 13 insertions, 12 deletions
diff --git a/.themes/classic/source/_includes/article.html b/.themes/classic/source/_includes/article.html
index fee7a19c..69bb5008 100644
--- a/.themes/classic/source/_includes/article.html
+++ b/.themes/classic/source/_includes/article.html
@@ -5,7 +5,7 @@
{% else %}
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
{% endif %}
- {% unless page.no_meta %}
+ {% unless page.meta == false %}
<p class="meta">{% include post/date.html %}</p>
{% endunless %}
</header>
diff --git a/.themes/classic/source/_layouts/category_index.html b/.themes/classic/source/_layouts/category_index.html
index cce9777c..85a63072 100644
--- a/.themes/classic/source/_layouts/category_index.html
+++ b/.themes/classic/source/_layouts/category_index.html
@@ -1,6 +1,6 @@
---
layout: page
-no_footer: true
+footer: false
---
<div id="blog-archives" class="category">
diff --git a/.themes/classic/source/_layouts/default.html b/.themes/classic/source/_layouts/default.html
index 15546bb5..fdb60ded 100644
--- a/.themes/classic/source/_layouts/default.html
+++ b/.themes/classic/source/_layouts/default.html
@@ -1,11 +1,11 @@
{% include head.html %}
-<body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if page.sidebar == 'none' %} class="no-sidebar" {% endif %}>
+<body {% if page.body_id %} id="{{ page.body_id }}" {% endif %} {% if page.sidebar == false %} class="no-sidebar" {% endif %}>
<header>{% include header.html %}</header>
<nav>{% include navigation.html %}</nav>
<div id="main">
<div id="content">
{{ content }}
- {% unless page.sidebar == 'none' %}
+ {% unless page.sidebar == false %}
<aside role=sidebar>{% include sidebar.html %}</aside>
{% endunless %}
</div>
diff --git a/.themes/classic/source/_layouts/page.html b/.themes/classic/source/_layouts/page.html
index fb51816f..48dff5cb 100644
--- a/.themes/classic/source/_layouts/page.html
+++ b/.themes/classic/source/_layouts/page.html
@@ -6,17 +6,17 @@ layout: default
<article>
<header>
<h1 class="entry-title">{{ page.title | titlecase }}</h1>
- {% unless page.no_meta or !index %}<p class="meta">{% include post/date.html %}</p>{% endunless %}
+ {% if page.meta == false or !page.date %}<p class="meta">{% include post/date.html %}</p>{% endif %}
</header>
{{ content | smart_quotes }}
- {% unless page.no_footer %}
+ {% unless page.footer == false %}
<footer>
{% if page.date %}
<p class="meta">
{% include post/date.html %}
</p>
{% endif %}
- {% unless page.no_sharing %}
+ {% unless page.sharing == false %}
{% include post/sharing.html %}
{% endunless %}
</footer>
diff --git a/.themes/classic/source/_layouts/post.html b/.themes/classic/source/_layouts/post.html
index 2ec379c9..414a368c 100644
--- a/.themes/classic/source/_layouts/post.html
+++ b/.themes/classic/source/_layouts/post.html
@@ -12,12 +12,12 @@ single: true
{% include post/date.html %}
{% include post/categories.html %}
</p>
- {% unless page.no_sharing %}
- {% include post/sharing.html %}
+ {% unless page.sharing == false %}
+ {% include post/sharing.html %}
{% endunless %}
</footer>
</article>
-{% if site.disqus_short_name and page.no_comments != true %}
+{% if site.disqus_short_name and page.comments == true %}
<section>
<h1>Comments</h1>
<div id="disqus_thread">{% include post/disqus_thread.html %}</div>
diff --git a/.themes/classic/source/blog/archives/index.html b/.themes/classic/source/blog/archives/index.html
index cdc5f17c..f1d9cee3 100644
--- a/.themes/classic/source/blog/archives/index.html
+++ b/.themes/classic/source/blog/archives/index.html
@@ -1,7 +1,7 @@
---
layout: page
title: Blog Archive
-no_footer: true
+footer: false
---
<div id="blog-archives">
diff --git a/.themes/classic/source/index.html b/.themes/classic/source/index.html
index 0655c139..f1d97f90 100644
--- a/.themes/classic/source/index.html
+++ b/.themes/classic/source/index.html
@@ -1,6 +1,7 @@
---
layout: default
-blog_index: true
+meta: false
+footer: false
---
<div class="blog-index">
{% assign index = true %}