diff --git a/docs/.vuepress/client.js b/docs/.vuepress/client.js new file mode 100644 index 0000000..08ee6d0 --- /dev/null +++ b/docs/.vuepress/client.js @@ -0,0 +1,8 @@ +import { defineClientConfig } from "vuepress/client"; +import MiniBlog from "./components/MiniBlog.vue"; + +export default defineClientConfig({ + enhance({ app }) { + app.component("MiniBlog", MiniBlog); + }, +}); diff --git a/docs/.vuepress/components/MiniBlog.vue b/docs/.vuepress/components/MiniBlog.vue new file mode 100644 index 0000000..5550727 --- /dev/null +++ b/docs/.vuepress/components/MiniBlog.vue @@ -0,0 +1,159 @@ + + + + + diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index 95c50e5..b4d6954 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -33,5 +33,38 @@ export default defineUserConfig({ '/fr/': { lang: 'fr-FR', }, - } + }, + plugins: [ + { + name: "collect-article-true", + async onPrepared(app) { + const rows = app.pages + .filter((p) => p.frontmatter?.article === true || p.frontmatter?.article === "true") + .map((p) => { + const fm = p.frontmatter || {}; + // gängige Cover-Keys im Theme Hope Umfeld: + const cover = fm.cover || fm.image || fm.banner || fm.heroImage || null; + // kurze Beschreibung / Excerpt + const excerpt = p.excerpt || fm.description || ""; + return { + path: p.path, + title: p.title || fm.title || "", + date: fm.date || null, // ISO empfohlen + tags: Array.isArray(fm.tags) ? fm.tags : (fm.tag ? [].concat(fm.tag) : []), + category: Array.isArray(fm.category) ? fm.category : (fm.categories ? fm.categories : []), + cover, + excerpt, + locale: p.pathLocale || "/", + }; + }) + .sort((a, b) => { + const ta = a.date ? Date.parse(a.date) : 0; + const tb = b.date ? Date.parse(b.date) : 0; + return tb - ta; + }); + + await app.writeTemp("mini-blog.articles.json", JSON.stringify(rows, null, 2)); + }, + }, + ], }) diff --git a/docs/.vuepress/styles/palette.scss b/docs/.vuepress/styles/palette.scss index e2437db..6226fd5 100644 --- a/docs/.vuepress/styles/palette.scss +++ b/docs/.vuepress/styles/palette.scss @@ -85,6 +85,7 @@ h1, h2, h3, h4 { border-style: solid; border-radius: 5px; padding: 12px 16px; + margin-top: 12px; cursor: grab; html[data-theme="dark"] & { @@ -240,7 +241,7 @@ h2.large-header { line-height: 1.2em; text-align: center; margin-top: 0; - padding-top: 1.8em; + padding-top: 2.8em !important; border: 0; } diff --git a/docs/de/README.md b/docs/de/README.md index e1e8bb5..b71f9e3 100644 --- a/docs/de/README.md +++ b/docs/de/README.md @@ -184,7 +184,7 @@ description: Eine freie Open-Source-Software, mit der du ein soziales Netzwerk f
- + @@ -276,7 +276,7 @@ description: Eine freie Open-Source-Software, mit der du ein soziales Netzwerk f Ocelot.social kannst du auf einem eigenen Server hosten oder es hosten lassen.
Schau dir an, welche Möglichkeiten es gibt:

-
+ @@ -287,6 +287,12 @@ description: Eine freie Open-Source-Software, mit der du ein soziales Netzwerk f XXX --> + +

Spenden

diff --git a/docs/de/news/2025-07-05-release-3-11-0-with-numerous-improvements/README.md b/docs/de/news/2025-07-05-release-3-11-0-with-numerous-improvements/README.md index f26441b..824e896 100644 --- a/docs/de/news/2025-07-05-release-3-11-0-with-numerous-improvements/README.md +++ b/docs/de/news/2025-07-05-release-3-11-0-with-numerous-improvements/README.md @@ -9,6 +9,7 @@ category: tag: - Releases cover: /blog/ocelot-social-release-v3-11-0.jpg +coverAlt: "Ocelot.social Version 3.11.0" title: "Version 3.11.0 mit zahlreichen Verbesserungen" description: "Diese Version der ocelot.social-Software verbessert die Stabilität und Nutzung des Chats und behebt einige Fehler." --- diff --git a/docs/de/news/2025-08-18-tech-day-fusion-von-utopia-und-ocelot/README.md b/docs/de/news/2025-08-18-tech-day-fusion-von-utopia-und-ocelot/README.md index 1c3a503..861c429 100644 --- a/docs/de/news/2025-08-18-tech-day-fusion-von-utopia-und-ocelot/README.md +++ b/docs/de/news/2025-08-18-tech-day-fusion-von-utopia-und-ocelot/README.md @@ -9,6 +9,7 @@ category: tag: - Releases cover: /blog/fusion-of-utopia-and-ocelot.jpeg +coverAlt: "Fusion von Utopia und Ocelot" title: "Tech-Day – Fusion von Utopia und Ocelot!?" description: "An diesem Tech-Day vom 21.8.2025 beleuchten wir die Frage, ob Utopia Map und ocelot.social zusammengebracht werden können. Wir freuen uns auf deine Teilnahme." --- @@ -18,7 +19,12 @@ Diese Woche findet im Rahmen des [**Tech-Days**](https://www.busfaktor.org/de/pr **Fusion von Utopia und Ocelot!?** Referent: Anton Tranelis -Am Donnerstag, den 21.8.2025, um 14 Uhr (MESZ), [**online**](https://cloud.mfwerk.de/index.php/apps/bbb/b/E794JMdzi3iQc4xE) (wird aufgezeichnet) +Am Donnerstag, den 21.8.2025, um 14 Uhr (MESZ), **online** + +## Veröffentlichung + +- Aufzeichnung auf [Youtube](https://www.youtube.com/watch?v=NI-nAeYkmQk&list=PL5Xhli7oRz_UvRSDp61oTloWM0fc5e8Yy) +- [Präsentation](https://hack.utopia-lab.org/s/vYs1BNmFi) ## Worum geht es? diff --git a/docs/de/news/README.md b/docs/de/news/README.md index efa7a50..d569446 100644 --- a/docs/de/news/README.md +++ b/docs/de/news/README.md @@ -1,7 +1,7 @@ --- home: true article: false -layout: Blog +layout: BlogHome sidebar: false lang: de-DE title: News diff --git a/docs/en/README.md b/docs/en/README.md index ae1116a..c7bf9fb 100644 --- a/docs/en/README.md +++ b/docs/en/README.md @@ -183,7 +183,7 @@ description: A free and open source software with which you can operate a social
- + @@ -277,7 +277,7 @@ description: A free and open source software with which you can operate a social You can host ocelot.social on your own server or have it hosted.
Take a look at the options available:

-
+ @@ -288,6 +288,11 @@ description: A free and open source software with which you can operate a social XXX --> + +

Donate

diff --git a/docs/en/news/2025-07-05-release-3-11-0-with-numerous-improvements/README.md b/docs/en/news/2025-07-05-release-3-11-0-with-numerous-improvements/README.md index 8aa0008..8aafe27 100644 --- a/docs/en/news/2025-07-05-release-3-11-0-with-numerous-improvements/README.md +++ b/docs/en/news/2025-07-05-release-3-11-0-with-numerous-improvements/README.md @@ -9,6 +9,7 @@ category: tag: - Releases cover: /blog/ocelot-social-release-v3-11-0.jpg +coverAlt: "Ocelot.social version 3.11.0" title: "Version 3.11.0 with numerous improvements" description: "This version of the ocelot.social software improves the stability and usability of the chat and fixes several bugs." --- diff --git a/docs/en/news/2025-08-18-tech-day-fusion-von-utopia-und-ocelot/README.md b/docs/en/news/2025-08-18-tech-day-fusion-von-utopia-und-ocelot/README.md index 92df882..2091c49 100644 --- a/docs/en/news/2025-08-18-tech-day-fusion-von-utopia-und-ocelot/README.md +++ b/docs/en/news/2025-08-18-tech-day-fusion-von-utopia-und-ocelot/README.md @@ -9,6 +9,7 @@ category: tag: - Releases cover: /blog/fusion-of-utopia-and-ocelot.jpeg +coverAlt: "Fusion of Utopia and Ocelot" title: "Tech-Day – Fusion of Utopia and Ocelot!?" description: "On this Tech Day on August 21, 2025, we will explore the question of whether Utopia Map and ocelot.social can be brought together. We look forward to your participation." --- @@ -19,7 +20,12 @@ This week, another lecture will take place as part of [**Tech Day**](https://www Speaker: Anton Tranelis Language: German -Thursday, August 21, 2025, at 2 p.m. CEST, [**online**](https://cloud.mfwerk.de/index.php/apps/bbb/b/E794JMdzi3iQc4xE) (will be recorded) +Thursday, August 21, 2025, at 2 p.m. CEST, **online** + +## Publication + +- Recording on [YouTube](https://www.youtube.com/watch?v=NI-nAeYkmQk&list=PL5Xhli7oRz_UvRSDp61oTloWM0fc5e8Yy) +- [Presentation](https://hack.utopia-lab.org/s/vYs1BNmFi) ## What is it about? diff --git a/docs/en/news/README.md b/docs/en/news/README.md index c96ea17..b60d1d5 100644 --- a/docs/en/news/README.md +++ b/docs/en/news/README.md @@ -1,7 +1,7 @@ --- home: true article: false -layout: Blog +layout: BlogHome sidebar: false lang: en-US title: News diff --git a/docs/es/README.md b/docs/es/README.md index 697dc2e..633addf 100644 --- a/docs/es/README.md +++ b/docs/es/README.md @@ -184,7 +184,7 @@ description: "Un software libre y de código abierto con el que puedes gestionar
- + @@ -245,7 +245,7 @@ description: "Un software libre y de código abierto con el que puedes gestionar Puedes alojar ocelot.social en tu propio servidor o hacer que lo alojen por ti.
Echa un vistazo a las opciones disponibles:

-
+ @@ -256,6 +256,11 @@ description: "Un software libre y de código abierto con el que puedes gestionar XXX --> + +

Donar

diff --git a/docs/es/news/2025-07-05-release-3-11-0-with-numerous-improvements/README.md b/docs/es/news/2025-07-05-release-3-11-0-with-numerous-improvements/README.md index 6e2e4ac..b925abb 100644 --- a/docs/es/news/2025-07-05-release-3-11-0-with-numerous-improvements/README.md +++ b/docs/es/news/2025-07-05-release-3-11-0-with-numerous-improvements/README.md @@ -9,6 +9,7 @@ category: tag: - Releases cover: /blog/ocelot-social-release-v3-11-0.jpg +coverAlt: "Ocelot.social versión 3.11.0" title: "Versión 3.11.0 con numerosas mejoras" description: "Esta versión del software ocelot.social mejora la estabilidad y el uso del chat y corrige algunos errores." --- diff --git a/docs/es/news/README.md b/docs/es/news/README.md index 62efc59..4192b77 100644 --- a/docs/es/news/README.md +++ b/docs/es/news/README.md @@ -1,7 +1,7 @@ --- home: true article: false -layout: Blog +layout: BlogHome sidebar: false lang: es-ES title: Noticias diff --git a/docs/fr/README.md b/docs/fr/README.md index 7cfb704..359bbc1 100644 --- a/docs/fr/README.md +++ b/docs/fr/README.md @@ -183,7 +183,7 @@ description: Un logiciel libre et open source avec lequel tu peux gérer un rés