partial events

This commit is contained in:
Laurens 2024-04-03 11:51:52 +02:00
parent a7529cb3fc
commit 15a24dd74c
34 changed files with 1351 additions and 28 deletions

View file

@ -0,0 +1,5 @@
---
title: "Events"
meta_title: "Events"
description: "Events related to the fediverse and NixOS."
---

View file

@ -0,0 +1,14 @@
---
title: "State of the Internet 2024"
meta_title: ""
description: "The State of the Internet 2024 by Waag"
date: 2024-05-02T16:00:00Z
image: "/images/image-placeholder.png"
categories: ["Event", "Webinar"]
author: "Laurens Hof"
draft: false
---
Join us at the State of the Internet 2024, where Waag Futurelab, alongside the Municipality of Amsterdam and the OBA, delves into the depths of the online realm. Featuring Kim van Sparrentak, Member of the European Parliament, discussing Europe's efforts to regulate Big Tech and enhance digital rights. Explore the impact of pivotal European laws like the GDPR and AI Act while celebrating 30 years of Waag Futurelab's dedication to democratizing technology access for all.
Registration available [here](https://waag.org/nl/event/de-staat-van-het-internet-2024-met-kim-van-sparrentak/)

View file

@ -1,5 +1,5 @@
--- ---
title: "Blog Posts" title: "Blog Posts"
meta_title: "" meta_title: ""
description: "this is meta description" description: "News about Fediversity"
--- ---

27
layouts/events/list.html Normal file
View file

@ -0,0 +1,27 @@
{{ define "main" }} {{ partial "page-header" . }}
<section class="section">
<div class="container">
<div class="row gx-5">
<!-- blog posts -->
<div class="lg:col-8">
<div class="row">
{{ $paginator:= .Paginate .RegularPages }} {{ range $paginator.Pages
}}
<div class="md:col-6 mb-14">
{{ partial "components/blog-card" . }}
</div>
{{ end }}
</div>
{{ partial "components/pagination.html" . }}
</div>
<!-- sidebar -->
<div class="lg:col-4">
<!-- widget -->
{{ $widget:= site.Params.widgets.sidebar }} {{ partialCached
"widgets/widget-wrapper" ( dict "Widgets" $widget "Scope" . ) }}
</div>
</div>
</div>
</section>
{{ end }}

View file

@ -0,0 +1,86 @@
{{ define "main" }}
<section class="section pt-7">
<div class="container">
<div class="row justify-center">
<article class="lg:col-10">
{{ $image:= .Params.image }} {{ if $image }}
<div class="mb-10">
{{ partial "image" (dict "Src" $image "Alt" .Title "Class" "w-full rounded") }}
</div>
{{ end }}
<h1 class="h2 mb-4">{{ .Title }}</h1>
<ul class="mb-4">
<li class="mr-4 inline-block">
<a
href="{{ `authors/` | relLangURL }}{{ .Params.Author | urlize }}/"
>
<i class="fa-regular fa-circle-user mr-2"></i>{{ .Params.author }}
</a>
</li>
{{ $categories:= .Params.categories }} {{ if $categories }}
<li class="mr-4 inline-block">
<i class="fa-regular fa-folder mr-2"></i>
{{ range $i,$p:= $categories }}
<a
href="{{ `categories/` | relLangURL }}{{ . | urlize | lower }}/"
class=""
>{{ . | humanize }}{{ if ne $i (sub (len $categories) 1) }} {{ ","
}} {{ end }}
</a>
{{ end }}
</li>
{{ end }}
<li class="mr-4 inline-block">
<i class="fa-regular fa-clock mr-2"></i>
{{ time.Format ":date_long" .PublishDate }}
</li>
</ul>
<div class="content mb-10">{{ .Content }}</div>
<div class="row items-start justify-between">
{{ $tags:= .Params.tags }} {{ if $tags }}
<div class="lg:col-5 mb-10 flex items-center lg:mb-0">
<h5 class="mr-3">{{ i18n "tags" }} :</h5>
<ul>
{{ range $i,$p:= $tags }}
<li class="inline-block">
<a
class="bg-theme-light hover:bg-primary m-1 block rounded px-3 py-1 hover:text-white"
href="{{ `tags/` | relLangURL }}{{ . | urlize | lower }}/"
>
{{ . | humanize }}
</a>
</li>
{{ end }}
</ul>
</div>
{{ end }}
<div class="lg:col-4 flex items-center">
{{ partial "social-share" (dict "Context" . "Class" "share-icons"
"Title" (i18n "share") "Whatsapp" false "Telegram" false "Linkedin"
false "Pinterest" false "Tumblr" false "Vk" false) }}
</div>
</div>
<!-- comments -->
{{ if site.Config.Services.Disqus.Shortname }}
<div class="mt-20">{{ template "_internal/disqus.html" . }}</div>
{{ end }}
</article>
</div>
<!-- Related posts -->
{{ $related := (where site.RegularPages "Section" "in"
site.Params.mainSections) | intersect (where site.RegularPages ".Title" "!="
.Title) | union (site.RegularPages.Related . ) }} {{ $related = $related |
shuffle | first 3 }} {{ with $related }}
<div class="section pb-0">
<h2 class="h3 mb-12">{{ i18n "related_posts" }}</h2>
<div class="row">
{{ range . }}
<div class="lg:col-4">{{ partial "components/blog-card" . }}</div>
{{ end }}
</div>
</div>
{{ end }}
</div>
</section>
{{ end }}

View file

@ -598,7 +598,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -602,7 +602,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -600,7 +600,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -601,7 +601,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -602,7 +602,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -603,7 +603,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -598,7 +598,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -598,7 +598,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -602,7 +602,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -601,7 +601,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -603,7 +603,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -603,7 +603,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -601,7 +601,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

1166
public/events/index.html Normal file

File diff suppressed because it is too large Load diff

12
public/events/index.xml Normal file
View file

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Events on Fediversity</title>
<link>//localhost:1313/events/</link>
<description>Recent content in Events on Fediversity</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>
<lastBuildDate></lastBuildDate>
<atom:link href="//localhost:1313/events/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

View file

@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en-us">
<head>
<title>//localhost:1313/events/</title>
<link rel="canonical" href="//localhost:1313/events/">
<meta name="robots" content="noindex">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url=//localhost:1313/events/">
</head>
</html>

View file

@ -602,7 +602,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -602,7 +602,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -597,9 +597,9 @@
<li class="nav-item"> <li class="nav-item">
<a <a
class="nav-link active" class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -603,7 +603,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -603,7 +603,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -603,7 +603,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -603,7 +603,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -598,7 +598,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -601,7 +601,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -598,7 +598,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -3,7 +3,10 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml"> xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url> <url>
<loc>//localhost:1313/</loc> <loc>//localhost:1313/</loc>
<lastmod>2024-01-01T05:00:00+00:00</lastmod> <lastmod>2024-05-02T16:00:00+00:00</lastmod>
</url><url>
<loc>//localhost:1313/events/</loc>
<lastmod>2024-05-02T16:00:00+00:00</lastmod>
</url><url> </url><url>
<loc>//localhost:1313/categories/</loc> <loc>//localhost:1313/categories/</loc>
<lastmod>2024-01-01T05:00:00+00:00</lastmod> <lastmod>2024-01-01T05:00:00+00:00</lastmod>

View file

@ -598,7 +598,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>

View file

@ -603,7 +603,7 @@
<a <a
class="nav-link " class="nav-link "
href="/" href="/events/"
>Events</a >Events</a
> >
</li> </li>