all repos — website @ a76f5a193fc059b9129f5fdbd7b3250026f6c0f7

personal website hosted at prithu.xyz, built using hugo

hugo-site/layouts/posts/list.html

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
{{ partial "head.html" . }}
<body>
  {{ partial "nav.html" }}
  <div class="bcontainer">
    <div class="bcontent">
      <h1>Latest Posts</h1>
      <div class="posts">
        {{ range .Pages }}
        <div class="post-item">
          <a href="{{ .RelPermalink }}">{{ .Title }}</a>
          <p class="post-date">{{ .Date.Format "2 Jan 2006" }}</p>
        </div>
        {{ end }}
      </div>
    </div>
  </div>
</body>
</html>