Clean up some details and add ICS

This commit is contained in:
Hugo Peixoto 2021-11-01 18:42:17 +00:00
parent eeed03d67a
commit 1be01a5c65
6 changed files with 28 additions and 18 deletions

View File

@ -47,7 +47,7 @@ ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "
[outputs]
home = [ "HTML", "RSS", "JSON", "WebAppManifest" ]
section = [ "HTML", "RSS" ]
section = [ "HTML", "RSS", "Calendar" ]
[mediaTypes."application/manifest+json"]
suffixes = ["webmanifest"]

View File

@ -1,26 +1,15 @@
---
categories: []
metadata:
mapa:
- {}
slide:
- slide_value: 0
node_id: 811
event:
location: Online
site:
title: ''
url: https://2021.foss4g.org/
date:
start: 2021-09-27 00:00:00.000000000 +01:00
finish: 2021-10-02 00:00:00.000000000 +01:00
map: {}
layout: evento
title: FOSS4G 2021
created: 1629568458
date: 2021-08-21
aliases:
- "/evento/811/"
- "/node/811/"
---

View File

@ -341,9 +341,8 @@ article.article h1 {
bottom: 0;
left: 0;
right: 0;
overflow: scroll;
overflow: scroll-y;
background-color: white;
padding: 20px;
}
.search-results h1 {
@ -367,3 +366,4 @@ article.article h1 {
.search-results .search-title { display: flex; align-items: center; justify-content: space-between; }
.search-results .search-close { font-size: 1.5rem; }
.search-results #search-query { width: calc(100% - 4px); font-size: 1.5rem; line-height: 1.5em; }

View File

@ -0,0 +1,20 @@
BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//ansol-org//eventos//PT
CALSCALE:GREGORIAN
METHOD:PUBLISH
{{range .Pages -}}
BEGIN:VEVENT
ORGANIZER;CN="Brian Hicks":mailto:brian@brianthicks.com
SUMMARY:{{.Title}}
UID:{{.Permalink}}
SEQUENCE:0
STATUS:CONFIRMED
DTSTAMP:{{dateFormat "20060102T150405Z" .Date}}
DTSTART:{{dateFormat "20060102T150405" .Params.metadata.event.date.start}}
DTEND:{{dateFormat "20060102T150405" .Params.metadata.event.date.finish}}
LOCATION:{{ .Params.metadata.event.location }}
URL:{{.Permalink}}
END:VEVENT
{{end -}}
END:VCALENDAR

View File

@ -1,5 +1,5 @@
<aside class="search-results" id="search">
<div class="container">
<div class="container body-width">
<section class="search-header">
<div class="search-title">
@ -9,12 +9,14 @@
<div id="search-box">
<input
name="q" id="search-query"
name="q"
id="search-query"
placeholder="{{i18n "search_placeholder"}}"
autocapitalize="off"
autocomplete="off"
autocorrect="off"
spellcheck="false" type="search"
spellcheck="false"
type="search"
>
</div>