mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-22 13:53:14 +01:00
Add calendar link
This commit is contained in:
parent
eae40012bf
commit
7bd7ac68ae
3 changed files with 18 additions and 8 deletions
15
config.toml
15
config.toml
|
@ -98,31 +98,36 @@ date = ["date", "publishDate", "lastmod", ":git"]
|
|||
name = "🤩 Curiosities"
|
||||
url = "/curiosities"
|
||||
weight = 2
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "calendar"
|
||||
name = "🗓️ Calendar"
|
||||
url = "/calendar"
|
||||
weight = 3
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "memex"
|
||||
name = "🧠 Memex"
|
||||
url = "/memex"
|
||||
weight = 3
|
||||
weight = 4
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "photos"
|
||||
name = "📸 Photos"
|
||||
url = "/photos"
|
||||
weight = 4
|
||||
weight = 5
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "reading-lists"
|
||||
name = "🔖 Reading lists"
|
||||
url = "/reading-lists"
|
||||
weight = 5
|
||||
weight = 6
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "posts"
|
||||
name = "📔 Posts"
|
||||
url = "/posts"
|
||||
weight = 6
|
||||
weight = 7
|
||||
[[languages.en.menu.main]]
|
||||
identifier = "now"
|
||||
name = "👇 Now"
|
||||
url = "/now"
|
||||
weight = 7
|
||||
weight = 8
|
||||
|
||||
[sitemap]
|
||||
filename = 'sitemap.xml'
|
||||
|
|
|
@ -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>
|
||||
</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" }}
|
||||
{{ range $posts | first 2 }}
|
||||
<a href="{{.Permalink}}">{{ .Title }}</a>,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{- if eq . "calendar"}}Calendar
|
||||
{{- else if eq . "rss"}}RSS Feed
|
||||
{{- if eq . "calendar"}}iCal
|
||||
{{- else if eq . "rss"}}RSS
|
||||
{{- else if eq . "opml" }}OPML Feed
|
||||
{{- else }}Alternate
|
||||
{{- end -}}
|
||||
|
|
Loading…
Reference in a new issue