sblog 0.2.0

A tiny static blog generator written in Rust. Write posts in Markdown with YAML frontmatter and render them into plain HTML and CSS.
{% extends "base.html" %}

{% block title %}All posts — {{ site.title }}{% endblock title %}
{% block description %}Every article on this site.{% endblock description %}
{% block social_meta %}{{ social_meta | safe }}{% endblock social_meta %}

{% block content %}
  <div class="tag-head">
    <h1>All posts</h1>
    <p class="tag-count">{{ posts | length }} article{{ 's' if posts | length != 1 else '' }}</p>
  </div>
  <ul class="post-list">
    {% for post in posts %}
    <li>
      <p class="post-date">{{ post.date_long }}</p>
      <h2 class="post-title"><a href="{{ post.href }}">{{ post.title }}</a></h2>
    </li>
    {% endfor %}
  </ul>
{% endblock content %}