Port a Gitea

This commit is contained in:
Pablo Ferreiro 2024-03-25 23:05:37 +01:00
parent d75599d8d8
commit d0a58daf5f
Signed by: ferreiro
GPG Key ID: 41FBCE65B779FA24
17 changed files with 69 additions and 43 deletions

View File

@ -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. - [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.
- [x] Work on SEO (OpenGraph, Twitter meta tags...) - [x] Work on SEO (OpenGraph, Twitter meta tags...)
- [ ] Multilingual support(English + Spanish) - [x] Multilingual support(English + Spanish)
- [x] Support for RSS (index.xml) - [x] Support for RSS (index.xml)
- [x] Use a minimal CMS - [x] Use a minimal CMS
- [x] Basic robots.txt - [x] Basic robots.txt

View File

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

View File

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

View File

@ -2,3 +2,5 @@
title: "Posts" title: "Posts"
description: "Nuestro blog" description: "Nuestro blog"
--- ---
## Posts

View File

@ -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. free software at the University of Malaga.
This page lists all of our projects, both current and past ones. This page lists all of our projects, both current and past ones.
### Events

View File

@ -4,4 +4,5 @@ description: An introduction to the world of free software with a Linux install
image: assets/linux-party.png image: assets/linux-party.png
date: 2024-02-21T00:30:35+01:00 date: 2024-02-21T00:30:35+01:00
place: Room 4.1.1 (Coworking room) place: Room 4.1.1 (Coworking room)
finished: true
--- ---

View File

@ -2,3 +2,5 @@
title: Publicaciones title: Publicaciones
description: Nuestro blog description: Nuestro blog
--- ---
## Publicaciones

View File

@ -8,5 +8,3 @@ En Open Bokeron, intentamos llevar a cabo varias actividades, proyectos y evento
software libre en la Universidad de Málaga. software libre en la Universidad de Málaga.
Esta página enumera todos nuestros proyectos, tanto actuales como antiguos. Esta página enumera todos nuestros proyectos, tanto actuales como antiguos.
### Próximos eventos

View File

@ -4,4 +4,18 @@ description: Una introducción al mundo de software libre con la instalación de
image: assets/linux-party.png image: assets/linux-party.png
date: 2024-02-21T00:30:35+01:00 date: 2024-02-21T00:30:35+01:00
place: Aula 4.1.1 (Sala Coworking) 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.

View File

@ -1,4 +1,4 @@
baseURL = 'https://openbokeron.bitbucket.io/' baseURL = 'https://openbokeron.uma.es'
title = 'OpenBokeron' title = 'OpenBokeron'
timeZone = 'Europe/Madrid' timeZone = 'Europe/Madrid'

View File

@ -2,15 +2,11 @@
{{ .Content }} {{ .Content }}
<div class="row center-xs middle-xs"> <div class="row center-xs middle-xs">
{{ range .Pages }} {{ range .Pages }}
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<img src="/{{ .Params.image }}" alt="Linux Party Image">
</div>
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4"> <div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<p><strong>{{ .Title }}</strong></p> <p><strong>{{ .Title }}</strong></p>
<p>{{ .Description }}</p> <p>{{ .Description }}</p>
<p>Fecha: {{ partial "time.html" . }}</p> <p>📅: {{ partial "time.html" . }}</p>
<p>Lugar: {{ .Params.place }}</p> <a class="button" href="{{ .Permalink }}">Info</a>
<a class="button" href="{{ .Permalink }}">Más info</a>
</div> </div>
</div> </div>
{{ end }} {{ end }}

View File

@ -1,7 +1,7 @@
<p>&copy; 2024 Open Bokeron.</p> <p>&copy; 2024 Open Bokeron.</p>
<p> <p>
Made with <span style="color: #e25555;">&#9829;</span> in Made with <span style="color: #e25555;">&#9829;</span> in
<a href="https://bitbucket.org/openbokeron/openbokeron.bitbucket.io">Bitbucket</a> <a href="https://openbokeron.uma.es/gitea/OpenBokeron/Web">Gitea</a>
</p> </p>
<p> <p>

View File

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

View File

@ -1,13 +0,0 @@
{{ define "main" }}
{{ .Content }}
<div class="row center-xs middle-xs">
{{- range where site.RegularPages "Type" "posts" }}
<div class="col-xs-12 col-sm-12 col-md-4 col-lg-4">
<p><strong>{{ .Title }}</strong></p>
<p>{{ .Description }}</p>
<p>Fecha: {{ partial "time.html" . }}</p>
<a class="button" href="{{ .Permalink }}">Ver más</a>
</div>
{{- end }}
</div>
{{ end }}

View File

@ -1,5 +0,0 @@
{{ define "main" }}
<p>📅 TODO, DATE</p>
{{ .Content }}
{{ end }}

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