1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-09-19 20:02:10 +00:00

Make headings follow sequential order

This commit is contained in:
Rohan Kumar 2022-03-20 16:27:11 -07:00
parent 6b402b6ec1
commit 98ee735dac
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{{ define "main" }}
<div class="h-feed hfeed" itemscope itemtype="https://schema.org/DataFeed">
<h1 id="bookmarks" class="p-name" itemprop="name headline">My book&shy;marks</h1>
<h2 id="bookmarks" class="p-name" itemprop="name headline">My book&shy;marks</h1>
{{ .Content }}
<p><em>Timestamp format: <code>YYYY-MM-DD HH:MM</code>, as per <cite><a href="https://www.ietf.org/rfc/rfc3339.txt">RFC 3339</a></cite></em></p>
<ul class="unstyled-list">

View file

@ -1,9 +1,9 @@
<section class="h-feed hfeed" itemscope itemtype="https://schema.org/DataFeed">
{{ if eq .RelPermalink "/posts.html" -}}
<h1 class="p-name" itemprop="name headline">Posts</h1>
<h2 class="p-name" itemprop="name headline">Posts</h1>
{{ else -}}
<h2 class="p-name" itemprop="name">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>
<ul class="unstyled-list">
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}