1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-30 15:22:09 +00:00

Add anchor links to posts list

This commit is contained in:
Rohan Kumar 2022-03-27 11:14:33 -07:00
parent 07a1b0fb06
commit eb25804244
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479

View file

@ -1,8 +1,8 @@
<section class="h-feed hfeed" itemscope itemtype="https://schema.org/DataFeed"> <section class="h-feed hfeed" itemscope itemtype="https://schema.org/DataFeed">
{{ if eq .RelPermalink "/posts.html" -}} {{ if eq .RelPermalink "/posts.html" -}}
<h2 class="p-name" itemprop="name headline">Posts</h1> <h2 class="p-name" itemprop="name headline" id="posts">Posts</h1>
{{ else -}} {{ else -}}
<h2 class="p-name" itemprop="name">Posts</h2> <h2 class="p-name" itemprop="name" id="posts">Posts</h2>
{{ end -}} {{ end -}}
<p><em>Timestamp format: <code>YYYY-MM-DD</code>, as per <cite><a href="https://www.ietf.org/rfc/rfc3339.txt">RFC 3339</a></cite> and <cite><a href="https://xkcd.com/1179/">ISO 8601</a></cite></em></p> <p><em>Timestamp format: <code>YYYY-MM-DD</code>, as per <cite><a href="https://www.ietf.org/rfc/rfc3339.txt">RFC 3339</a></cite> and <cite><a href="https://xkcd.com/1179/">ISO 8601</a></cite></em></p>
<ul class="unstyled-list"> <ul class="unstyled-list">