git: 93b778f98d - main - Website: Fix warning related to Hugo's Lookup Order

Sergio Carlavilla Delgado <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
The branch main has been updated by carlavilla:

URL: https://cgit.FreeBSD.org/doc/commit/?id=93b778f98de582b03676adebd2002761d17c338c

commit 93b778f98de582b03676adebd2002761d17c338c
Author:     Sergio Carlavilla Delgado <[email protected]>
AuthorDate: 2023-04-10 12:42:24 +0000
Commit:     Sergio Carlavilla Delgado <[email protected]>
CommitDate: 2023-04-10 12:42:24 +0000

    Website: Fix warning related to Hugo's Lookup Order
    
    PR:             270738
    Reported by:    ceri@
---
 website/themes/beastie/layouts/_default/list.ics | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/website/themes/beastie/layouts/_default/list.ics b/website/themes/beastie/layouts/_default/list.ics
new file mode 100644
index 0000000000..abe43c5c00
--- /dev/null
+++ b/website/themes/beastie/layouts/_default/list.ics
@@ -0,0 +1,15 @@
+BEGIN:VCALENDAR
+VERSION:2.0
+PRODID:-//FreeBSD//events calendar//EN
+CALSCALE:GREGORIAN
+METHOD:PUBLISH{{ $data := index .Site.Data .Sites.First.Language.Lang }}{{ $eventsData := $data }}{{ with $eventsData }}{{ range (sort .events "year" "desc") }}{{ range (sort .events "startDate" "desc") }}
+BEGIN:VEVENT
+UID:{{ .id }}
+SUMMARY:{{ .name }}
+URL;VALUE=URI:{{ .url }}
+LOCATION:{{ .site }}, {{ .city }}, {{ .country }}
+DTSTART;VALUE=DATE:{{ dateFormat "20060102" .startDate }}
+DTEND;VALUE=DATE:{{ dateFormat "20060102" .endDate }}
+DESCRIPTION:{{ .description }}
+END:VEVENT{{ end }}{{ end }}{{ end }}
+END:VCALENDAR
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.