7
1
mirror of https://gitlab.com/ansol/web-ansol.org.git synced 2024-11-22 06:11:30 +00:00

Merge branch 'evento/fosdem-e-lucas' into 'master'

Evento/fosdem e lucas

See merge request ansol/web-ansol.org!37
This commit is contained in:
Hugo Peixoto 2022-01-06 14:28:27 +00:00
commit d1dc3786f8
8 changed files with 99 additions and 38 deletions

View File

@ -1,5 +1,4 @@
---
categories: []
metadata:
event:
location: Porto, Portugal

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

View File

@ -0,0 +1,31 @@
---
layout: evento
title: Introduction to Software Law & FLOSS Licences
metadata:
event:
location: Online
site:
url: https://www.projekte.hu-berlin.de/de/gnuHU/projekte/floss-werkstatt/veranstaltungen/wise-21-22/introduction-to-software-law-and-floss-licences-10-01-22
date:
start: 2022-01-10 17:00:00.000000000 +00:00
finish: 2022-01-10 18:00:00.000000000 +00:00
---
What are FLOSS licences and what does "Copyleft" mean? What is the difference
between Free Software and Open Source Software? Guest Lecture by Dr. Lucas
Lasota
In his guest lecture on Monday, 10.01.22, starting at 6 pm, Dr. Lucas Lasota
will give us a short introduction to the law of free software licences. Are you
wondering what "copyleft" actually means and how free software or FLOSS and
open source software differ from each other legally? Or do you simply want to
learn more about free software in general? In any case, we look forward to your
participation in the lecture and our subsequent discussion. The talk and
discussion will be held in English, online via BigBlueButton. Prior knowledge
is not required.
Dr. Lucas Lasota is Legal Project Manager at the Free Software Foundation
Europe and an international counsel with a background in contract and
technology law. In addition to his commitment to free software and digital
autonomy, he is also a research assistant at the chair of Prof. Dr. Herbert
Zech at the law faculty of HU Berlin.

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

@ -0,0 +1,17 @@
---
layout: evento
title: FOSDEM
metadata:
event:
location: Online
site:
url: https://fosdem.org/2022/
date:
start: 2022-02-05
finish: 2022-02-06
---
FOSDEM is a free event for software developers to meet, share ideas and
collaborate.
Every year, thousands of developers of free and open source software from all
over the world gather at the event in Brussels.

View File

@ -1,45 +1,24 @@
{{- define "main" -}}
<h1 class='events-list-title body-width'>Eventos</h1>
<h1 class='events-list-title body-width'>Próximos eventos</h2>
{{ $query := where site.RegularPages "Type" "eventos" }}
{{ $query = where $query "Params.metadata.event.date.finish" ">=" (now.Format "2006-01-02") }}
{{ $query = sort $query "Params.metadata.event.date.start" }}
<ul class="events-list body-width">
{{ $paginator := .Paginate (.Data.Pages.ByParam "metadata.event.date.start").Reverse }}
{{ range $query }}
<li>{{ partial "evento" . }}</li>
{{ end }}
</ul>
<h1 class='events-list-title body-width'>Eventos antigos</h2>
<ul class="events-list body-width">
{{ $query := where site.RegularPages "Type" "eventos" }}
{{ $query = where $query "Params.metadata.event.date.finish" "<" (now.Format "2006-01-02") }}
{{ $query = sort $query "Params.metadata.event.date.start" "desc" }}
{{ $paginator := .Paginate $query }}
{{ range $paginator.Pages }}
<li>
<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>
<div class="text">
<p class="headline">
<a class="title" href="{{ .Permalink }}">{{ .Title }}</a>
</p>
<p class="subheader">
<span class="date">
{{ with .Params.metadata.event.date }}
{{ if eq (time.Format "2 January 2006" .start) (time.Format "2 January 2006" .finish) }}
{{ if eq (time.Format "15:04" .start) (time.Format "15:04" .finish) }}
{{ time.Format "2 de January de 2006" .start }}
{{ else }}
{{ time.Format "2 de January de 2006" .start }} das
{{ time.Format "15:04" .start }} às
{{ time.Format "15:04" .finish }}
{{ end }}
{{ else if eq (time.Format "January 2006" .start) (time.Format "January 2006" .finish) }}
De {{ time.Format "2" .start }} a {{ time.Format "2 de January de 2006" .finish }}
{{ else }}
De {{ time.Format "2 de January de 2006" .start }} a {{ time.Format "2 de January de 2006" .finish }}
{{ end }}
{{ end }}
</span>
&mdash;
<span class='location'>{{ .Params.metadata.event.location }}</span>
</p>
</div>
</li>
<li>{{ partial "evento" . }}</li>
{{ end }}
{{ partial "pagination" . }}

View File

@ -74,6 +74,7 @@
<ul class='events-list body-width'>
{{ $query := where site.RegularPages "Type" "eventos" }}
{{ $query = where $query "Params.metadata.event.date.finish" ">=" (now.Format "2006-01-02") }}
{{ $query = sort $query "Params.metadata.event.date.start" }}
{{ $query = first 3 $query }}
{{ range $post := $query }}

View File

@ -0,0 +1,34 @@
<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>
<div class="text">
<p class="headline">
<a class="title" href="{{ .Permalink }}">{{ .Title }}</a>
</p>
<p class="subheader">
<span class="date">
{{ with .Params.metadata.event.date }}
{{ if eq (time.Format "2 January 2006" .start) (time.Format "2 January 2006" .finish) }}
{{ if eq (time.Format "15:04" .start) (time.Format "15:04" .finish) }}
{{ time.Format "2 de January de 2006" .start }}
{{ else }}
{{ time.Format "2 de January de 2006" .start }} das
{{ time.Format "15:04" .start }} às
{{ time.Format "15:04" .finish }}
{{ end }}
{{ else if eq (time.Format "January 2006" .start) (time.Format "January 2006" .finish) }}
De {{ time.Format "2" .start }} a {{ time.Format "2 de January de 2006" .finish }}
{{ else }}
De {{ time.Format "2 de January de 2006" .start }} a {{ time.Format "2 de January de 2006" .finish }}
{{ end }}
{{ end }}
</span>
&mdash;
<span class='location'>{{ .Params.metadata.event.location }}</span>
</p>
</div>