all repos — website @ 65e593aecea065ad2c069c9ffba103812767796d

personal website hosted at prithu.xyz, built using hugo

use .RelPermalink instead of .URL
Prithu Goswami prithugoswami524@gmail.com
Fri, 01 May 2020 17:46:24 +0530
commit

65e593aecea065ad2c069c9ffba103812767796d

parent

73b2fffab292b14c7235cbe91dac69f096156826

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

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

@@ -25,7 +25,7 @@ <h1>Latest Posts</h1>

<div class="posts"> {{ range .Pages }} <div class="post-item"> - <a href="{{ .URL }}">{{ .Title }}</a> + <a href="{{ .RelPermalink }}">{{ .Title }}</a> <p class="post-date">{{ .Date.Format "2 Jan 2006" }}</p> </div> {{ end }}