aboutsummaryrefslogtreecommitdiffstats
path: root/site/layouts/partials/blog.html
diff options
context:
space:
mode:
authorDarin Dimitroff <d@thecrazyones.agency>2017-01-02 16:09:21 +0200
committerDarin Dimitroff <d@thecrazyones.agency>2017-01-02 16:09:21 +0200
commit20d33818a838a7c022456d5620d255283531ba97 (patch)
tree7ea19ac7b847c10f2783a5b50f956f1e3ed5cbd6 /site/layouts/partials/blog.html
parent4ad2ee71fbecb4dcef47319e3cbbe18b57cd1c61 (diff)
WIP
Diffstat (limited to 'site/layouts/partials/blog.html')
-rw-r--r--site/layouts/partials/blog.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/site/layouts/partials/blog.html b/site/layouts/partials/blog.html
new file mode 100644
index 0000000..dd34f7d
--- /dev/null
+++ b/site/layouts/partials/blog.html
@@ -0,0 +1,22 @@
+<div class="bg-off-white pv4">
+ <div class="ph3 mw7 center">
+
+ <h2 class="f2 b lh-title mb3">Latests stories</h1>
+
+
+ <div class="w-100 flex-ns mhn1-ns flex-wrap mb3">
+
+ {{ range where .Data.Pages "Type" "post" }}
+ <div class="ph1-ns w-50-ns flex">
+ {{ .Render "li" }}
+ </div>
+ {{ end }}
+
+ </div>
+
+ <div class="tc">
+ <a href="/post" class="btn raise">Read more</a>
+ </div>
+
+ </div>
+</div>