Merge branch 'hugo'

This commit is contained in:
Pablo Ferreiro 2024-03-25 23:07:41 +01:00
commit 905257ef4c
Signed by: ferreiro
GPG Key ID: 41FBCE65B779FA24
39 changed files with 379 additions and 297 deletions

12
.editorconfig Normal file
View File

@ -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

View File

@ -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. - [x] Add our logo on the website, favicon.
- [ ] Add content describing our association and other pages as needed. - [ ] 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) - [x] Multilingual support(English + Spanish)
- [ ] Support for RSS (index.xml) - [x] Support for RSS (index.xml)
- [ ] Use a minimal CMS - [x] Use a minimal CMS
- [x] Basic robots.txt - [x] Basic robots.txt

6
archetypes/default.md Normal file
View File

@ -0,0 +1,6 @@
+++
title = '{{ replace .File.ContentBaseName "-" " " | title }}'
description = ''
date = {{ .Date }}
draft = true
+++

8
archetypes/projects.md Normal file
View File

@ -0,0 +1,8 @@
+++
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
description: ''
image: ''
date: {{ .Date }}
draft: true
finished: false
+++

12
assets/css/main.css Normal file
View File

@ -0,0 +1,12 @@
/* Override colors from CSS library */
:root {
--accent: green;
--accent-hover: darkgreen;
}
/* Custom style for the logo */
img.icon {
max-width: 128px;
max-height: 128px;
margin-top: 10px;
}

View File

@ -1,75 +0,0 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contacto - Open Bokeron</title>
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flexboxgrid/6.3.1/flexboxgrid.min.css" type="text/css">
<link rel="stylesheet" href="./style.css" type="text/css">
</head>
<body>
<!-- Common header -->
<header>
<img class="icon" src="assets/logo.png" alt="OpenBokeron logo">
<h1>Open Bokeron</h1>
<p>"¡Abre tu mente, abre tu código!"</p>
<nav>
<ul>
<li>
<a href="/">Página principal</a>
</li>
<li>
<a href="proyectos.html">Proyectos</a>
</li>
<li>
<a class="current" href="contacto.html">Contacto</a>
</li>
</ul>
</nav>
</header>
<main>
<h2>¡Habla con nosotros!</h2>
<p>
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.
</p>
<p>
¿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
<a href="mailto:openbokeron@geeklab.es">openbokeron@geeklab.es</a>.
¡Estaremos encantados de responder a tus preguntas, recibir tus sugerencias o simplemente charlar sobre software libre!
</p>
</main>
<h3>Nuestras redes sociales</h3>
<p>
¡No te pierdas las últimas noticias, eventos y proyectos de Open Bokeron en Twitter! Síguenos en nuestra cuenta
oficial:
<a href="https://twitter.com/OpenBokeron">@OpenBokeron</a>
Aquí compartimos actualizaciones en tiempo real, curiosidades y todo lo relacionado con el mundo del software libre.
</p>
<p>
También puedes charlar con nosotros y toda la comunidad
open source en Telegram <a href="https://t.me/+-0oloTKiIo00ZmM0">usando este enlace</a>
</p>
<p>¡Os esperamos!</p>
</main>
<!-- Common footer -->
<footer>
<p>&copy; 2024 Open Bokeron.</p>
<p>
Made with <span style="color: #e25555;">&#9829;</span> in
<a href="https://bitbucket.org/openbokeron/openbokeron.bitbucket.io">Bitbucket</a>
</p>
</footer>
</body>
</html>

14
content/en/_index.md Normal file
View File

@ -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.

18
content/en/contact.md Normal file
View File

@ -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.

View File

@ -0,0 +1,6 @@
---
title: "Posts"
description: "Nuestro blog"
---
## Posts

View File

@ -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.

View File

@ -0,0 +1,10 @@
---
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.

View File

@ -0,0 +1,8 @@
---
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)
finished: true
---

15
content/es/_index.md Normal file
View File

@ -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.

20
content/es/contact.md Normal file
View File

@ -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.

View File

@ -0,0 +1,6 @@
---
title: Publicaciones
description: Nuestro blog
---
## Publicaciones

View File

@ -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.

View File

@ -0,0 +1,10 @@
---
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.

View File

@ -0,0 +1,21 @@
---
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)
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.

76
hugo.toml Normal file
View File

@ -0,0 +1,76 @@
baseURL = 'https://openbokeron.uma.es'
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'

2
i18n/en.toml Normal file
View File

@ -0,0 +1,2 @@
# Header
motto = "Free your source, free your mind"

1
i18n/es.toml Normal file
View File

@ -0,0 +1 @@
motto = "Libera tu código, libera tu mente"

View File

