mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +01:00
All empty events list
This commit is contained in:
parent
941eb764d6
commit
40949b8b37
2 changed files with 4 additions and 2 deletions
|
@ -27,7 +27,10 @@ Get in touch if you'd like to go to these, or any other events⁺, together!
|
|||
=> {{ partial "noindex.gmi" (index $upcomingEvents 1).Page.RelPermalink }} {{ (index $upcomingEvents 1).Title }}
|
||||
|
||||
=> /calendar/ 🗓️ My events calendar
|
||||
{{ end }}
|
||||
{{- else }}
|
||||
Looks like I've not added any events to my blog recently — I'm sure I'd appreciate a recommendation from you!
|
||||
{{- end }}
|
||||
|
||||
{{ with (partial "latest-non-reply-note.obj") }}## A recent note
|
||||
📅 {{ .Page.Date.Format "January 2, 2006 — 15:04 (MST)" }}
|
||||
|
||||
|
|
|
@ -28,7 +28,6 @@
|
|||
<p class="post-content">{{ partial "svg.html" (dict "name" "document") }} Check out <a href="/posts">all my longer posts</a>, or read through my <a href="/bookmarks">thoughts on others' writing</a>.</p>
|
||||
|
||||
{{- $upcomingEvents := partial "upcoming-events.obj" }}
|
||||
{{ $upcomingEvents }}
|
||||
{{ if ge (len $upcomingEvents) 2 }}
|
||||
<hr class="mini" />
|
||||
<p class="post-content">
|
||||
|
|
Loading…
Reference in a new issue