~subsetpark/subsetpark

ref: 0e6ed1bea3cc06146ff7b3529bc0c9d8e95510db subsetpark/temple/posts.temple -rw-r--r-- 533 bytes
0e6ed1be — Zach Smith Update projects 1 year, 11 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{$ (import ./base-top) $}
{$ (import ./base-bottom) $}
{$ (import ./jumbotron) $}
{$ (import ./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) %}