From a4d8a9b95ca2a942d6e0e3be0df893224e347e68 Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Thu, 5 Sep 2024 16:55:23 +0200 Subject: [PATCH] change gitea url --- config/_default/languages.en.toml | 1 + config/_default/languages.nl.toml | 2 +- layouts/shortcodes/gitea.html | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml index 8f089d2..1310eaa 100644 --- a/config/_default/languages.en.toml +++ b/config/_default/languages.en.toml @@ -23,4 +23,5 @@ description = "Website of Mans Ziesel" # { email = "mailto:mans@mziesel.com" }, { github = "https://github.com/mansziesel" }, { linkedin = "https://linkedin.com/in/mansziesel" }, + { gitlab = "https:/git.mziesel.nl/mans" }, ] diff --git a/config/_default/languages.nl.toml b/config/_default/languages.nl.toml index a6e6507..0ea2b39 100644 --- a/config/_default/languages.nl.toml +++ b/config/_default/languages.nl.toml @@ -33,7 +33,7 @@ description = "Website van Mans Ziesel" # { flickr = "https://www.flickr.com/photos/mansziesel/" }, # { foursquare = "https://foursquare.com/mansziesel" }, { github = "https://github.com/mansziesel" }, -# { gitlab = "https://gitlab.com/mansziesel" }, + { gitlab = "https:/git.mziesel.nl/mans" }, # { google = "https://www.google.com/" }, # { hashnode = "https://mansziesel.hashnode.dev" }, # { instagram = "https://instagram.com/mansziesel" }, diff --git a/layouts/shortcodes/gitea.html b/layouts/shortcodes/gitea.html index 82032a0..fcf9443 100644 --- a/layouts/shortcodes/gitea.html +++ b/layouts/shortcodes/gitea.html @@ -1,5 +1,5 @@ {{ $id := delimit (slice "github" (partial "functions/uid.html" .)) "-" }} -{{- $githubURL := print "https://git.mzsl.nl/api/v1/repos/" (.Get "repo") -}} +{{- $githubURL := print "https://git.mziesel.nl/api/v1/repos/" (.Get "repo") -}} {{- $githubData := getJSON ($githubURL) -}} {{- $githubColors := .Site.Data.githubColors -}} {{- with $githubData -}}