major updates across the theme to make it more user-centered

This commit is contained in:
Tom Johnson
2015-05-05 14:06:11 -07:00
parent a44149986a
commit 18e31994f2
67 changed files with 1048 additions and 683 deletions

View File

@ -5,36 +5,49 @@ comments: true
<div class="post-header">
<h1 class="post-title-main">{{ page.title }}</h1>
{% unless page.type == "noTags" %}
<div class="pageTags">
{% for tag in page.tags %}
{% if site.data.tags.allowed-tags contains tag %}
<a href="{{ "/tag-" | prepend: site.baseurl | append: {{tag}}/index.html ">
<button type="button" class="btn btn-default navbar-btn">{{tag}}</button></a>
{% endif %}
{% endfor %}
</div>
{% if site.show_audience_label == true %}
{% if page.audience != null %}
<div class="audienceLabel">
<div class="prefaceAudienceLabel">Visibility</div>
{% if page.audience contains "writer" %}<span class="label label-info myLabel">Writer</span> {% endif %}
{% unless page.metadata == false %}
<p>
{% if page.audience contains "designer" %}<span class="label label-warning">Designer</span> {% endif %}
</div>
{% endif %}
{% endif %}
</div>
<div class="pageMetadata">
<div class="pageMetadataTitle">Table of Contents</div>
{% include toc.html %}
<hr/>
<div class="pageMetadataTitle">Page Information</div>
{% if page.tags != null %}
<span class="metadataRow">Tags: </span>
{% for tag in page.tags %}
{% if site.data.tags.allowed-tags contains tag %}
<a href="{{ "/tag-" | prepend: site.baseurl | append: {{tag}}/index.html ">{{tag}}</a>{% unless forloop.last %}, {% endunless%}
{% endif %}
{% endfor %}</p>
{% endif %}
{% if site.show_audience_label == true and page.audience != null %}
<p>
<span class="metadataRow">Audience: </span>
{% for audience in page.audience %}
{{audience}} {% unless forloop.last %}, {% endunless%}
{% endfor %}
</p>
{% endif %}
{% if page.last_updated != null %}
<p><span class="metadataRow">Last updated: </span>{{page.last_updated}}</p>
{% endif %}
</div> <!-- end pageMetadata -->
{% endunless %}
<div class="post-content">
{% include toc.html %}
{% if page.summary %}
<div class="summary">{{page.summary}}</div>
{% endif %}
{{ content }}
{% if site.disqus %}
{% include disqus.html %}
{% endif %}
</div>