Permalink
Fetching contributors…
Cannot retrieve contributors at this time
37 lines (32 sloc) 1.1 KB
---
title: Welcome
layout: default
---
{% assign useComments = false %}
<div class="blog">
<div class="blogArticles">
{% for post in site.posts %}
<div class="blogPost{% if post.featured %} featured{% endif %}"><a href="{{ post.url }}">
<h1>{{ post.title }}</h1>
<p>{{ post.excerpt }}</p>
<p class="authorDate inline">{{ site.authors[post.author].name }} — {{ post.date | date_to_string }}</p>
</a>
{% if post.comments %}
<p class="commentsCount"><a href="{{ post.url }}/#comments" class="commentsLink" data-disqus-identifier="{{ post.url }}"></a></p>
{% assign useComments = true %}
{% endif %}
</div>
{% endfor %}
</div>
</div>
{% if useComments %}
<script type="text/javascript">
var disqus_shortname = 'apiaryblog';
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
{% endif %}