~subsetpark/subsetpark

ref: 9141d698737535261fdfd1f0991b9afcdfbc3775 subsetpark/temple/notes.temple -rw-r--r-- 591 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
18
19
20
21
{$ (import /temple/base-top) $}
{$ (import /temple/base-bottom) $}
{$ (import /temple/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) %}