sblog 0.4.0

A tiny static blog generator written in Rust. Write posts in Markdown with YAML frontmatter and render them into plain HTML and CSS.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}{{ site.title }}{% endblock title %}</title>
<meta name="description" content="{% block description %}{{ site.tagline }}{% endblock description %}">
{% block social_meta %}{% endblock social_meta %}
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{ feed_href }}">
<link rel="stylesheet" href="{{ css_href }}">
</head>
<body>
<header class="site-header">
  <div class="wrap">
    <div class="brand">
      <h1 class="site-title"><a href="{{ home_href }}">{{ site.header_title }}</a></h1>
      <p class="site-tagline">{{ site.header_tagline }}</p>
    </div>
    <nav class="header-nav">
      <a href="{{ home_href }}" class="{{ 'active' if active_nav == 'latest' else '' }}">Home</a>
      <a href="{{ archive_href }}" class="{{ 'active' if active_nav == 'archive' else '' }}">Archive</a>
      <a href="{{ about_href }}" class="{{ 'active' if active_nav == 'about' else '' }}">About</a>
      <a href="{{ feed_href }}" class="rss-link" title="RSS feed" aria-label="RSS feed">
        <svg class="rss-icon" viewBox="0 0 24 24" width="18" height="18" fill="currentColor" aria-hidden="true">
          <path d="M6.18 17.82a2.18 2.18 0 1 1 0 4.36 2.18 2.18 0 0 1 0-4.36zM4 4.44v2.83c7.03 0 12.73 5.7 12.73 12.73h2.83C19.56 11.09 12.91 4.44 4 4.44zm0 5.66v2.83c3.9 0 7.07 3.17 7.07 7.07h2.83c0-5.47-4.43-9.9-9.9-9.9z"/>
        </svg>
      </a>
    </nav>
  </div>
</header>
<main class="wrap">
{% block content %}{% endblock content %}
</main>
<footer class="site-footer">
  <div class="wrap">
    <span class="footer-brand">{{ site.header_title }}</span>
    <div class="footer-links">
      <a href="{{ home_href }}">Home</a>
      <a href="{{ archive_href }}">Archive</a>
      <a href="{{ about_href }}">About</a>
    </div>
    <span class="footer-copy">© {{ year }} {{ site.title }}. Built with <a href="https://github.com/santanusinha/sblog">sblog</a>.</span>
  </div>
</footer>
</body>
</html>