Add calendar link

This commit is contained in:
JP Hastings-Spital 2023-12-26 09:41:38 +00:00
parent eae40012bf
commit 7bd7ac68ae
3 changed files with 18 additions and 8 deletions

View file

@ -98,31 +98,36 @@ date = ["date", "publishDate", "lastmod", ":git"]
name = "🤩 Curiosities" name = "🤩 Curiosities"
url = "/curiosities" url = "/curiosities"
weight = 2 weight = 2
[[languages.en.menu.main]]
identifier = "calendar"
name = "🗓️ Calendar"
url = "/calendar"
weight = 3
[[languages.en.menu.main]] [[languages.en.menu.main]]
identifier = "memex" identifier = "memex"
name = "🧠 Memex" name = "🧠 Memex"
url = "/memex" url = "/memex"
weight = 3 weight = 4
[[languages.en.menu.main]] [[languages.en.menu.main]]
identifier = "photos" identifier = "photos"
name = "📸 Photos" name = "📸 Photos"
url = "/photos" url = "/photos"
weight = 4 weight = 5
[[languages.en.menu.main]] [[languages.en.menu.main]]
identifier = "reading-lists" identifier = "reading-lists"
name = "🔖 Reading lists" name = "🔖 Reading lists"
url = "/reading-lists" url = "/reading-lists"
weight = 5 weight = 6
[[languages.en.menu.main]] [[languages.en.menu.main]]
identifier = "posts" identifier = "posts"
name = "📔 Posts" name = "📔 Posts"
url = "/posts" url = "/posts"
weight = 6 weight = 7
[[languages.en.menu.main]] [[languages.en.menu.main]]
identifier = "now" identifier = "now"
name = "👇 Now" name = "👇 Now"
url = "/now" url = "/now"
weight = 7 weight = 8
[sitemap] [sitemap]
filename = 'sitemap.xml' filename = 'sitemap.xml'

View file

@ -4,7 +4,12 @@
<span class="p-note">Hello! I'm <em class="p-name fn always-accented"><span class="p-nickname">JP</span> <span class="p-family-name">Hastings-Spital</span></em>, a <span class="p-category category">maker</span>, <span class="p-category category">software engineer</span>, <span class="p-category category">swing dancer</span>, and all-round <span class="p-category category">miriscient chap</span> living in <span class="adr p-adr h-adr"><span class="p-locality locality">London</span>, <span class="p-country-name country-name">UK</span></span>. <span class="h-card no-emoji">I'm <span clas="p-job-title">principal engineer</a> at <a href="https://deliveroo.engineering/" target="_blank" class="p-org u-url" rel="noopener">Deliveroo</a></span>.</span> <span class="p-note">Hello! I'm <em class="p-name fn always-accented"><span class="p-nickname">JP</span> <span class="p-family-name">Hastings-Spital</span></em>, a <span class="p-category category">maker</span>, <span class="p-category category">software engineer</span>, <span class="p-category category">swing dancer</span>, and all-round <span class="p-category category">miriscient chap</span> living in <span class="adr p-adr h-adr"><span class="p-locality locality">London</span>, <span class="p-country-name country-name">UK</span></span>. <span class="h-card no-emoji">I'm <span clas="p-job-title">principal engineer</a> at <a href="https://deliveroo.engineering/" target="_blank" class="p-org u-url" rel="noopener">Deliveroo</a></span>.</span>
</div> </div>
<p>I write infrequently about things I've created or care about in <a href="/posts">posts</a>, I keep notes on interesting things in my <a href="/memex">memex</a>, and sometimes post <a href="/photos">photos</a> too. Find out <a href="/now">what I'm up to now</a>, or read a recent article like <p>
I <a href="/posts">post</a> about things I've created or care about,
share <a href="/photos">photos</a> of what I'm up to,
keep a <a href="/memex">memex</a> of interesting things I discover,
and link to <a href="/calendar">events</a> I may go to.
Read about my life <a href="/now">now</a>, or a recent article like
{{ $posts := where .Site.RegularPages "Section" "posts" }} {{ $posts := where .Site.RegularPages "Section" "posts" }}
{{ range $posts | first 2 }} {{ range $posts | first 2 }}
<a href="{{.Permalink}}">{{ .Title }}</a>, <a href="{{.Permalink}}">{{ .Title }}</a>,

View file

@ -1,5 +1,5 @@
{{- if eq . "calendar"}}Calendar {{- if eq . "calendar"}}iCal
{{- else if eq . "rss"}}RSS Feed {{- else if eq . "rss"}}RSS
{{- else if eq . "opml" }}OPML Feed {{- else if eq . "opml" }}OPML Feed
{{- else }}Alternate {{- else }}Alternate
{{- end -}} {{- end -}}