Riji

 view release on metacpan or  search on metacpan

share/tmpl/default.tx  view on Meta::CPAN

: cascade base

: around title -> {
<: $article.title :> | <: $blog.title :>
: }

: around content -> {
<article>
<: $article.html_body() | mark_raw :>
</article>
: }

share/tmpl/entry.tx  view on Meta::CPAN

: cascade base

: around title -> {
<: $entry.title :> | <: $blog.title :>
: }

: around content -> {
<nav>
  <ul class="paginate">
  : if $entry.prev() {
    <li class="prev">prev: <a href="<: $entry.prev.site_path | uri_for :>"><: $entry.prev.title :></a>

share/tmpl/index.tx  view on Meta::CPAN

: 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>

share/tmpl/tag.tx  view on Meta::CPAN

: cascade base

: around title -> {
<: $tag.name :> | <: $blog.title :>
: }

: around content -> {
<h1>Tag: <: $tag.name :></h1>
<ul class="archives">
: for $tag.entries() -> $entry {
<li><time><: $entry.published_at.strftime('%Y-%m-%d') :></time><a href="<: $entry.site_path() | uri_for :>"><: $entry.title :></a></li>



( run in 0.603 second using v1.01-cache-2.11-cpan-49f99fa48dc )