@ -1,58 +0,0 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Open Bokeron</title>
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flexboxgrid/6.3.1/flexboxgrid.min.css" type="text/css">
<link rel="stylesheet" href="./style.css" type="text/css">
</head>
<body>
<!-- Common header -->
<header>
<img class="icon" src="assets/logo.png" alt="OpenBokeron logo">
<h1>Open Bokeron</h1>
<p>"¡Abre tu mente, abre tu código!"</p>
<nav>
<ul>
<li>
<a href="/" class="current">Página principal</a>
</li>
<li>
<a href="proyectos.html">Proyectos</a>
</li>
<li>
<a href="contacto.html">Contacto</a>
</li>
</ul>
</nav>
</header>
<!-- Content -->
<main>
<h2>Sobre nosotros</h2>
<p>¿Has tenido curiosidad sobre Linux y no sabes por dónde empezar?</p>
<p>¿Quieres conocer más sobre el software libre?</p>
<p>¿Quieres aportar a la causa?</p>
<p>
¡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.
</p>
</main>
<!-- Common footer -->
<footer>
<p>&copy; 2024 Open Bokeron.</p>
<p>
Made with <span style="color: #e25555;">&#9829;</span> in
<a href="https://bitbucket.org/openbokeron/openbokeron.bitbucket.io">Bitbucket</a>
</p>
</footer>
</body>
</html>

View File

@ -0,0 +1,20 @@
<!DOCTYPE html>
<html lang="{{ or site.Language.LanguageCode site.Language.Lang }}" dir="{{ or site.Language.LanguageDirection `ltr` }}">
<head>
{{ partial "head.html" . -}}
</head>
<body>
<header>
{{ partial "header.html" . -}}
</header>
<main>
{{- block "main" . }}{{- end -}}
</main>
<footer>
{{ partial "footer.html" . -}}
</footer>
</body>
</html>

View File

@ -0,0 +1,3 @@
{{ define "main" }}
{{ .Content }}
{{ end }}

View File

@ -0,0 +1,13 @@
{{ define "main" }}
{{ .Content }}
<div class="row center-xs middle-xs">
{{ range .Pages }}
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<p><strong>{{ .Title }}</strong></p>
<p>{{ .Description }}</p>
<p>📅: {{ partial "time.html" . }}</p>
<a class="button" href="{{ .Permalink }}">Info</a>
</div>
</div>
{{ end }}
{{ end }}

View File

@ -0,0 +1,3 @@
{{ define "main" }}
{{ .Content }}
{{ end }}

View File

@ -0,0 +1,11 @@
<p>&copy; 2024 Open Bokeron.</p>
<p>
Made with <span style="color: #e25555;">&#9829;</span> in
<a href="https://openbokeron.uma.es/gitea/OpenBokeron/Web">Gitea</a>
</p>
<p>
{{ range $.Site.Home.AllTranslations }}
<a href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a>
{{ end }}
</p>

View File

@ -0,0 +1,17 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ .Title }} | {{ .Site.Title }}</title>
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flexboxgrid/6.3.1/flexboxgrid.min.css" type="text/css">
{{- with resources.Get "css/main.css" }}
{{- if eq hugo.Environment "development" }}
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{- else }}
{{- with . | minify | fingerprint }}
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{- end }}
{{- end }}
{{- end }}

View File

@ -0,0 +1,4 @@
<img class="icon" src="/assets/logo.jpg" alt="{{ .Site.Title }} logo">
<h1>{{ .Site.Title }}</h1>
<p>{{ T "motto" }}</p>
{{ partial "nav.html" . }}

View File

@ -0,0 +1,8 @@
<nav>
<!-- TODO: Add active attribute when being visited -->
<ul>
{{ range .Site.Menus.main.ByWeight -}}
{{ .Pre }}<li><a href="{{ .URL }}" title="{{ .Title }}">{{- .Name -}}</a></li>{{ .Post }}
{{- end }}
</ul>
</nav>

View File

@ -0,0 +1,3 @@
<time datetime="{{ .Date }}">
{{ .Date | time.Format ":date_medium" }} {{ .Date | time.Format ":time_short" }}
</time>

View File

@ -0,0 +1,21 @@
{{ define "main" }}
{{ .Content }}
<div class="row center-xs middle-xs">
{{ range .Pages.ByDate.Reverse }}
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<div class="row center-xs middle-xs">
<div class="col-xs">
<img src="/{{ .Params.image }}" alt="Event image">
</div>
<div class="col-xs">
<p><strong>{{ .Title }}</strong></p>
<p>{{ .Description }}</p>
<p>📅: {{ partial "time.html" . }}</p>
<p>📍: {{ .Params.place }}</p>
<a class="button" href="{{ .Permalink }}">Info</a>
</div>
</div>
</div>
{{ end }}
</div>
{{ end }}

View File

