From 1591b16245bd7e25b4114ea3578bd7a6c3147f00 Mon Sep 17 00:00:00 2001 From: shagi Date: Fri, 17 Sep 2021 09:16:31 +0200 Subject: [PATCH] =?UTF-8?q?Mostrar=20el=20men=C3=BA=20anual=20en=20la=20vi?= =?UTF-8?q?sta=20de=20nodo=20y=20el=20men=C3=BA=20de=20otros=20a=C3=B1os?= =?UTF-8?q?=20en=20la=20home=20anual?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- archetypes/hm/_index.md | 1 + archetypes/nodo.md | 2 +- content/2019/_index.md | 1 + content/2019/nodos/_index.md | 2 +- content/2019/nodos/audio-en-el-fediverso.md | 4 ++-- content/2019/nodos/negromate.md | 1 + layouts/nodos/single.html | 8 +++++++ layouts/yearhome/section.html | 25 +++++++++++++++++++++ static/css/base.css | 12 ++++++++++ 9 files changed, 52 insertions(+), 4 deletions(-) create mode 100644 layouts/yearhome/section.html diff --git a/archetypes/hm/_index.md b/archetypes/hm/_index.md index 632a285..987331d 100644 --- a/archetypes/hm/_index.md +++ b/archetypes/hm/_index.md @@ -1,6 +1,7 @@ --- title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} +type: "yearhome" draft: true --- diff --git a/archetypes/nodo.md b/archetypes/nodo.md index 302e551..aa5bf80 100644 --- a/archetypes/nodo.md +++ b/archetypes/nodo.md @@ -1,7 +1,7 @@ --- title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} -type: nodo +type: "nodos" quien: "organizadoras" madrina: "madrina" duracion: "1 hora" diff --git a/content/2019/_index.md b/content/2019/_index.md index 50d8880..3694a49 100644 --- a/content/2019/_index.md +++ b/content/2019/_index.md @@ -1,6 +1,7 @@ --- title: "2019" date: 2021-09-14T11:29:27+02:00 +type: "yearhome" draft: false --- diff --git a/content/2019/nodos/_index.md b/content/2019/nodos/_index.md index 059255b..8935454 100644 --- a/content/2019/nodos/_index.md +++ b/content/2019/nodos/_index.md @@ -2,7 +2,7 @@ title: "Nodos" date: 2021-09-14T10:56:09+02:00 type: nodos -draft: true +draft: false --- # Nodos diff --git a/content/2019/nodos/audio-en-el-fediverso.md b/content/2019/nodos/audio-en-el-fediverso.md index f9dabc8..6f10222 100644 --- a/content/2019/nodos/audio-en-el-fediverso.md +++ b/content/2019/nodos/audio-en-el-fediverso.md @@ -1,7 +1,7 @@ --- title: "Audio en El Fediverso: Introducción a Funkwhale" date: 2021-09-15T11:12:59+02:00 -type: nodo +type: "nodos" quien: "Siroco" madrina: "" duracion: "1 hora" @@ -21,6 +21,6 @@ funkwhale y mirar hasta que punto podemos usar su API para desarrollar un sistema de podcasting. El resultado de la investigación será presentado en este nodo. -##Archivos +## Archivos http://funkwhale.audio/ diff --git a/content/2019/nodos/negromate.md b/content/2019/nodos/negromate.md index 35ddf7e..d608fc4 100644 --- a/content/2019/nodos/negromate.md +++ b/content/2019/nodos/negromate.md @@ -15,4 +15,5 @@ Cantaremos entre todos varias canciones a las que les hemos cambiado la letra con temas relacionados con el hacktivismo y el software libre. ## Archivos + https://negromate.ddns.net o http://fyqxyftczmxv3nmb.onion/ diff --git a/layouts/nodos/single.html b/layouts/nodos/single.html index 5d7da73..3b72159 100644 --- a/layouts/nodos/single.html +++ b/layouts/nodos/single.html @@ -35,4 +35,12 @@
  • {{.Title}}
  • {{ end }} + +
    + + {{ end}} diff --git a/layouts/yearhome/section.html b/layouts/yearhome/section.html new file mode 100644 index 0000000..0e36a69 --- /dev/null +++ b/layouts/yearhome/section.html @@ -0,0 +1,25 @@ +{{ define "main" }} + {{ .TableOfContents }} + {{ .Content }} + + {{ range .Pages }} + {{ partial "nodo" . }} + {{ .Render "li" }} + {{ end }} +{{ end }} + +{{ define "sidebar_menu" }} + + +
    + + +{{ end}} diff --git a/static/css/base.css b/static/css/base.css index b8e848e..d28e60c 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -44,6 +44,18 @@ aside a { color: white; } +aside ul { + list-style-type: none; + padding: 0.5em; + background-color: #333; + border-radius: 0.5em; + margin: 0.5em; +} + +aside li { + padding-bottom: 0.5em; +} + main { flex: 1; }