~subsetpark/subsetpark

ref: 0e6ed1bea3cc06146ff7b3529bc0c9d8e95510db subsetpark/temple/notes.temple -rw-r--r-- 574 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
18
19
20
21
22
{$ (import ./base-top) $}
{$ (import ./base-bottom) $}
{$ (import ./jumbotron) $}

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

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

{% (loop [note :in (args :notes)]
    (def div ```
             <div class="oneline">
               <b><a href="%s.html">%s</a></b>
               %s
             </div>
             ```)
    (print (bagatto/format div
                           (bagatto/slugify (note "topic"))
                           (note "title")
                           (string (note :contents))))) %}

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