7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-25 15:43:17 +00:00

Merge branch 'fix/small-fixups' into 'master'

Clean up some details and add ICS

See merge request tcarrondo/hugo-ansol.org!8
This commit is contained in:
Hugo Peixoto 2021-11-01 18:45:21 +00:00
commit 37b40cddf7
6 changed files with 28 additions and 18 deletions

View File

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

View File

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

View File

@ -341,9 +341,8 @@ article.article h1 {
bottom: 0; bottom: 0;
left: 0; left: 0;
right: 0; right: 0;
overflow: scroll; overflow: scroll-y;
background-color: white; background-color: white;
padding: 20px;
} }
.search-results h1 { .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-title { display: flex; align-items: center; justify-content: space-between; }
.search-results .search-close { font-size: 1.5rem; } .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"> <aside class="search-results" id="search">
<div class="container"> <div class="container body-width">
<section class="search-header"> <section class="search-header">
<div class="search-title"> <div class="search-title">
@ -9,12 +9,14 @@
<div id="search-box"> <div id="search-box">
<input <input
name="q" id="search-query" name="q"
id="search-query"
placeholder="{{i18n "search_placeholder"}}" placeholder="{{i18n "search_placeholder"}}"
autocapitalize="off" autocapitalize="off"
autocomplete="off" autocomplete="off"
autocorrect="off" autocorrect="off"
spellcheck="false" type="search" spellcheck="false"
type="search"
> >
</div> </div>