added all files from previous iterations
[theme-danix.xyz.git] / layouts / partials / home-latest-posts.html
diff --git a/layouts/partials/home-latest-posts.html b/layouts/partials/home-latest-posts.html
new file mode 100644 (file)
index 0000000..e3c1375
--- /dev/null
@@ -0,0 +1,11 @@
+<div id="latest-posts">
+       <h3>latest posts</h3>
+       {{ range where $.Site.RegularPages.ByLastmod.Reverse "Section" "blog" }}
+       <article class="post post-summary">
+               <header class="article-meta">
+                       <h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
+                       {{ partial "funcs/datepublish.html" . }}
+               </header>
+       </article>
+       {{ end }}
+</div>