diff options
Diffstat (limited to 'site/layouts/partials/post.html')
| -rw-r--r-- | site/layouts/partials/post.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/site/layouts/partials/post.html b/site/layouts/partials/post.html new file mode 100644 index 0000000..c8f5ff1 --- /dev/null +++ b/site/layouts/partials/post.html @@ -0,0 +1,22 @@ +<div class="bg-off-white"> + <div class="ph3 mw7 center mb4"> + + <h2 class="f2 b lh-title mb2">post section</h1> + + + <div class="flex-l mhn1-l flex-wrap mb3"> + + {{ range where .Data.Pages "Type" "post" }} + <div class="ph1-l w-50-l flex"> + {{ .Render "li" }} + </div> + {{ end }} + + </div> + + <div class="tc"> + <a href="/post" class="btn mb3 raise">Read more</a> + </div> + + </div> +</div> |
