From 0c1759042da0121381cf36ddc8e4e92fb2de1fe2 Mon Sep 17 00:00:00 2001 From: Pierre-Olivier Mercier Date: Fri, 12 Jan 2024 12:55:31 +0100 Subject: [PATCH] Change theme + general update --- .gitmodules | 6 ++-- .woodpecker.yaml | 5 ++- config.yml | 47 ++++++++++++++++++--------- content/_index.en.md | 5 +-- content/_index.fr.md | 6 ++-- content/deploy/_index.en.md | 8 ++--- content/deploy/_index.fr.md | 8 ++--- content/deploy/knot.en.md | 2 +- content/deploy/knot.fr.md | 2 +- content/pages/_index.en.md | 8 ++--- content/pages/_index.fr.md | 8 ++--- content/pages/domain-new.en.md | 4 +-- content/pages/domain-new.fr.md | 4 +-- content/pages/home.en.md | 8 ++--- content/pages/home.fr.md | 8 ++--- content/pages/source-list.en.md | 2 +- content/pages/source-list.fr.md | 2 +- content/pages/source-new-choice.en.md | 4 +-- content/pages/source-new-choice.fr.md | 4 +-- content/pages/source-update.en.md | 2 +- content/pages/source-update.fr.md | 2 +- content/records/_index.en.md | 8 ++--- content/records/_index.fr.md | 9 ++--- content/services/_index.en.md | 8 ++--- content/services/_index.fr.md | 8 ++--- themes/hugo-theme-learn | 1 - themes/hugo-theme-relearn | 1 + 27 files changed, 80 insertions(+), 100 deletions(-) delete mode 160000 themes/hugo-theme-learn create mode 160000 themes/hugo-theme-relearn diff --git a/.gitmodules b/.gitmodules index 01a0b24..5c05f90 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ -[submodule "themes/hugo-theme-learn"] - path = themes/hugo-theme-learn - url = https://github.com/matcornic/hugo-theme-learn.git +[submodule "themes/hugo-theme-relearn"] + path = themes/hugo-theme-relearn + url = https://github.com/McShelby/hugo-theme-relearn.git diff --git a/.woodpecker.yaml b/.woodpecker.yaml index f5abb10..f867413 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -6,10 +6,9 @@ clone: steps: build: - image: plugins/hugo + image: registry.nemunai.re/plugins/hugo settings: - hugo_version: 0.70.0 - validate: true + hugo_version: 0.121.0 publish-on-s3: image: plugins/s3 diff --git a/config.yml b/config.yml index b02f5ea..1cd935f 100644 --- a/config.yml +++ b/config.yml @@ -2,36 +2,53 @@ baseURL: https://help.happydomain.org/ defaultContentLanguage: en defaultContentLanguageInSubdir: true -theme: hugo-theme-learn +theme: hugo-theme-relearn + languages: en: title: "happyDomain help center" - weight: 1 languageName: "English" - landingPageURL: "/en" - landingPageName: " Home" + weight: 1 + params: + landingPageName: " Home" + + menu: + shortcuts: + - name: " Project sources" + url: "https://framagit.org/happyDomain/" + - name: " Matrix channel" + url: "https://matrix.to/#/#happyDNS:matrix.org" + - name: " Mastodon" + url: "https://floss.social/@happyDomain" fr: title: "happyDomain centre d'aide" weight: 2 languageName: "Français" - landingPageURL: "/fr" - landingPageName: " Accueil" + params: + landingPageName: " Accueil" + + menu: + shortcuts: + - name: " Sources" + url: "https://framagit.org/happyDomain/" + - name: " Canal Matrix" + url: "https://matrix.to/#/#happyDNS:matrix.org" + - name: " Mastodon" + url: "https://floss.social/@happyDomain" params: editURL: "https://framagit.org/happyDNS/help/-/blob/master/content/" description: "Finally a simple interface for domain names." - themeVariant: "green" - author: "The happyDNS team" + author: + name: "The happyDNS team" showVisitedLinks: true - disableBreadcrumb: false disableMermaid: true + themeVariant: + - auto + - green + outputs: - home: [ "HTML", "RSS", "JSON"] - - shortcuts: - name: " Project sources" - url: "https://framagit.org/happyDNS/" - weight: 15 + home: [ "HTML", "RSS", "SEARCH"] diff --git a/content/_index.en.md b/content/_index.en.md index bbaad10..a85af8c 100644 --- a/content/_index.en.md +++ b/content/_index.en.md @@ -2,15 +2,12 @@ date: 2021-01-12T21:38:49+02:00 title: Welcome to happyDomain author: Frederic +archetype: home aliases: en/pages/login en/pages/signup --- -# Welcome to happyDomain - ---- - happyDomain is an interface that makes domain names accessible and reduces the usual friction points. Our interface centralizes your domains and includes all the features you'd expect in the 2024 century for effortless domain management. diff --git a/content/_index.fr.md b/content/_index.fr.md index c05fd41..556394c 100644 --- a/content/_index.fr.md +++ b/content/_index.fr.md @@ -1,15 +1,13 @@ --- date: 2020-11-23T12:59:49+01:00 title: happyDomain +author: nemunaire +archetype: home aliases: fr/pages/login fr/pages/signup --- -# happyDomain - ---- - happyDomain est une interface qui rend accessibles les noms de domaines et réduit les points de friction habituels. Notre interface centralise vos domaines et inclut toutes les fonctionnalités que l'on attendrait en 2024 siècle pour gérer ses domaines sans peine. diff --git a/content/deploy/_index.en.md b/content/deploy/_index.en.md index ccda2a6..0ae34a5 100644 --- a/content/deploy/_index.en.md +++ b/content/deploy/_index.en.md @@ -1,12 +1,8 @@ --- date: 2021-01-12T21:38:49+02:00 title: Installation and deployment -chapter: true -weight: 40 ---- - -# Installation and deployment of happyDomain - +archetype: chapter +weight: 4 --- Depending on your concerns, happyDomain can be deployed in different kind of environment. diff --git a/content/deploy/_index.fr.md b/content/deploy/_index.fr.md index a6c7189..fe3e226 100644 --- a/content/deploy/_index.fr.md +++ b/content/deploy/_index.fr.md @@ -1,12 +1,8 @@ --- date: 2020-12-09T19:23:38+01:00 title: Installation et deploiement -chapter: true -weight: 40 ---- - -# Installation et déploiement d'happyDomain - +archetype: chapter +weight: 4 --- Selon vos besoins, happyDomain peut être déployé de différentes manières selon votre environnement. diff --git a/content/deploy/knot.en.md b/content/deploy/knot.en.md index 815b8b6..dbe8b22 100644 --- a/content/deploy/knot.en.md +++ b/content/deploy/knot.en.md @@ -95,7 +95,7 @@ knotc reload ## Link happyDomain and knot -Once `knot` well configured, you can link it to happyDomain using [the *Dynamic DNS* connector]({{< ref "/pages/source-new-choice.md" >}}) : +Once `knot` well configured, you can link it to happyDomain using [the *Dynamic DNS* connector]({{% ref "/pages/source-new-choice.md" %}}) : ![The Dynamic DNS connector on the host selection page](/img/choose-dynamic-dns.png) diff --git a/content/deploy/knot.fr.md b/content/deploy/knot.fr.md index 0fc14ca..d0b14a5 100644 --- a/content/deploy/knot.fr.md +++ b/content/deploy/knot.fr.md @@ -94,7 +94,7 @@ knotc reload ## Liaison entre happyDomain et knot -Une fois `knot` bien configuré, vous pouvez le relier à happyDomain en utilisant [le connecteur *Dynamic DNS*]({{< ref "/pages/source-new-choice.md" >}}) : +Une fois `knot` bien configuré, vous pouvez le relier à happyDomain en utilisant [le connecteur *Dynamic DNS*]({{% ref "/pages/source-new-choice.md" %}}) : ![Le connecteur Dynamic DNS sur la page de choix de l'hébergeur](/img/choose-dynamic-dns.png) diff --git a/content/pages/_index.en.md b/content/pages/_index.en.md index be03f9f..28fffa9 100644 --- a/content/pages/_index.en.md +++ b/content/pages/_index.en.md @@ -2,12 +2,8 @@ date: 2021-01-12T21:38:49+02:00 title: The main displays author: Frederic -chapter: true -weight: 10 ---- - -# The main displays - +archetype: chapter +weight: 1 --- {{% children %}} diff --git a/content/pages/_index.fr.md b/content/pages/_index.fr.md index 83fe3b2..6c0fd0a 100644 --- a/content/pages/_index.fr.md +++ b/content/pages/_index.fr.md @@ -1,12 +1,8 @@ --- date: 2020-12-09T19:23:38+01:00 title: Les principaux écrans -chapter: true -weight: 10 ---- - -# Les principaux écrans - +archetype: chapter +weight: 1 --- {{% children %}} diff --git a/content/pages/domain-new.en.md b/content/pages/domain-new.en.md index 6c4e42e..79c1c3f 100644 --- a/content/pages/domain-new.en.md +++ b/content/pages/domain-new.en.md @@ -5,11 +5,11 @@ author: Frederic weight: 20 --- -You reach this screen after having validated on [home page]({{< relref "home#add-a-domain" >}}) the form to add a domain (and you didn' previously [selected a host in the right filter]({{< relref "home#your-registries-and-domain-hosters" >}})). +You reach this screen after having validated on [home page]({{% relref "home#add-a-domain" %}}) the form to add a domain (and you didn' previously [selected a host in the right filter]({{% relref "home#your-registries-and-domain-hosters" %}})). ## Hosting provider selection You can see on this screen the different hosts you have already configured. If your domain is part of one of the listed accounts, just click on it, it will be added automatically. -If you haven't added the host yet, you can do it now by following the link ["Add now!"]({{< relref "source-new-choice" >}}). \ No newline at end of file +If you haven't added the host yet, you can do it now by following the link ["Add now!"]({{% relref "source-new-choice" %}}). diff --git a/content/pages/domain-new.fr.md b/content/pages/domain-new.fr.md index 2a420ba..afcdaa6 100644 --- a/content/pages/domain-new.fr.md +++ b/content/pages/domain-new.fr.md @@ -4,11 +4,11 @@ title: Ajout d'un domaine weight: 20 --- -Vous accédez à cet écran après avoir validé sur [la page d'accueil]({{< relref "home#ajouter-un-domaine" >}}) le formulaire d'ajout de domaine (et que vous n'aviez pas préalablement [sélectionné d'hébergeur dans le filtre de droite]({{< relref "home#vos-registres-et-hébergeurs-de-domaines" >}})). +Vous accédez à cet écran après avoir validé sur [la page d'accueil]({{% relref "home#ajouter-un-domaine" %}}) le formulaire d'ajout de domaine (et que vous n'aviez pas préalablement [sélectionné d'hébergeur dans le filtre de droite]({{% relref "home#vos-registres-et-hébergeurs-de-domaines" %}})). ## Choix de l'hébergeur Vous pouvez voir sur cet écran les différents hébergeurs que vous avez déjà configuré. Si votre domaine fait parti d'un des comptes listés, cliquez simplement dessus, il sera ajouté automatiquement. -Si vous n'avez pas encore ajouté l'hébergeur, vous pouvez le faire maintenant, en suivant le lien [« Ajouter maintenant ! »]({{< relref "source-new-choice" >}}). +Si vous n'avez pas encore ajouté l'hébergeur, vous pouvez le faire maintenant, en suivant le lien [« Ajouter maintenant ! »]({{% relref "source-new-choice" %}}). diff --git a/content/pages/home.en.md b/content/pages/home.en.md index 3b0f514..abdb73e 100644 --- a/content/pages/home.en.md +++ b/content/pages/home.en.md @@ -13,7 +13,7 @@ The home page presents the list of all the domains managed by happyDomain, whate The domains managed by happyDomain](domain-list.png) -Click one of the domains to start [make changes]({{< relref "domain-abstract" >}}) (add a sub-domain, add a service, ...). +Click one of the domains to start [make changes]({{% relref "domain-abstract" %}}) (add a sub-domain, add a service, ...). ## Your registries and domain hosts @@ -22,7 +22,7 @@ On the right, you can see the list of the different hosting providers for your: The hosters of your domains](hosters-list.png) -You can [add new host]({{< relref "source-new-choice" >}}) by clicking on the + button in the table header. +You can [add new host]({{% relref "source-new-choice" %}}) by clicking on the + button in the table header. Clicking on a row in this table will filter the list of domains to show only domains managed by this host. @@ -35,7 +35,7 @@ To view the entire list again, simply click on the selected host again. ### Modify or remove a host -If you find an error or no longer need a hosting provider, click on the ... on the line of the host concerned. You will then be able to choose between [update information]({{< relref "source-update" >}}) or delete the host: +If you find an error or no longer need a hosting provider, click on the ... on the line of the host concerned. You will then be able to choose between [update information]({{% relref "source-update" %}}) or delete the host: modify or delete a host](hoster-edit.png) @@ -44,7 +44,7 @@ Note that you will not be able to remove the host as long as domains referring t ## Add a domain -You have a new domain you want to manage in happyDomain? Start by entering its name in the field below the list. You will then be guided to the [to choose the host] screen ({{< relref "domain-new" >}}). +You have a new domain you want to manage in happyDomain? Start by entering its name in the field below the list. You will then be guided to the [to choose the host] screen ({{% relref "domain-new" %}}). Location to add a domain that is not listed](new-domain.png) diff --git a/content/pages/home.fr.md b/content/pages/home.fr.md index 2a6bb02..cb1611b 100644 --- a/content/pages/home.fr.md +++ b/content/pages/home.fr.md @@ -12,7 +12,7 @@ La page d'accueil présente la liste de l'ensemble des domaines gérés par happ ![Les domaines gérés par happyDomain](domain-list.png) -Cliquez sur l'un des domaines pour commencer à [y apporter des modifications]({{< relref "domain-abstract" >}}) (ajouter un sous-domaine, ajouter un service, ...). +Cliquez sur l'un des domaines pour commencer à [y apporter des modifications]({{% relref "domain-abstract" %}}) (ajouter un sous-domaine, ajouter un service, ...). ## Vos registres et hébergeurs de domaines @@ -21,7 +21,7 @@ Sur la droite, vous voyez la liste des différents hébergeurs de vos domaines : ![Les hébergeurs de vos domaines](hosters-list.png) -Vous pouvez [ajouter un nouvel hébergeur]({{< relref "source-new-choice" >}}) en cliquant sur le bouton +, présent dans l'en-tête du tableau. +Vous pouvez [ajouter un nouvel hébergeur]({{% relref "source-new-choice" %}}) en cliquant sur le bouton +, présent dans l'en-tête du tableau. En cliquant sur une ligne de ce tableau, vous filtrerez la liste des domaines pour n'afficher que les domaines gérés par cet hébergeur. @@ -34,7 +34,7 @@ Pour afficher à nouveau la liste dans son intégralité, recliquez simplement s ### Modifier ou supprimer un hébergeur -Si vous constatez une erreur ou n'avez plus besoin d'un hébergeur, cliquez sur les ... sur la ligne de l'hébergeur concerné. Vous aurez alors la possibilité de choisir entre [mettre à jour les informations]({{< relref "source-update" >}}) ou supprimer l'hébergeur : +Si vous constatez une erreur ou n'avez plus besoin d'un hébergeur, cliquez sur les ... sur la ligne de l'hébergeur concerné. Vous aurez alors la possibilité de choisir entre [mettre à jour les informations]({{% relref "source-update" %}}) ou supprimer l'hébergeur : ![Modification ou suppression d'un hébergeur](hoster-edit.png) @@ -43,7 +43,7 @@ Notez que vous ne pourrez pas supprimer l'hébergeur tant que des domaines y fai ## Ajouter un domaine -Vous avez un nouveau domaine que vous souhaitez gérer dans happyDomain ? Commencez par entrer son nom dans le champ présent sous la liste. Vous serez ensuite guidé vers l'écran [permettant de choisir l'hébergeur]({{< relref "domain-new" >}}). +Vous avez un nouveau domaine que vous souhaitez gérer dans happyDomain ? Commencez par entrer son nom dans le champ présent sous la liste. Vous serez ensuite guidé vers l'écran [permettant de choisir l'hébergeur]({{% relref "domain-new" %}}). ![Emplacement pour ajouter un domaine qui n'est pas listé](new-domain.png) diff --git a/content/pages/source-list.en.md b/content/pages/source-list.en.md index 2db813d..1262475 100644 --- a/content/pages/source-list.en.md +++ b/content/pages/source-list.en.md @@ -11,7 +11,7 @@ You can access this page by clicking on the the top menu link "The hosts of my d ## Your registries and domain hosts -This page shows only the list of registries and domain hosts you have added to your account, and [allows you to add more]({{< relref "source-new-choice" >}}). +This page shows only the list of registries and domain hosts you have added to your account, and [allows you to add more]({{% relref "source-new-choice" %}}). The hosters of your domains](hosters-list.png) diff --git a/content/pages/source-list.fr.md b/content/pages/source-list.fr.md index cc871f3..888ce35 100644 --- a/content/pages/source-list.fr.md +++ b/content/pages/source-list.fr.md @@ -10,7 +10,7 @@ Vous accédez à cette page en cliquant sur le lien « Les hôtes de mes domaine ## Vos registres et hébergeurs de domaines -Cette page montre uniquement la liste des registres et des hébergeurs de domaines que vous avez ajouté à votre compte, et [vous permet d'en ajouter]({{< relref "source-new-choice" >}}). +Cette page montre uniquement la liste des registres et des hébergeurs de domaines que vous avez ajouté à votre compte, et [vous permet d'en ajouter]({{% relref "source-new-choice" %}}). ![Les hébergeurs de vos domaines](hosters-list.png) diff --git a/content/pages/source-new-choice.en.md b/content/pages/source-new-choice.en.md index d0e4312..542b210 100644 --- a/content/pages/source-new-choice.en.md +++ b/content/pages/source-new-choice.en.md @@ -5,7 +5,7 @@ title: Add a host weight: 17 --- -You access this screen by clicking on the ["My domain hosts"]({{< relref "source-list" >}}) link in the top menu, then by clicking on the "+ Add a new domain host" button. +You access this screen by clicking on the ["My domain hosts"]({{% relref "source-list" %}}) link in the top menu, then by clicking on the "+ Add a new domain host" button. ## Compatible registries and domain hosts @@ -15,6 +15,6 @@ In this screen, you will be asked to select the host among the list of compatibl ![Compatible domain hosters](hosters-choice.png) -Once you have selected it, you are directed to the [Host connection settings]({{< relref "source-update" >}}) screen. +Once you have selected it, you are directed to the [Host connection settings]({{% relref "source-update" %}}) screen. More will be added later, if you can't find yours, contact us! diff --git a/content/pages/source-new-choice.fr.md b/content/pages/source-new-choice.fr.md index 1b20da0..1755708 100644 --- a/content/pages/source-new-choice.fr.md +++ b/content/pages/source-new-choice.fr.md @@ -4,7 +4,7 @@ title: Ajouter un hébergeur weight: 17 --- -Vous accédez à cet écran en cliquant sur le lien [« Les hôtes de mes domaines »]({{< relref "source-list" >}}) dans le menu en haut, puis en cliquant sur le bouton « + Ajouter un nouvel hébergeur de domaines ». +Vous accédez à cet écran en cliquant sur le lien [« Les hôtes de mes domaines »]({{% relref "source-list" %}}) dans le menu en haut, puis en cliquant sur le bouton « + Ajouter un nouvel hébergeur de domaines ». ## Les registres et hébergeurs de domaines compatibles @@ -14,4 +14,4 @@ Dans cet écran, on vous demande de sélectionner, parmi la liste des hébergeur ![Les hébergeurs de domaines compatibles](hosters-choice.png) -Une fois que vous l'avez sélectionné, vous êtes dirigé vers l'écran [de paramétrage de la connexion à l'hébergeur]({{< relref "source-update" >}}). +Une fois que vous l'avez sélectionné, vous êtes dirigé vers l'écran [de paramétrage de la connexion à l'hébergeur]({{% relref "source-update" %}}). diff --git a/content/pages/source-update.en.md b/content/pages/source-update.en.md index 7b748f5..52df619 100644 --- a/content/pages/source-update.en.md +++ b/content/pages/source-update.en.md @@ -10,7 +10,7 @@ weight: 19 You access this screen either: - when you want to add a host, after having selected the provider, -- when you want to change the connection settings between happyDomain and a host, for example on the [home page]({{< relref "home#modify-or-delete-a-host" >}}). +- when you want to change the connection settings between happyDomain and a host, for example on the [home page]({{% relref "home#modify-or-delete-a-host" %}}). ## Connection name diff --git a/content/pages/source-update.fr.md b/content/pages/source-update.fr.md index c5907a5..d3b04a5 100644 --- a/content/pages/source-update.fr.md +++ b/content/pages/source-update.fr.md @@ -9,7 +9,7 @@ weight: 19 Vous accédez à cet écran soit : - lorsque vous souhaitez ajouter un hébergeur, après avoir sélectionné le fournisseur, -- lorsque vous souhaitez modifier les paramètres de connexion entre happyDomain et un hébergeur, par exemple sur la [page d'accueil]({{< relref "home#modifier-ou-supprimer-un-hébergeur" >}}). +- lorsque vous souhaitez modifier les paramètres de connexion entre happyDomain et un hébergeur, par exemple sur la [page d'accueil]({{% relref "home#modifier-ou-supprimer-un-hébergeur" %}}). ## Nom de la connexion diff --git a/content/records/_index.en.md b/content/records/_index.en.md index fe9e74b..41618b0 100644 --- a/content/records/_index.en.md +++ b/content/records/_index.en.md @@ -2,12 +2,8 @@ date: 2021-01-12T21:38:49+02:00 author: Frederic title : DNS records -chapter: true -weight: 20 ---- - -# DNS records - +archetype: chapter +weight: 2 --- {{% children %}} diff --git a/content/records/_index.fr.md b/content/records/_index.fr.md index a02d525..761f6d7 100644 --- a/content/records/_index.fr.md +++ b/content/records/_index.fr.md @@ -1,12 +1,9 @@ --- date: 2020-12-09T19:23:38+01:00 title: Enregistrements DNS -chapter: true -weight: 20 ---- - -# Enregistrements DNS - +author: nemunaire +archetype: chapter +weight: 2 --- {{% children %}} diff --git a/content/services/_index.en.md b/content/services/_index.en.md index a03983d..1a52f3a 100644 --- a/content/services/_index.en.md +++ b/content/services/_index.en.md @@ -2,12 +2,8 @@ date: 2021-01-12T21:38:49+02:00 author: Frederic title: The services -chapter: true -weight: 30 ---- - -# The services - +archetype: chapter +weight: 3 --- {{% children %}} diff --git a/content/services/_index.fr.md b/content/services/_index.fr.md index 4dd3f77..ec7cd8b 100644 --- a/content/services/_index.fr.md +++ b/content/services/_index.fr.md @@ -1,12 +1,8 @@ --- date: 2020-12-09T19:23:38+01:00 title: Les services -chapter: true -weight: 30 ---- - -# Les services - +archetype: chapter +weight: 3 --- {{% children %}} diff --git a/themes/hugo-theme-learn b/themes/hugo-theme-learn deleted file mode 160000 index 3202533..0000000 --- a/themes/hugo-theme-learn +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3202533a746f91c67de1a8fa373c0328ec1b403d diff --git a/themes/hugo-theme-relearn b/themes/hugo-theme-relearn new file mode 160000 index 0000000..32a23db --- /dev/null +++ b/themes/hugo-theme-relearn @@ -0,0 +1 @@ +Subproject commit 32a23dbf44006e7ac19604657b897b1f204753c4