Merge branch 'sfd2022' into 'master'

sfd2022

See merge request ansol/web-ansol.org!75
This commit is contained in:
Hugo Peixoto 2022-09-06 20:14:38 +00:00
commit 57d8acfdc5
6 changed files with 42 additions and 16 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

View File

@ -0,0 +1,28 @@
---
layout: evento
title: Software Freedom Day 2022
metadata:
event:
location: Espaço Musas, Rua do Bonjardim, Porto
date:
start: 2022-09-17 14:30:00
finish: 2022-09-17 18:00:00
aliases:
- /sfd2022
---
O [Dia do Software Livre (Software Freedom Day)](https://www.softwarefreedomday.org) vai acontecer o dia 17 de Setembro de 2022. A ANSOL vai celebrar a data com uma sessão de apresentações curtas, com intervalos generosos, onde será privilegiada a vertente social nos "corredores" do evento.
O dia terminará com um jantar convívio num restaurante próximo do local.
Inscrições para o jantar: contacto@ansol.org
![](_agenda.png)
Agenda:
- 14h30 - Abertura (ANSOL)
- 15h00 - Governança Open Source no Ember.js (Ricardo Mendes)
- 16h00 - Software Livre: pagar para quê? (Rui Teixeira)
- 17h00 - O Open Source ganhou. O Software Livre perdeu. E agora? (Ricardo Lafuente)
- 18h00 - Encerramento (ANSOL)
- 19h30 - Jantar de convívio

View File

@ -79,15 +79,7 @@
{{ range $post := $query }}
<li>
<a class="img" href="{{ .Permalink }}">
{{ $cover := (index (.Resources.ByType "image") 0) }}
{{ if not $cover }}
{{ $cover = resources.Get "images/default-events-cover.png" }}
{{ end }}
{{ with $cover }}
<img class='event-cover' src="{{ .Permalink }}" />
{{ end }}
</a>
{{ partial "thumbnail" . }}
<div class="text">
<p class="headline">
<a class="title" href="{{ .Permalink }}">{{ .Title }}</a>

View File

@ -1,10 +1,4 @@
<a class="img" href="{{ .Permalink }}">
{{ $cover := (index (.Resources.ByType "image") 0) }}
{{ if not $cover }}
{{ $cover = resources.Get "images/default-events-cover.png" }}
{{ end }}
<img class='event-cover' src="{{ $cover.Permalink }}" />
</a>
{{ partial "thumbnail" . }}
<div class="text">
<p class="headline">
<a class="title" href="{{ .Permalink }}">{{ .Title }}</a>

View File

@ -0,0 +1,12 @@
<a class="img" href="{{ .Permalink }}">
{{ $cover := (.Resources.GetMatch "cover.*") }}
{{ if not $cover }}
{{ $cover := (index (.Resources.ByType "image") 0) }}
{{ if not $cover }}
{{ $cover = resources.Get "images/default-events-cover.png" }}
{{ end }}
{{ end }}
{{ with $cover }}
<img class='event-cover' src="{{ .Permalink }}" />
{{ end }}
</a>