From d75599d8d8a067d13708d2519f616f4778081dad Mon Sep 17 00:00:00 2001 From: Pablo Ferreiro Date: Wed, 21 Feb 2024 17:58:07 +0100 Subject: [PATCH 1/2] Hugo port --- .editorconfig | 12 ++++ .gitignore | 52 +-------------- README.md | 6 +- archetypes/default.md | 6 ++ archetypes/projects.md | 7 ++ style.css => assets/css/main.css | 1 + contacto.html | 69 -------------------- content/en/_index.md | 14 ++++ content/en/contact.md | 18 +++++ content/en/posts/_index.md | 4 ++ content/en/posts/hello-world.md | 8 +++ content/en/projects/_index.md | 12 ++++ content/en/projects/linux-party.md | 7 ++ content/es/_index.md | 15 +++++ content/es/contact.md | 20 ++++++ content/es/posts/_index.md | 4 ++ content/es/posts/hello-world.md | 8 +++ content/es/projects/_index.md | 12 ++++ content/es/projects/linux-party.md | 7 ++ hugo.toml | 76 ++++++++++++++++++++++ i18n/en.toml | 2 + i18n/es.toml | 1 + index.html | 58 ----------------- layouts/_default/baseof.html | 20 ++++++ layouts/_default/index.html | 3 + layouts/_default/list.html | 17 +++++ layouts/_default/single.html | 3 + layouts/partials/footer.html | 11 ++++ layouts/partials/head.html | 17 +++++ layouts/partials/header.html | 4 ++ layouts/partials/nav.html | 8 +++ layouts/partials/time.html | 3 + layouts/posts/list.html | 13 ++++ layouts/posts/single.html | 5 ++ proyectos.html | 70 -------------------- proyectos/linux-party.html | 44 ------------- {assets => static/assets}/linux-party.png | Bin {assets => static/assets}/logo.jpg | Bin favicon.ico => static/favicon.ico | Bin robots.txt => static/robots.txt | 0 40 files changed, 343 insertions(+), 294 deletions(-) create mode 100644 .editorconfig create mode 100644 archetypes/default.md create mode 100644 archetypes/projects.md rename style.css => assets/css/main.css (85%) delete mode 100644 contacto.html create mode 100644 content/en/_index.md create mode 100644 content/en/contact.md create mode 100644 content/en/posts/_index.md create mode 100644 content/en/posts/hello-world.md create mode 100644 content/en/projects/_index.md create mode 100644 content/en/projects/linux-party.md create mode 100644 content/es/_index.md create mode 100644 content/es/contact.md create mode 100644 content/es/posts/_index.md create mode 100644 content/es/posts/hello-world.md create mode 100644 content/es/projects/_index.md create mode 100644 content/es/projects/linux-party.md create mode 100644 hugo.toml create mode 100644 i18n/en.toml create mode 100644 i18n/es.toml delete mode 100644 index.html create mode 100644 layouts/_default/baseof.html create mode 100644 layouts/_default/index.html create mode 100644 layouts/_default/list.html create mode 100644 layouts/_default/single.html create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html create mode 100644 layouts/partials/nav.html create mode 100644 layouts/partials/time.html create mode 100644 layouts/posts/list.html create mode 100644 layouts/posts/single.html delete mode 100644 proyectos.html delete mode 100644 proyectos/linux-party.html rename {assets => static/assets}/linux-party.png (100%) rename {assets => static/assets}/logo.jpg (100%) rename favicon.ico => static/favicon.ico (100%) rename robots.txt => static/robots.txt (100%) diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..5d47c21 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,12 @@ +# EditorConfig is awesome: https://EditorConfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/.gitignore b/.gitignore index b24d71e..1f1befd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,50 +1,2 @@ -# These are some examples of commonly ignored file patterns. -# You should customize this list as applicable to your project. -# Learn more about .gitignore: -# https://www.atlassian.com/git/tutorials/saving-changes/gitignore - -# Node artifact files -node_modules/ -dist/ - -# Compiled Java class files -*.class - -# Compiled Python bytecode -*.py[cod] - -# Log files -*.log - -# Package files -*.jar - -# Maven -target/ -dist/ - -# JetBrains IDE -.idea/ - -# Unit test reports -TEST*.xml - -# Generated by MacOS -.DS_Store - -# Generated by Windows -Thumbs.db - -# Applications -*.app -*.exe -*.war - -# Large media files -*.mp4 -*.tiff -*.avi -*.flv -*.mov -*.wmv - +/public +/.hugo_build.lock diff --git a/README.md b/README.md index 29d2da5..e75aa29 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,8 @@ The philosophy with this website for now is to KISS(keep it stupid simple) using - [x] Add our logo on the website, favicon. - [ ] Add content describing our association and other pages as needed. -- [ ] Work on SEO (OpenGraph, Twitter meta tags...) +- [x] Work on SEO (OpenGraph, Twitter meta tags...) - [ ] Multilingual support(English + Spanish) -- [ ] Support for RSS (index.xml) -- [ ] Use a minimal CMS +- [x] Support for RSS (index.xml) +- [x] Use a minimal CMS - [x] Basic robots.txt diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..a4347e0 --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +description = '' +date = {{ .Date }} +draft = true ++++ diff --git a/archetypes/projects.md b/archetypes/projects.md new file mode 100644 index 0000000..0531b93 --- /dev/null +++ b/archetypes/projects.md @@ -0,0 +1,7 @@ ++++ +title = '{{ replace .File.ContentBaseName "-" " " | title }}' +description = '' +image = '' +date = {{ .Date }} +draft = true ++++ diff --git a/style.css b/assets/css/main.css similarity index 85% rename from style.css rename to assets/css/main.css index e4e93c8..071cd45 100644 --- a/style.css +++ b/assets/css/main.css @@ -1,6 +1,7 @@ /* Override colors from CSS library */ :root { --accent: green; + --accent-hover: darkgreen; } /* Custom style for the logo */ diff --git a/contacto.html b/contacto.html deleted file mode 100644 index c5197ed..0000000 --- a/contacto.html +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - Contacto - Open Bokeron - - - - - - - -
- OpenBokeron logo -

