all repos — website @ master

personal website hosted at prithu.xyz, built using hugo

layouts/posts/list.html

{{ partial "head.html" . }}
<body class=theme-auto>
  {{ partial "nav.html" }}
  <div class="bcontainer">
    <div class="bcontent" id=blist>
      <h1>{{.Title}}
        <span id=rss>
          <a href="https://prithu.dev/posts/index.xml">
          <svg id=rss-icon role="img" width=16 viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M19.199 24C19.199 13.467 10.533 4.8 0 4.8V0c13.165 0 24 10.835 24 24h-4.801zM3.291 17.415c1.814 0 3.293 1.479 3.293 3.295 0 1.813-1.485 3.29-3.301 3.29C1.47 24 0 22.526 0 20.71s1.475-3.294 3.291-3.295zM15.909 24h-4.665c0-6.169-5.075-11.245-11.244-11.245V8.09c8.727 0 15.909 7.184 15.909 15.91z"/></svg>
          (RSS)
          </a>
        </span>
      </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>
  {{ partial "footer.html" . }}
</body>
</html>