all repos — website @ c8db8d3a84dc391bb7d12062bddddc71b6902a27

personal website hosted at prithu.xyz, built using hugo

update blog list template
Prithu Goswami prithugoswami524@gmail.com
Fri, 01 May 2020 15:51:16 +0530
commit

c8db8d3a84dc391bb7d12062bddddc71b6902a27

parent

6c593d9bfcbd026ffdf8e4edeb5c869de3cc9d69

1 files changed, 4 insertions(+), 22 deletions(-)

jump to
M hugo-site/layouts/blog/list.htmlhugo-site/layouts/blog/list.html

@@ -23,30 +23,12 @@ <div class="bcontainer">

<div class="bcontent"> <h1>Latest Posts</h1> <div class="posts"> - <div class="post-item"> - <a href="./post.html">Designing this blog from scratch</a> - <p class="post-date">10 Jan 2020</p> - </div> - <div class="post-item"> - <a href="./post.html">Using figma for quick prototype design</a> - <p class="post-date">19 Dec 2019</p> - </div> - <div class="post-item"> - <a href="./post.html">Utilitarian design principles</a> - <p class="post-date">1 Dec 2019</p> - </div> - <div class="post-item"> - <a href="./post.html">Learning x86 Assembly</a> - <p class="post-date">7 Nov 2019</p> - </div> + {{ range .Pages }} <div class="post-item"> - <a href="./post.html">Learning from CTFs about IT security</a> - <p class="post-date">25 Oct 2019</p> + <a href="./post.html">{{ .Title }}</a> + <p class="post-date">{{ .Date.Format "2 Jan 2006" }}</p> </div> - <div class="post-item"> - <a href="./post.html">The web is cluttered</a> - <p class="post-date">1 Jul 2019</p> - </div> + {{ end }} </div> </div> </div>