Open Bokeron

-

"¡Abre tu mente, abre tu código!"

- -
- -
-

¡Habla con nosotros!

-

- Si te encuentras en la Escuela Técnica Superior de Ingeniería Informática y Teleco de la Universidad de Málaga - (UMA), ¡no dudes en buscarnos! Los miembros de Open Bokeron - son fáciles de encontrar por los pasillos, aulas y laboratorios. -

-

- ¿No has tenido suerte encontrándonos en persona? ¡No te preocupes! Siempre puedes ponerte en contacto con - nosotros a través de nuestro correo electrónico - openbokeron@geeklab.es. - ¡Estaremos encantados de responder a tus preguntas, recibir tus sugerencias o simplemente charlar sobre software libre! -

-
- -

Nuestras redes sociales

-

- ¡No te pierdas las últimas noticias, eventos y proyectos de Open Bokeron en Twitter! Síguenos en nuestra cuenta - oficial: - @OpenBokeron - Aquí compartimos actualizaciones en tiempo real, curiosidades y todo lo relacionado con el mundo del software libre. -

- - - - - - - - diff --git a/content/en/_index.md b/content/en/_index.md new file mode 100644 index 0000000..a847a71 --- /dev/null +++ b/content/en/_index.md @@ -0,0 +1,14 @@ +--- +title: Welcome +--- + +## About us +Have you ever been curious about Linux and don't know where to begin with? + +Do you want to know more about open source? + +Do you want to contribute to the cause? + +Welcome to OpenBokeron! 👋 + +We're a group of students from the ETSII (UMA) that promotes free software. diff --git a/content/en/contact.md b/content/en/contact.md new file mode 100644 index 0000000..668851c --- /dev/null +++ b/content/en/contact.md @@ -0,0 +1,18 @@ +--- +title: Contact +--- + +## Talk with us! +If you are at the ETSII of the University of Malaga (UMA), don't hesitate to look for us! OpenBokeron members +are easy to find in the hallways, classrooms and laboratories. + +No luck meeting us in person? Don't worry! You can always contact us through email +[openbokeron@geeklab.es](mailto:openbokeron@geeklab.es) + +We'd be happy to answer your questions, get suggestions, or just chat about free software! + +### Our social media +Don't miss the latest news, events and projects from Open Bokeron on Twitter! +Follow us on our account [@OpenBokeron](https://twitter.com/OpenBokeron) + +Here we share real-time updates, curiosities and everything related to the world of free software. diff --git a/content/en/posts/_index.md b/content/en/posts/_index.md new file mode 100644 index 0000000..43082cd --- /dev/null +++ b/content/en/posts/_index.md @@ -0,0 +1,4 @@ +--- +title: "Posts" +description: "Nuestro blog" +--- diff --git a/content/en/posts/hello-world.md b/content/en/posts/hello-world.md new file mode 100644 index 0000000..5b2aadb --- /dev/null +++ b/content/en/posts/hello-world.md @@ -0,0 +1,8 @@ +--- +title: Welcome +description: Our first post +date: 2024-02-21T12:14:19+01:00 +--- + +We will be adding new blog entries with information from both +the organization and news about open source. diff --git a/content/en/projects/_index.md b/content/en/projects/_index.md new file mode 100644 index 0000000..709da3c --- /dev/null +++ b/content/en/projects/_index.md @@ -0,0 +1,12 @@ +--- +title: Projects +description: Projects and events +--- + +## Projects and events +We try to carry out various activities, projects and events to promote the use of +free software at the University of Malaga. + +This page lists all of our projects, both current and past ones. + +### Events diff --git a/content/en/projects/linux-party.md b/content/en/projects/linux-party.md new file mode 100644 index 0000000..e5b3907 --- /dev/null +++ b/content/en/projects/linux-party.md @@ -0,0 +1,7 @@ +--- +title: Linux Party +description: An introduction to the world of free software with a Linux install +image: assets/linux-party.png +date: 2024-02-21T00:30:35+01:00 +place: Room 4.1.1 (Coworking room) +--- diff --git a/content/es/_index.md b/content/es/_index.md new file mode 100644 index 0000000..a0ed8db --- /dev/null +++ b/content/es/_index.md @@ -0,0 +1,15 @@ +--- +title: Bienvenido +--- + +## Sobre nosotros +¿Has tenido curiosidad sobre Linux y no sabes por dónde empezar? + +¿Quieres conocer más sobre el software libre? + +¿Quieres aportar a la causa? + +¡Bienvenido a Open Bokeron! 👋 + +Somos un grupo de estudiantes de la ETSI Informática de la UMA que nos dedicamos a +promocionar el software libre. diff --git a/content/es/contact.md b/content/es/contact.md new file mode 100644 index 0000000..8c2e2cf --- /dev/null +++ b/content/es/contact.md @@ -0,0 +1,20 @@ +--- +title: Contacto +--- + +## ¡Habla con nosotros! +Si te encuentras en la Escuela Técnica Superior de Ingeniería Informática y Teleco de la Universidad de Málaga +(UMA), ¡no dudes en buscarnos! Los miembros de Open Bokeron +son fáciles de encontrar por los pasillos, aulas y laboratorios. + + +¿No has tenido suerte encontrándonos en persona? ¡No te preocupes! Siempre puedes ponerte en contacto con +nosotros a través de nuestro correo electrónico [openbokeron@geeklab.es](mailto:openbokeron@geeklab.es) + +¡Estaremos encantados de responder a tus preguntas, recibir tus sugerencias o simplemente charlar sobre software libre! + +### Nuestras redes sociales +¡No te pierdas las últimas noticias, eventos y proyectos de Open Bokeron en Twitter! Síguenos en nuestra cuenta +oficial [@OpenBokeron](https://twitter.com/OpenBokeron) + +Aquí compartimos actualizaciones en tiempo real, curiosidades y todo lo relacionado con el mundo del software libre. diff --git a/content/es/posts/_index.md b/content/es/posts/_index.md new file mode 100644 index 0000000..22788ab --- /dev/null +++ b/content/es/posts/_index.md @@ -0,0 +1,4 @@ +--- +title: Publicaciones +description: Nuestro blog +--- diff --git a/content/es/posts/hello-world.md b/content/es/posts/hello-world.md new file mode 100644 index 0000000..361df02 --- /dev/null +++ b/content/es/posts/hello-world.md @@ -0,0 +1,8 @@ +--- +title: Hola mundo +description: Nuestra primera publicación +date: 2024-02-21T12:14:19+01:00 +--- + +En este blog iremos aportando información tanto de la organización +como de noticias de relevancia. diff --git a/content/es/projects/_index.md b/content/es/projects/_index.md new file mode 100644 index 0000000..3eb92cf --- /dev/null +++ b/content/es/projects/_index.md @@ -0,0 +1,12 @@ +--- +title: Proyectos +description: Proyectos y Eventos +--- + +## Proyectos y eventos +En Open Bokeron, intentamos llevar a cabo varias actividades, proyectos y eventos para promover el uso de +software libre en la Universidad de Málaga. + +Esta página enumera todos nuestros proyectos, tanto actuales como antiguos. + +### Próximos eventos diff --git a/content/es/projects/linux-party.md b/content/es/projects/linux-party.md new file mode 100644 index 0000000..11019c8 --- /dev/null +++ b/content/es/projects/linux-party.md @@ -0,0 +1,7 @@ +--- +title: Linux Party +description: Una introducción al mundo de software libre con la instalación de Linux. +image: assets/linux-party.png +date: 2024-02-21T00:30:35+01:00 +place: Aula 4.1.1 (Sala Coworking) +--- diff --git a/hugo.toml b/hugo.toml new file mode 100644 index 0000000..1460cd8 --- /dev/null +++ b/hugo.toml @@ -0,0 +1,76 @@ +baseURL = 'https://openbokeron.bitbucket.io/' +title = 'OpenBokeron' + +timeZone = 'Europe/Madrid' + +defaultContentLanguage = 'es' +defaultContentLanguageInSubdir = true + + +[languages] + [languages.en] + disabled = false + contentDir = 'content/en' + languageCode = 'en-us' + languageName = 'English' + [languages.en.menu] + [[languages.en.menu.main]] + identifier = "home" + name = "Home" + url = "/en" + weight = 10 + + [[languages.en.menu.main]] + identifier = "posts" + name = "Posts" + url = "/en/posts" + weight = 20 + + [[languages.en.menu.main]] + identifier = "projects" + name = "Projects" + url = "/en/projects" + weight = 30 + + [[languages.en.menu.main]] + identifier = "contact" + name = "Contact" + url = "/en/contact" + weight = 40 + [languages.en.params] + description = 'Open source association based in Málaga, Spain' + [languages.es] + disabled = false + contentDir = 'content/es' + languageCode = 'es-es' + languageName = 'Español' + [languages.es.menu] + [[languages.es.menu.main]] + identifier = "home" + name = "Inicio" + url = "/es" + weight = 10 + + [[languages.es.menu.main]] + identifier = "posts" + name = "Publicaciones" + url = "/es/posts" + weight = 20 + + [[languages.es.menu.main]] + identifier = "projects" + name = "Proyectos" + url = "/es/projects" + weight = 30 + + [[languages.es.menu.main]] + identifier = "contact" + name = "Contacto" + url = "/es/contact" + weight = 40 + [languages.es.params] + description = 'Asociación de Software Libre basada en Málaga, España' + +[params] + [params.social] + twitter = 'OpenBokeron' diff --git a/i18n/en.toml b/i18n/en.toml new file mode 100644 index 0000000..c01e683 --- /dev/null +++ b/i18n/en.toml @@ -0,0 +1,2 @@ +# Header +motto = "Free your source, free your mind" diff --git a/i18n/es.toml b/i18n/es.toml new file mode 100644 index 0000000..734a31a --- /dev/null +++ b/i18n/es.toml @@ -0,0 +1 @@ +motto = "Libera tu código, libera tu mente" diff --git a/index.html b/index.html deleted file mode 100644 index 65fd5b6..0000000 --- a/index.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - - - Open Bokeron - - - - - - - -
- OpenBokeron logo -

