~subsetpark/subsetpark

ref: 9141d698737535261fdfd1f0991b9afcdfbc3775 subsetpark/temple/post.temple -rw-r--r-- 604 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
22
23
{$ (import /temple/base-top) $}
{$ (import /temple/base-bottom) $}
{$ (import /temple/recent-posts) $}

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

<div class="container">
  <div class="row">
    <div class="col-md-7">
      <h1>{{ (get-in args [:_item :title]) }}</h1>
      <p class="post-info">
        {{ (get-in args [:_item :date]) }}
      </p>
      {- (-> (get-in args [:_item :body]) (bagatto/markdown->html :exts [:table])) -}
    </div>
    <div class="col-md-3">
      <h3>Recent Posts</h3>
      {% (recent-posts/render-dict args) %}
    </div>
  </div>
</div>

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