@ -0,0 +1,11 @@
{{ define "main" }}
<p class="notice">
{{ .Description }}
<br />
<br />
📅: {{ partial "time.html" . }}
<br />
📍: {{ .Params.place }}
</p>
{{ .Content }}
{{ end }}

View File

@ -1,74 +0,0 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Proyectos - Open Bokeron</title>
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flexboxgrid/6.3.1/flexboxgrid.min.css" type="text/css">
<link rel="stylesheet" href="./style.css" type="text/css">
</head>
<body>
<!-- Common header -->
<header>
<img class="icon" src="assets/logo.png" alt="OpenBokeron logo">
<h1>Open Bokeron</h1>
<p>"¡Abre tu mente, abre tu código!"</p>
<nav>
<ul>
<li>
<a href="/">Página principal</a>
</li>
<li>
<a href="proyectos.html" class="current">Proyectos</a>
</li>
<li>
<a href="contacto.html">Contacto</a>
</li>
</ul>
</nav>
</header>
<main>
<h2>Proyectos y eventos</h2>
<p>
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.
</p>
<p>
Esta página enumera todos nuestros proyectos, tanto actuales como antiguos.
</p>
<h3>Próximos eventos</h3>
<div class="row center-xs middle-xs">
</div>
<h3>Historial de eventos</h3>
<div class="row center-xs middle-xs">
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<img src="assets/linux-party.png" alt="Linux Party Image">
</div>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<p><strong>Linux Party 2024</strong></p>
<p>Una introducción al mundo de software libre con la instalación de Linux.</p>
<p>Fecha: Jueves, 29 de febrero 2024</p>
<p>Lugar: Aula 4.1.1 de E.T.S.I. Informática</p>
<a class="button" href="proyectos/linux-party.html">Más info</a>
</div>
</div>
</main>
<!-- Common footer -->
<footer>
<p>&copy; 2024 Open Bokeron.</p>
<p>
Made with <span style="color: #e25555;">&#9829;</span> in
<a href="https://bitbucket.org/openbokeron/openbokeron.bitbucket.io">Bitbucket</a>
</p>
</footer>
</body>
</html>

View File

@ -1,75 +0,0 @@
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Linux Party en la Universidad de Málaga</title>
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flexboxgrid/6.3.1/flexboxgrid.min.css" type="text/css">
<link rel="stylesheet" href="../style.css" type="text/css">
</head>
<body>
<!-- Common header -->
<header>
<img class="icon" src="../assets/logo.png" alt="OpenBokeron logo">
<h1>Open Bokeron</h1>
<p>"¡Abre tu mente, abre tu código!"</p>
<nav>
<ul>
<li>
<a href="../">Página principal</a>
</li>
<li>
<a href="../proyectos.html">Proyectos</a>
</li>
<li>
<a href="../contacto.html">Contacto</a>
</li>
</ul>
</nav>
</header>
<main>
<h1>Linux Party en la Universidad de Málaga</h1>
<p>¡Únete al Linux Party en la Universidad de Málaga y descubre el emocionante mundo del software libre!</p>
<p class="notice">
<b>Fecha:</b> Jueves, 29 de Febrero a las 17:00h<br>
<b>Lugar:</b> Aula 4.1.1 de E.T.S.I Informática
</p>
<h2>Agenda del evento</h2>
<h3>Presentación Introductoria a Linux</h3>
<ul>
<li>Conoce las bases del sistema operativo Linux y sus diferencias con otros sistemas.</li>
<li>Descubre las ventajas de utilizar Linux en tu día a día.</li>
</ul>
<h3>Instalación de Distribuciones GNU/Linux</h3>
<ul>
<li>Los miembros de Open Bokeron estarán disponibles para ayudarte a elegir la distribución de GNU/Linux más adecuada para tus necesidades.</li>
<li>Asistencia personalizada en la instalación del sistema operativo en tu equipo.</li>
</ul>
<h3>Exploración de Herramientas y Aplicaciones</h3>
<ul>
<li>Descubre una amplia gama de software libre disponible en Linux.</li>
<li>Aprende a utilizar herramientas para la programación, ofimática y más.</li>
<li>Introducción al uso del terminal de linux.</li>
</ul>
<img src=../assets/linux-party.png>
</main>
<!-- Common footer -->
<footer>
<p>&copy; 2024 Open Bokeron.</p>
<p>
Made with <span style="color: #e25555;">&#9829;</span> in
<a href="https://bitbucket.org/openbokeron/openbokeron.bitbucket.io">Bitbucket</a>
</p>
</footer>
</body>
</html>

View File

Before

Width:  |  Height:  |  Size: 196 KiB

After

Width:  |  Height:  |  Size: 196 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

@ -1,11 +0,0 @@
/* Override colors from CSS library */
:root {
--accent: green;
}
/* Custom style for the logo */
img.icon {
max-width: 256px;
max-height: 256px;
margin-top: 10px;
}