Open Bokeron

-

"¡Abre tu mente, abre tu código!"

- -
- - -
-

Sobre nosotros

-

¿Has tenido curiosidad sobre Linux y no sabes por dónde empezar?

-

¿Quieres conocer más sobre el software libre?

-

¿Quieres aportar a la causa?

-

- ¡Bienvenido a Open Bokeron! - Somos un grupo de estudiantes de la ETSI Informática de la UMA que nos dedicamos a - promocionar el software libre. -

-
- - - - - - - diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html new file mode 100644 index 0000000..9bf1e11 --- /dev/null +++ b/layouts/_default/baseof.html @@ -0,0 +1,20 @@ + + + + + {{ partial "head.html" . -}} + + + +
+ {{ partial "header.html" . -}} +
+
+ {{- block "main" . }}{{- end -}} +
+ + + + diff --git a/layouts/_default/index.html b/layouts/_default/index.html new file mode 100644 index 0000000..e0e8308 --- /dev/null +++ b/layouts/_default/index.html @@ -0,0 +1,3 @@ +{{ define "main" }} + {{ .Content }} +{{ end }} diff --git a/layouts/_default/list.html b/layouts/_default/list.html new file mode 100644 index 0000000..69c63eb --- /dev/null +++ b/layouts/_default/list.html @@ -0,0 +1,17 @@ +{{ define "main" }} +{{ .Content }} +
+ {{ range .Pages }} +
+ Linux Party Image +
+
+

