From a91c6a2623173cf029a17bc3798a127c004565ed Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Sat, 18 Mar 2023 19:24:01 +0100 Subject: [PATCH] Vertalingen --- .gitmodules | 4 ++ config/_default/config.toml | 2 +- config/_default/languages.en.toml | 2 +- config/_default/languages.nl.toml | 24 +++++------ config/_default/params.toml | 2 +- i18n/nl.yaml | 70 +++++++++++++++++++++++++++++++ themes/blowfish | 1 + 7 files changed, 90 insertions(+), 15 deletions(-) create mode 100644 .gitmodules create mode 100644 i18n/nl.yaml create mode 160000 themes/blowfish diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..426d936 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,4 @@ +[submodule "themes/blowfish"] + path = themes/blowfish + url = https://github.com/nunocoracao/blowfish.git + branch = main diff --git a/config/_default/config.toml b/config/_default/config.toml index c678162..c0b02e1 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -15,7 +15,7 @@ summaryLength = 0 buildDrafts = false buildFuture = false -# googleAnalytics = "G-XXXXXXXXX" +#  googleAnalytics = "G-XXXXXXXXX" [imaging] anchor = 'Center' diff --git a/config/_default/languages.en.toml b/config/_default/languages.en.toml index 379c57b..59eb226 100644 --- a/config/_default/languages.en.toml +++ b/config/_default/languages.en.toml @@ -2,7 +2,7 @@ languageCode = "en" languageName = "English" displayName = "EN" isoCode = "en" -weight = 1 +weight = 2 rtl = false title = "Blowfish" diff --git a/config/_default/languages.nl.toml b/config/_default/languages.nl.toml index 397a15a..a01b6ee 100644 --- a/config/_default/languages.nl.toml +++ b/config/_default/languages.nl.toml @@ -6,19 +6,19 @@ weight = 1 rtl = false title = "Mans Ziesel" -# logo = "img/blowfish_logo.png" -description = "My awesome website" +# logo = "img/logo.png" +# description = "My awesome website" # copyright = "Copy, _right?_ :thinking_face:" dateFormat = "2 January 2006" -[author] - name = "Mans Ziesel" - image = "img/Mans_Ziesel_Portrait.jpg" - headline = "ICT'er en student bij ROC van Twente" - bio = "A little bit about you" - links = [ - { email = "mailto:mans@mziesel.com" }, +# [author] +# name = "Your name here" +# image = "img/blowfish_logo.png" +# headline = "I'm only human" +# bio = "A little bit about you" +# links = [ +# { email = "mailto:hello@your_domain.com" }, # { link = "https://link-to-some-website.com/" }, # { amazon = "https://www.amazon.com/hz/wishlist/ls/wishlist-id" }, # { apple = "https://www.apple.com" }, @@ -30,7 +30,7 @@ dateFormat = "2 January 2006" # { facebook = "https://facebook.com/username" }, # { flickr = "https://www.flickr.com/photos/username/" }, # { foursquare = "https://foursquare.com/username" }, - { github = "https://github.com/mansziesel" }, +# { github = "https://github.com/username" }, # { gitlab = "https://gitlab.com/username" }, # { google = "https://www.google.com/" }, # { hashnode = "https://username.hashnode.dev" }, @@ -38,7 +38,7 @@ dateFormat = "2 January 2006" # { keybase = "https://keybase.io/username" }, # { kickstarter = "https://www.kickstarter.com/profile/username" }, # { lastfm = "https://lastfm.com/user/username" }, - { linkedin = "https://linkedin.com/in/mansziesel" }, +# { linkedin = "https://linkedin.com/in/username" }, # { mastodon = "https://mastodon.instance/@username" }, # { medium = "https://medium.com/username" }, # { microsoft = "https://www.microsoft.com/" }, @@ -60,4 +60,4 @@ dateFormat = "2 January 2006" # { whatsapp = "https://wa.me/phone-number" }, # { youtube = "https://youtube.com/username" }, # { ko-fi = "https://ko-fi.com/username" }, - ] +# ] diff --git a/config/_default/params.toml b/config/_default/params.toml index 5956138..a225e07 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -24,7 +24,7 @@ smartTOC = true smartTOCHideUnfocusedChildren = true [header] - layout = "basic" # valid options: basic, fixed, fixed-fill, fixed-fill-blur + layout = "fixed-fill-blur" # valid options: basic, fixed, fixed-fill, fixed-fill-blur [footer] showMenu = true diff --git a/i18n/nl.yaml b/i18n/nl.yaml new file mode 100644 index 0000000..972e869 --- /dev/null +++ b/i18n/nl.yaml @@ -0,0 +1,70 @@ +global: + language: "🇳🇱" + +article: + anchor_label: "Anker" + date: "{{ .Date }}" + date_updated: "Bijgewerkt: {{ .Date }}" + draft: "Concept" + edit_title: "Edit inhoud" + reading_time: + one: "{{ .Count }} minuut" + other: "{{ .Count }} minuten" + reading_time_title: "Leestijd" + table_of_contents: "Inhoudsopgave" + word_count: + one: "{{ .Count }} woord" + other: "{{ .Count }} woorden" + views: + one: "{{ .Count }} weergave" + other: "{{ .Count }} weergaven" + likes: + one: "{{ .Count }} like" + other: "{{ .Count }} likes" + part_of_series: "Dit artikel is onderdeel van een serie." + part: "Deel" + this_article: "Dit artikel" + +author: + byline_title: "Auteur" + +code: + copy: "Kopiëren" + copied: "Gekopieerd" + +error: + 404_title: "Pagina niet gevonden :confused:" + 404_error: "Fout 404" + 404_description: "De pagina die je probeert te bezoeken lijkt niet te bestaan." + +footer: + dark_appearance: "Schakel over naar donker theme" + light_appearance: "Schakel over naar licht thema" + powered_by: "Aangedreven door {{ .Hugo }} & {{ .Theme }}" + +list: + externalurl_title: "Link naar externe site" + no_articles: "Er zijn hier geen artikels om weer te geven." + +nav: + scroll_to_top_title: "Naar boven scrollen" + skip_to_main: "Naam hoofdinhoud gaan" + +search: + open_button_title: "Zoeken (/)" + close_button_title: "Sluiten (Esc)" + input_placeholder: "Zoeken" + +sharing: + email: "Sturen via email" + facebook: "Delen via Facebook" + linkedin: "Delen via LinkedIn" + pinterest: "Pin op Pinterest" + reddit: "Plaats op Reddit" + twitter: "Tweet op Twitter" + +shortcode: + recent_articles: "Recent" + +recent: + show_more: "Meer weergeven" diff --git a/themes/blowfish b/themes/blowfish new file mode 160000 index 0000000..c627ebd --- /dev/null +++ b/themes/blowfish @@ -0,0 +1 @@ +Subproject commit c627ebdfac71b69d77b00a17f97471685d19d91b