]> git.dujemihanovic.xyz Git - dujemihanovic.xyz.git/blobdiff - layouts/index.html
Add projects section
[dujemihanovic.xyz.git] / layouts / index.html
index 98ec5e6df9181db984ea80750f36184c278482ea..9cfa2d076e74a575d2375cca93fc9b8cedf1e018 100644 (file)
@@ -7,5 +7,11 @@
        {{ end }}
 </ul>
 <ul style="list-style: none;"><li><a href="/posts">Read all the posts</a></li></ul>
-
+<h2>Recently Updated Projects</h2>
+<ul>
+       {{ range first 3 ($.Site.GetPage "/projects").Pages }}
+       <li><a href="{{ .RelPermalink }}">{{ .Title }}</a>
+       {{ end }}
+</ul>
+<ul style="list-style: none;"><li><a href="/projects">See all the projects</a></li></ul>
 {{ end }}