{{ .Title }}

+

{{ .Description }}

+

Fecha: {{ partial "time.html" . }}

+

Lugar: {{ .Params.place }}

+ Más info +
+
+{{ end }} +{{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html new file mode 100644 index 0000000..e0e8308 --- /dev/null +++ b/layouts/_default/single.html @@ -0,0 +1,3 @@ +{{ define "main" }} + {{ .Content }} +{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..0146471 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,11 @@ +

© 2024 Open Bokeron.

+

+ Made with in + Bitbucket +

+ +

+ {{ range $.Site.Home.AllTranslations }} + {{ .Language.LanguageName }} + {{ end }} +

diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..f7d7f6e --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,17 @@ + + +{{ .Title }} | {{ .Site.Title }} +{{ template "_internal/opengraph.html" . }} +{{ template "_internal/twitter_cards.html" . }} + + + +{{- with resources.Get "css/main.css" }} + {{- if eq hugo.Environment "development" }} + + {{- else }} + {{- with . | minify | fingerprint }} + + {{- end }} + {{- end }} +{{- end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..86e0aaa --- /dev/null +++ b/layouts/partials/header.html @@ -0,0 +1,4 @@ +{{ .Title }} logo +

{{ .Title }}

+

{{ T "motto" }}

+{{ partial "nav.html" . }} diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html new file mode 100644 index 0000000..1647665 --- /dev/null +++ b/layouts/partials/nav.html @@ -0,0 +1,8 @@ + diff --git a/layouts/partials/time.html b/layouts/partials/time.html new file mode 100644 index 0000000..13e51fd --- /dev/null +++ b/layouts/partials/time.html @@ -0,0 +1,3 @@ + diff --git a/layouts/posts/list.html b/layouts/posts/list.html new file mode 100644 index 0000000..b418bfd --- /dev/null +++ b/layouts/posts/list.html @@ -0,0 +1,13 @@ +{{ define "main" }} + {{ .Content }} +
+ {{- range where site.RegularPages "Type" "posts" }} +
+

{{ .Title }}

+

{{ .Description }}

+

Fecha: {{ partial "time.html" . }}

+ Ver más +
+ {{- end }} +
+{{ end }} diff --git a/layouts/posts/single.html b/layouts/posts/single.html new file mode 100644 index 0000000..93210ff --- /dev/null +++ b/layouts/posts/single.html @@ -0,0 +1,5 @@ +{{ define "main" }} +

📅 TODO, DATE

+ +{{ .Content }} +{{ end }} diff --git a/proyectos.html b/proyectos.html deleted file mode 100644 index 683f034..0000000 --- a/proyectos.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - Proyectos - Open Bokeron - - - - - - - -
- OpenBokeron logo -

Open Bokeron

-

"¡Abre tu mente, abre tu código!"

- -
- -
-

Proyectos y eventos

-

- En Open Bokeron, intentamos llevar a cabo varias actividades, proyectos y eventos para promover el uso de - software libre en la Universidad de Málaga. -

-

- Esta página enumera todos nuestros proyectos, tanto actuales como antiguos. -

- -

Próximos eventos

-
-
- Linux Party Image -
-
-

Linux Party

-

Una introducción al mundo de software libre con la instalación de Linux.

-

Fecha: Por determinar

-

Lugar: Por determinar

- Más info -
-
-
- - - - - - - diff --git a/proyectos/linux-party.html b/proyectos/linux-party.html deleted file mode 100644 index 3ded7fa..0000000 --- a/proyectos/linux-party.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - Linux Party - Open Bokeron - - - - - - - -
- OpenBokeron logo -

Open Bokeron

-

"¡Abre tu mente, abre tu código!"

- -
- - - - - - diff --git a/assets/linux-party.png b/static/assets/linux-party.png similarity index 100% rename from assets/linux-party.png rename to static/assets/linux-party.png diff --git a/assets/logo.jpg b/static/assets/logo.jpg similarity index 100% rename from assets/logo.jpg rename to static/assets/logo.jpg diff --git a/favicon.ico b/static/favicon.ico similarity index 100% rename from favicon.ico rename to static/favicon.ico diff --git a/robots.txt b/static/robots.txt similarity index 100% rename from robots.txt rename to static/robots.txt From d0a58daf5f6c29b22abcbeb7a5072f8739662ac2 Mon Sep 17 00:00:00 2001 From: Pablo Ferreiro Date: Mon, 25 Mar 2024 23:05:37 +0100 Subject: [PATCH 2/2] Port a Gitea --- README.md | 2 +- archetypes/projects.md | 11 ++++++----- assets/css/main.css | 10 +++++----- content/en/posts/_index.md | 2 ++ content/en/projects/_index.md | 2 -- content/en/projects/linux-party.md | 1 + content/es/posts/_index.md | 2 ++ content/es/projects/_index.md | 2 -- content/es/projects/linux-party.md | 14 ++++++++++++++ hugo.toml | 2 +- layouts/_default/list.html | 8 ++------ layouts/partials/footer.html | 2 +- layouts/partials/header.html | 4 ++-- layouts/posts/list.html | 13 ------------- layouts/posts/single.html | 5 ----- layouts/projects/list.html | 21 +++++++++++++++++++++ layouts/projects/single.html | 11 +++++++++++ 17 files changed, 69 insertions(+), 43 deletions(-) delete mode 100644 layouts/posts/list.html delete mode 100644 layouts/posts/single.html create mode 100644 layouts/projects/list.html create mode 100644 layouts/projects/single.html diff --git a/README.md b/README.md index e75aa29..27815cf 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The philosophy with this website for now is to KISS(keep it stupid simple) using - [x] Add our logo on the website, favicon. - [ ] Add content describing our association and other pages as needed. - [x] Work on SEO (OpenGraph, Twitter meta tags...) -- [ ] Multilingual support(English + Spanish) +- [x] Multilingual support(English + Spanish) - [x] Support for RSS (index.xml) - [x] Use a minimal CMS - [x] Basic robots.txt diff --git a/archetypes/projects.md b/archetypes/projects.md index 0531b93..9c1c9a7 100644 --- a/archetypes/projects.md +++ b/archetypes/projects.md @@ -1,7 +1,8 @@ +++ -title = '{{ replace .File.ContentBaseName "-" " " | title }}' -description = '' -image = '' -date = {{ .Date }} -draft = true +title: '{{ replace .File.ContentBaseName "-" " " | title }}' +description: '' +image: '' +date: {{ .Date }} +draft: true +finished: false +++ diff --git a/assets/css/main.css b/assets/css/main.css index 071cd45..c73d279 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -1,12 +1,12 @@ /* Override colors from CSS library */ :root { - --accent: green; - --accent-hover: darkgreen; + --accent: green; + --accent-hover: darkgreen; } /* Custom style for the logo */ img.icon { - max-width: 128px; - max-height: 128px; - margin-top: 10px; + max-width: 128px; + max-height: 128px; + margin-top: 10px; } diff --git a/content/en/posts/_index.md b/content/en/posts/_index.md index 43082cd..bf757d1 100644 --- a/content/en/posts/_index.md +++ b/content/en/posts/_index.md @@ -2,3 +2,5 @@ title: "Posts" description: "Nuestro blog" --- + +## Posts diff --git a/content/en/projects/_index.md b/content/en/projects/_index.md index 709da3c..89673a4 100644 --- a/content/en/projects/_index.md +++ b/content/en/projects/_index.md @@ -8,5 +8,3 @@ We try to carry out various activities, projects and events to promote the use o free software at the University of Malaga. This page lists all of our projects, both current and past ones. - -### Events diff --git a/content/en/projects/linux-party.md b/content/en/projects/linux-party.md index e5b3907..6a2835c 100644 --- a/content/en/projects/linux-party.md +++ b/content/en/projects/linux-party.md @@ -4,4 +4,5 @@ description: An introduction to the world of free software with a Linux install image: assets/linux-party.png date: 2024-02-21T00:30:35+01:00 place: Room 4.1.1 (Coworking room) +finished: true --- diff --git a/content/es/posts/_index.md b/content/es/posts/_index.md index 22788ab..1f073ac 100644 --- a/content/es/posts/_index.md +++ b/content/es/posts/_index.md @@ -2,3 +2,5 @@ title: Publicaciones description: Nuestro blog --- + +## Publicaciones diff --git a/content/es/projects/_index.md b/content/es/projects/_index.md index 3eb92cf..646172d 100644 --- a/content/es/projects/_index.md +++ b/content/es/projects/_index.md @@ -8,5 +8,3 @@ En Open Bokeron, intentamos llevar a cabo varias actividades, proyectos y evento software libre en la Universidad de Málaga. Esta página enumera todos nuestros proyectos, tanto actuales como antiguos. - -### Próximos eventos diff --git a/content/es/projects/linux-party.md b/content/es/projects/linux-party.md index 11019c8..0b438db 100644 --- a/content/es/projects/linux-party.md +++ b/content/es/projects/linux-party.md @@ -4,4 +4,18 @@ description: Una introducción al mundo de software libre con la instalación de image: assets/linux-party.png date: 2024-02-21T00:30:35+01:00 place: Aula 4.1.1 (Sala Coworking) +finished: true --- + +### Presentación Introductoria a Linux +* Conoce las bases del sistema operativo Linux y sus diferencias con otros sistemas. +* Descubre las ventajas de utilizar Linux en tu día a día. + +### Instalación de Distribuciones GNU/Linux +* Los miembros de Open Bokeron estarán disponibles para ayudarte a elegir la distribución de GNU/Linux más adecuada para tus necesidades +* Asistencia personalizada en la instalación del sistema operativo en tu equipo. + +### Exploración de Herramientas y Aplicaciones +* Descubre una amplia gama de software libre disponible en Linux. +* Aprende a utilizar herramientas para la programación, ofimática y más. +* Introducción al uso del terminal de linux. diff --git a/hugo.toml b/hugo.toml index 1460cd8..6a4b296 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1,4 +1,4 @@ -baseURL = 'https://openbokeron.bitbucket.io/' +baseURL = 'https://openbokeron.uma.es' title = 'OpenBokeron' timeZone = 'Europe/Madrid' diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 69c63eb..4c29ad8 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,15 +2,11 @@ {{ .Content }}
{{ range .Pages }} -
- Linux Party Image -

{{ .Title }}

{{ .Description }}

-

Fecha: {{ partial "time.html" . }}

-

Lugar: {{ .Params.place }}

- Más info +

📅: {{ partial "time.html" . }}

+ Info
{{ end }} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 0146471..dd3dc67 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,7 +1,7 @@

© 2024 Open Bokeron.

Made with in - Bitbucket + Gitea

diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 86e0aaa..545eb59 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,4 +1,4 @@ -{{ .Title }} logo -

{{ .Title }}

+{{ .Site.Title }} logo +

{{ .Site.Title }}

{{ T "motto" }}

{{ partial "nav.html" . }} diff --git a/layouts/posts/list.html b/layouts/posts/list.html deleted file mode 100644 index b418bfd..0000000 --- a/layouts/posts/list.html +++ /dev/null @@ -1,13 +0,0 @@ -{{ define "main" }} - {{ .Content }} -
- {{- range where site.RegularPages "Type" "posts" }} -
-

{{ .Title }}

-

{{ .Description }}

-

Fecha: {{ partial "time.html" . }}

- Ver más -
- {{- end }} -
-{{ end }} diff --git a/layouts/posts/single.html b/layouts/posts/single.html deleted file mode 100644 index 93210ff..0000000 --- a/layouts/posts/single.html +++ /dev/null @@ -1,5 +0,0 @@ -{{ define "main" }} -

📅 TODO, DATE

- -{{ .Content }} -{{ end }} diff --git a/layouts/projects/list.html b/layouts/projects/list.html new file mode 100644 index 0000000..99fa1a9 --- /dev/null +++ b/layouts/projects/list.html @@ -0,0 +1,21 @@ +{{ define "main" }} +{{ .Content }} +
+ {{ range .Pages.ByDate.Reverse }} +
+
+
+ Event image +
+
+

{{ .Title }}

+

{{ .Description }}

+

📅: {{ partial "time.html" . }}

+

📍: {{ .Params.place }}

+ Info +
+
+
+ {{ end }} +
+{{ end }} diff --git a/layouts/projects/single.html b/layouts/projects/single.html new file mode 100644 index 0000000..3624751 --- /dev/null +++ b/layouts/projects/single.html @@ -0,0 +1,11 @@ +{{ define "main" }} +

+ {{ .Description }} +
+
+ 📅: {{ partial "time.html" . }} +
+ 📍: {{ .Params.place }} +

+{{ .Content }} +{{ end }}