Simplify and organize _config.yml variables

This commit is contained in:
Michael Rose
2014-07-31 09:37:41 -04:00
parent f4869f79c4
commit 1a3231f506
21 changed files with 175 additions and 140 deletions

View File

@@ -16,9 +16,7 @@
{% if page.image.feature %}
<div class="image-wrap">
<img src=
{% if page.image.feature contains 'http://' %}
"{{ page.image.feature }}"
{% elsif page.image.feature contains 'https://' %}
{% if page.image.feature contains 'http' %}
"{{ page.image.feature }}"
{% else %}
"{{ site.url }}/images/{{ page.image.feature }}"
@@ -39,7 +37,7 @@
<div class="article-wrap">
{{ content }}
</div><!-- /.article-wrap -->
{% if site.disqus_shortname and page.comments %}
{% if site.owner.disqus-shortname and page.comments == true %}
<section id="disqus_thread"></section><!-- /#disqus_thread -->
{% endif %}
</article>