The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
: cascade base
: around content -> {
<nav>
  <ul>
    <li><a href="<: '/archives.html' | uri_for :>">Archives</a></li>
  </ul>
</nav>
:   for $blog.entries(limit => 10) -> $entry {
<article>
  <h1><a href="<: $entry.site_path | uri_for :>"><: $entry.title :></a></h1>
  <time pubdate><: $entry.published_at().strftime('%Y-%m-%d %H:%M') :></time>
  <: $entry.html_body_without_title() | mark_raw :>
</article>
:   }
:   if $blog.tags().size() {
<aside class="tags">
  <h1>Tags</h1>
  <ul class="tags">
  :     for $blog.tags() -> $tag {
  <li><a href="<: $tag.site_path | uri_for :>"><: $tag.name :>(<: $tag.count :>)</a></li>
  :      }
  </ul>
</aside>
:   }
: }