~subsetpark/subsetpark

ref: 9141d698737535261fdfd1f0991b9afcdfbc3775 subsetpark/temple/posts.temple -rw-r--r-- 557 bytes
9141d698 — Zach Smith Update with newer absolute template imports 8 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{$ (import /temple/base-top) $}
{$ (import /temple/base-bottom) $}
{$ (import /temple/jumbotron) $}
{$ (import /temple/recent-posts) $}

{% (base-top/render-dict args) %}

{% (jumbotron/render-dict args) %}

{% (loop [post :in (public-posts args)]
    (print (bagatto/format `<h2><a href="%sposts/%s.html">%s</a></h2>`
                           (args :root)
                           (bagatto/slugify (post :title))
                           (post :title)))
    (print (bagatto/format "<p>%s</p>" (post :date)))) %}

{% (base-bottom/render-dict args) %}