Update to site

This commit is contained in:
Paulus Schoutsen 2014-12-21 12:17:37 -08:00
parent 3345fa5897
commit b0bdfe2fe9
244 changed files with 11618 additions and 12 deletions

View file

@ -0,0 +1,20 @@
{% capture category %}{{ post.categories | size }}{% endcapture %}
<div class="grid">
<div class="grid__item one-fifth palm-one-whole">
<time datetime="{{ post.date | datetime | date_to_xmlschema }}" pubdate>
{{ post.date | date: "<span class='month'>%b</span> <span class='day'>%d</span>"}}
</time>
</div>
<div class="grid__item four-fifths palm-one-whole">
<h1 class="gamma"><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h1>
{% if category != '0' %}
<footer class="meta">
{% include blog/post/tags.html %}
</footer>
{% endif %}
<hr class="divider">
</div>
</div>

View file

@ -0,0 +1,32 @@
<header>
{% if index %}
<h1 class="beta">
<a href="{{ root_url }}{{ post.url }}">{{ post.title }}</a>
</h1>
{% else %}
<h1 class="title indent">{{ page.title }}</h1>
{% endif %}
{% unless post.meta == false %}
<div class="meta clearfix">
{% include blog/post/date.html %}{{ time }}
{% include blog/post/tags.html %}
{% if site.disqus_short_name and page.comments != false and post.comments != false and site.disqus_show_comment_count == true %}
<a class="pull-right" href="{% if index %}{{ site.url }}{{ root_url }}{{ post.url }}{% endif %}#disqus_thread">
Comments <i class="icon-comment"></i>
</a>
{% endif %}
</div>
{% endunless %}
</header>
{% capture excerpted %}{{ content | has_excerpt }}{% endcapture %}
{% if excerpted == 'true' and index %}
<div class="entry-content clearfix">
{{ content | excerpt }}
<a class="btn pull-right" href="{{ root_url }}{{ post.url }}">{{ site.excerpt_link }}</a>
</div>
{% else %}
{{ content }}
{% endif %}

View file

@ -0,0 +1,15 @@
{% capture date %}{{ page.date }}{{ post.date }}{% endcapture %}
{% capture date_formatted %}{{ page.date_formatted }}{{ post.date_formatted }}{% endcapture %}
{% capture has_date %}{{ date | size }}{% endcapture %}
{% capture updated %}{{ page.updated }}{{ post.updated }}{% endcapture %}
{% capture updated_formatted %}{{ page.updated_formatted }}{{ post.updated_formatted }}{% endcapture %}
{% capture was_updated %}{{ updated | size }}{% endcapture %}
{% if has_date != '0' %}
{% capture time %}<time class="pull-left" datetime="{{ date | datetime | date_to_xmlschema }}" pubdate{% if updated %} data-updated="true"{% endif %}><i class="icon-calendar"></i> {{ date_formatted }}</time>{% endcapture %}
{% endif %}
{% if was_updated != '0' %}
{% capture updated %}<time class="pull-left" datetime="{{ updated | datetime | date_to_xmlschema }}" class="updated">Updated {{ updated_formatted }}</time>{% endcapture %}
{% else %}{% assign updated = false %}{% endif %}

View file

@ -0,0 +1 @@
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>

View file

@ -0,0 +1,17 @@
{% capture category %}{% if post %}{{ post.categories | category_links | size }}{% else %}{{ page.categories | category_links | size }}{% endif %}{% endcapture %}
{% unless category == '0' %}
<div class="pull-left">
<i class="icon-tags"></i>
<ul class="tags unstyled">
{% if post %}
{% for item in post.categories %}
<li>{{ item | category_link }}</li>
{% endfor %}
{% else %}
{% for item in page.categories %}
<li>{{ item | category_link }}</li>
{% endfor %}
{% endif %}
</ul>
</div>
{% endunless %}