From ea05095b9e3cfbda53b433d5aa01e86f79b4950f Mon Sep 17 00:00:00 2001 From: Simon C Date: Thu, 18 May 2023 22:55:17 +0200 Subject: [PATCH] feat: Remove english language --- config/_default/config.toml | 4 +- config/_default/languages.toml | 10 +- config/_default/menus/menus.en.toml | 83 ------------ config/_default/menus/menus.fr.toml | 5 +- config/_default/params.toml | 20 +-- content/_index.md | 9 ++ .../2023/2023-05-11-lancement}/index.md | 2 +- content/{en => }/blog/_index.md | 2 +- content/{fr => }/contact/index.md | 0 content/{en => }/contributors/_index.md | 0 .../contributors/henk-verlinde/_index.md | 0 content/{fr => }/docs/_index.md | 0 content/{fr => }/docs/help/_index.md | 0 content/{fr => }/docs/help/faq.md | 0 content/{fr => }/docs/help/how-to-update.md | 0 content/{fr => }/docs/help/troubleshooting.md | 0 content/{en => }/docs/lorem/_index.md | 0 content/{fr => }/docs/lorem/ipsum/_index.md | 0 .../{fr => }/docs/lorem/ipsum/amet/_index.md | 0 .../lorem/ipsum/amet/consectetur/index.md | 0 .../{fr => }/docs/lorem/ipsum/dolor/index.md | 0 .../{fr => }/docs/lorem/ipsum/sit/index.md | 0 content/{fr => }/docs/prologue/_index.md | 0 content/{fr => }/docs/prologue/commands.md | 0 .../{fr => }/docs/prologue/introduction.md | 0 content/{fr => }/docs/prologue/quick-start.md | 0 content/documentation/_index.md | 10 ++ content/documentation/introduction/_index.md | 10 ++ .../introduction}/introduction.md | 9 +- .../introduction/loire.md} | 18 ++- content/en/_index.md | 9 -- content/en/contact/index.md | 10 -- content/en/docs/_index.md | 9 -- content/en/docs/help/_index.md | 10 -- content/en/docs/help/faq.md | 50 -------- content/en/docs/help/how-to-update.md | 32 ----- content/en/docs/help/troubleshooting.md | 30 ----- content/en/docs/lorem/ipsum/_index.md | 15 --- content/en/docs/lorem/ipsum/amet/_index.md | 15 --- .../lorem/ipsum/amet/consectetur/index.md | 14 -- content/en/docs/lorem/ipsum/dolor/index.md | 14 -- content/en/docs/lorem/ipsum/sit/index.md | 14 -- content/en/docs/prologue/_index.md | 10 -- content/en/docs/prologue/commands.md | 112 ---------------- content/en/docs/prologue/quick-start.md | 79 ------------ content/en/privacy-policy/index.md | 36 ------ content/fr/blog/_index.md | 8 -- content/fr/blog/say-hello-to-doks/index.md | 17 --- content/fr/contributors/_index.md | 10 -- .../fr/contributors/henk-verlinde/_index.md | 12 -- content/fr/docs/lorem/_index.md | 10 -- content/fr/versions.md | 11 -- content/{fr => }/privacy-policy/index.md | 0 content/{en => }/versions.md | 2 +- i18n/en.yaml | 17 --- i18n/fr.yaml | 6 +- layouts/index.html | 60 +++++---- package.json | 6 +- {content/fr => static}/logo.png | Bin static/logo.svg | 120 ++++++++++++++++++ 60 files changed, 227 insertions(+), 693 deletions(-) delete mode 100644 config/_default/menus/menus.en.toml create mode 100644 content/_index.md rename content/{en/blog/say-hello-to-doks => blog/2023/2023-05-11-lancement}/index.md (95%) rename content/{en => }/blog/_index.md (76%) rename content/{fr => }/contact/index.md (100%) rename content/{en => }/contributors/_index.md (100%) rename content/{en => }/contributors/henk-verlinde/_index.md (100%) rename content/{fr => }/docs/_index.md (100%) rename content/{fr => }/docs/help/_index.md (100%) rename content/{fr => }/docs/help/faq.md (100%) rename content/{fr => }/docs/help/how-to-update.md (100%) rename content/{fr => }/docs/help/troubleshooting.md (100%) rename content/{en => }/docs/lorem/_index.md (100%) rename content/{fr => }/docs/lorem/ipsum/_index.md (100%) rename content/{fr => }/docs/lorem/ipsum/amet/_index.md (100%) rename content/{fr => }/docs/lorem/ipsum/amet/consectetur/index.md (100%) rename content/{fr => }/docs/lorem/ipsum/dolor/index.md (100%) rename content/{fr => }/docs/lorem/ipsum/sit/index.md (100%) rename content/{fr => }/docs/prologue/_index.md (100%) rename content/{fr => }/docs/prologue/commands.md (100%) rename content/{fr => }/docs/prologue/introduction.md (100%) rename content/{fr => }/docs/prologue/quick-start.md (100%) create mode 100644 content/documentation/_index.md create mode 100644 content/documentation/introduction/_index.md rename content/{en/docs/prologue => documentation/introduction}/introduction.md (82%) rename content/{fr/_index.md => documentation/introduction/loire.md} (60%) delete mode 100644 content/en/_index.md delete mode 100644 content/en/contact/index.md delete mode 100644 content/en/docs/_index.md delete mode 100644 content/en/docs/help/_index.md delete mode 100644 content/en/docs/help/faq.md delete mode 100644 content/en/docs/help/how-to-update.md delete mode 100644 content/en/docs/help/troubleshooting.md delete mode 100644 content/en/docs/lorem/ipsum/_index.md delete mode 100644 content/en/docs/lorem/ipsum/amet/_index.md delete mode 100644 content/en/docs/lorem/ipsum/amet/consectetur/index.md delete mode 100644 content/en/docs/lorem/ipsum/dolor/index.md delete mode 100644 content/en/docs/lorem/ipsum/sit/index.md delete mode 100644 content/en/docs/prologue/_index.md delete mode 100644 content/en/docs/prologue/commands.md delete mode 100644 content/en/docs/prologue/quick-start.md delete mode 100644 content/en/privacy-policy/index.md delete mode 100644 content/fr/blog/_index.md delete mode 100644 content/fr/blog/say-hello-to-doks/index.md delete mode 100644 content/fr/contributors/_index.md delete mode 100644 content/fr/contributors/henk-verlinde/_index.md delete mode 100644 content/fr/docs/lorem/_index.md delete mode 100644 content/fr/versions.md rename content/{fr => }/privacy-policy/index.md (100%) rename content/{en => }/versions.md (88%) delete mode 100644 i18n/en.yaml rename {content/fr => static}/logo.png (100%) create mode 100644 static/logo.svg diff --git a/config/_default/config.toml b/config/_default/config.toml index 5603555..0a02f4d 100644 --- a/config/_default/config.toml +++ b/config/_default/config.toml @@ -1,4 +1,4 @@ -baseurl = "https://doks-child-theme.netlify.app/" +baseurl = "https://loi.re/" canonifyURLs = false disableAliases = true disableHugoGeneratorInject = true @@ -10,7 +10,7 @@ rssLimit = 10 # Multilingual defaultContentLanguage = "fr" -disableLanguages = ["en"] +#disableLanguages = ["en"] # defaultContentLanguageInSubdir = true # add redirects/headers diff --git a/config/_default/languages.toml b/config/_default/languages.toml index 25ca170..68bc19f 100644 --- a/config/_default/languages.toml +++ b/config/_default/languages.toml @@ -1,14 +1,6 @@ -[en] - languageName = "English" - contentDir = "content/en" - weight = 10 - [en.params] - languageISO = "EN" - languageTag = "en-US" - [fr] languageName = "French" - contentDir = "content/fr" + contentDir = "content" weight = 10 [fr.params] languageISO = "FR" diff --git a/config/_default/menus/menus.en.toml b/config/_default/menus/menus.en.toml deleted file mode 100644 index 5e24b86..0000000 --- a/config/_default/menus/menus.en.toml +++ /dev/null @@ -1,83 +0,0 @@ -[[docs]] - name = "Prologue" - weight = 10 - identifier = "prologue" - url = "/docs/prologue/" - -[[docs]] - name = "Help" - weight = 60 - identifier = "help" - url = "/docs/help/" - -# [[docs]] -# name = "Lorem" -# weight = 70 -# identifier = "lorem" -# url = "/docs/lorem/" - -[[guide]] - name = "Lorem" - weight = 10 - identifier = "lorem" - url = "/guide/lorem/" - -[[tutorial]] - name = "Lorem" - weight = 10 - identifier = "lorem" - url = "/tutorial/lorem/" - -[[main]] - name = "Docs" - url = "/docs/prologue/introduction/" -# url = "/docs/1.0/prologue/introduction/" - weight = 10 - -# [[main]] -# name = "Tutorial" -# url = "/tutorial/lorem/ipsum/" -# weight = 15 - -[[main]] - name = "Blog" - url = "/blog/" - weight = 20 - -[[main]] - name = "Get Started" - weight = 30 - identifier = "get-started" - url = "/docs/prologue/introduction/" - -[[main]] - name = "Quick Start" - weight = 40 - identifier = "quick-start" - url = "/docs/prologue/quick-start/" - parent = "get-started" - -[[main]] - name = "Tutorial" - weight = 50 - identifier = "tutorial" - url = "https://getdoks.org/tutorial/introduction/" - parent = "get-started" - -[[social]] - name = "GitHub" - pre = "" - url = "https://github.com/h-enk/doks" - post = "v0.1.0" - weight = 10 - -[[social]] - name = "Twitter" - pre = "" - url = "https://twitter.com/getdoks" - weight = 20 - -# [[footer]] -# name = "Privacy" -# url = "/privacy-policy/" -# weight = 10 diff --git a/config/_default/menus/menus.fr.toml b/config/_default/menus/menus.fr.toml index 2446387..a209b50 100644 --- a/config/_default/menus/menus.fr.toml +++ b/config/_default/menus/menus.fr.toml @@ -29,9 +29,8 @@ # url = "/tutorial/lorem/" [[main]] - name = "Docs" - url = "/docs/prologue/introduction/" -# url = "/docs/1.0/prologue/introduction/" + name = "Documentation" + url = "/documentation/introduction/bienvenue/" weight = 10 [[main]] diff --git a/config/_default/params.toml b/config/_default/params.toml index cb6750b..f939033 100644 --- a/config/_default/params.toml +++ b/config/_default/params.toml @@ -1,17 +1,17 @@ # Meta Data for SEO ## Homepage -title = "Doks" +title = "Loi.re" titleSeparator = "-" -titleAddition = "Modern Documentation Theme" -description = "Doks is a Hugo theme for building secure, fast, and SEO-ready documentation websites, which you can easily update and customize." +titleAddition = "Services Numériques Libres" +description = "Loi.re propose des services numériques Open Sources hébergés dans le département de *la Loire (42)*." ## Documentation # docsVersion = "0.3" ## Open Graph images = ["doks.png"] -ogLocale = "en_US" +ogLocale = "fr_FR" domainTLD = "doks.netlify.app" titleHome = "Doks Theme" @@ -65,10 +65,10 @@ defaultImage = "default-image.png" # put in `./assets/images/` fillImage = "1270x740 Center" # normalize image size # Footer -footer = "Powered by Netlify, Hugo, and Doks" +footer = "Réalisé par Weko avec ❤️ et Hébergé par RésiLien 🐱 de façon éco-responsable 🍃" # Feed -copyRight = "Copyright (c) 2020-2021 Henk Verlinde" +copyRight = "Copyright (c) 2023 Weko" # Alert alert = false @@ -78,10 +78,10 @@ alertText = "Introducing the Doks child theme, several DX + UX updates, and more # Edit Page # repoHost [Github | Gitea | GitLab | Bitbucket | BitbucketServer ] is used for building the edit link based on git hoster -repoHost = "GitHub" -#repoHost = "Gitea" -docsRepo = "https://github.com/h-enk/doks" -docsRepoBranch = "master" +#repoHost = "GitHub" +repoHost = "Gitea" +docsRepo = "https://git.resilien.fr/Weko/loi.re" +docsRepoBranch = "main" docsRepoSubPath = "" editPage = false lastMod = false diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..f8ab4f6 --- /dev/null +++ b/content/_index.md @@ -0,0 +1,9 @@ +--- +title : "Services Numériques Libres" +description: "L'ensemble des services sont hébergés dans le département de la Loire (42)" +lead: "Ce site WEB vous met à disposition de multiples services utiles pour collaborer, partager et avoir une vie numérique plus « saine ».

Vous trouverez aussi des articles de blog et guides parlant du numérique et son utilisation de façon responsable." +date: 2020-10-06T08:47:36+00:00 +lastmod: 2020-10-06T08:47:36+00:00 +draft: false +images: [] +--- diff --git a/content/en/blog/say-hello-to-doks/index.md b/content/blog/2023/2023-05-11-lancement/index.md similarity index 95% rename from content/en/blog/say-hello-to-doks/index.md rename to content/blog/2023/2023-05-11-lancement/index.md index d14d357..9af997e 100644 --- a/content/en/blog/say-hello-to-doks/index.md +++ b/content/blog/2023/2023-05-11-lancement/index.md @@ -9,7 +9,7 @@ weight: 50 images: [] categories: ["News"] tags: ["security", "performance", "SEO"] -contributors: ["Henk Verlinde"] +contributors: ["Simon"] pinned: false homepage: false --- diff --git a/content/en/blog/_index.md b/content/blog/_index.md similarity index 76% rename from content/en/blog/_index.md rename to content/blog/_index.md index 37cb611..0aedb1f 100644 --- a/content/en/blog/_index.md +++ b/content/blog/_index.md @@ -1,6 +1,6 @@ --- title: "Blog" -description: "The Doks Blog." +description: "Le blog de Loi.re." date: 2020-10-06T08:49:55+00:00 lastmod: 2020-10-06T08:49:55+00:00 draft: false diff --git a/content/fr/contact/index.md b/content/contact/index.md similarity index 100% rename from content/fr/contact/index.md rename to content/contact/index.md diff --git a/content/en/contributors/_index.md b/content/contributors/_index.md similarity index 100% rename from content/en/contributors/_index.md rename to content/contributors/_index.md diff --git a/content/en/contributors/henk-verlinde/_index.md b/content/contributors/henk-verlinde/_index.md similarity index 100% rename from content/en/contributors/henk-verlinde/_index.md rename to content/contributors/henk-verlinde/_index.md diff --git a/content/fr/docs/_index.md b/content/docs/_index.md similarity index 100% rename from content/fr/docs/_index.md rename to content/docs/_index.md diff --git a/content/fr/docs/help/_index.md b/content/docs/help/_index.md similarity index 100% rename from content/fr/docs/help/_index.md rename to content/docs/help/_index.md diff --git a/content/fr/docs/help/faq.md b/content/docs/help/faq.md similarity index 100% rename from content/fr/docs/help/faq.md rename to content/docs/help/faq.md diff --git a/content/fr/docs/help/how-to-update.md b/content/docs/help/how-to-update.md similarity index 100% rename from content/fr/docs/help/how-to-update.md rename to content/docs/help/how-to-update.md diff --git a/content/fr/docs/help/troubleshooting.md b/content/docs/help/troubleshooting.md similarity index 100% rename from content/fr/docs/help/troubleshooting.md rename to content/docs/help/troubleshooting.md diff --git a/content/en/docs/lorem/_index.md b/content/docs/lorem/_index.md similarity index 100% rename from content/en/docs/lorem/_index.md rename to content/docs/lorem/_index.md diff --git a/content/fr/docs/lorem/ipsum/_index.md b/content/docs/lorem/ipsum/_index.md similarity index 100% rename from content/fr/docs/lorem/ipsum/_index.md rename to content/docs/lorem/ipsum/_index.md diff --git a/content/fr/docs/lorem/ipsum/amet/_index.md b/content/docs/lorem/ipsum/amet/_index.md similarity index 100% rename from content/fr/docs/lorem/ipsum/amet/_index.md rename to content/docs/lorem/ipsum/amet/_index.md diff --git a/content/fr/docs/lorem/ipsum/amet/consectetur/index.md b/content/docs/lorem/ipsum/amet/consectetur/index.md similarity index 100% rename from content/fr/docs/lorem/ipsum/amet/consectetur/index.md rename to content/docs/lorem/ipsum/amet/consectetur/index.md diff --git a/content/fr/docs/lorem/ipsum/dolor/index.md b/content/docs/lorem/ipsum/dolor/index.md similarity index 100% rename from content/fr/docs/lorem/ipsum/dolor/index.md rename to content/docs/lorem/ipsum/dolor/index.md diff --git a/content/fr/docs/lorem/ipsum/sit/index.md b/content/docs/lorem/ipsum/sit/index.md similarity index 100% rename from content/fr/docs/lorem/ipsum/sit/index.md rename to content/docs/lorem/ipsum/sit/index.md diff --git a/content/fr/docs/prologue/_index.md b/content/docs/prologue/_index.md similarity index 100% rename from content/fr/docs/prologue/_index.md rename to content/docs/prologue/_index.md diff --git a/content/fr/docs/prologue/commands.md b/content/docs/prologue/commands.md similarity index 100% rename from content/fr/docs/prologue/commands.md rename to content/docs/prologue/commands.md diff --git a/content/fr/docs/prologue/introduction.md b/content/docs/prologue/introduction.md similarity index 100% rename from content/fr/docs/prologue/introduction.md rename to content/docs/prologue/introduction.md diff --git a/content/fr/docs/prologue/quick-start.md b/content/docs/prologue/quick-start.md similarity index 100% rename from content/fr/docs/prologue/quick-start.md rename to content/docs/prologue/quick-start.md diff --git a/content/documentation/_index.md b/content/documentation/_index.md new file mode 100644 index 0000000..251e557 --- /dev/null +++ b/content/documentation/_index.md @@ -0,0 +1,10 @@ +--- +title: "Documentation" +description: "Vous trouverez la documentation autour des outils proposés par Loi.re" +lead: "" +date: 2022-01-25T14:40:56+01:00 +lastmod: 2022-01-25T14:40:56+01:00 +draft: false +images: [] +type: docs +--- diff --git a/content/documentation/introduction/_index.md b/content/documentation/introduction/_index.md new file mode 100644 index 0000000..0dffad6 --- /dev/null +++ b/content/documentation/introduction/_index.md @@ -0,0 +1,10 @@ +--- +title: "Bienvenue !" +description: "" +lead: "" +date: 2022-01-25T14:41:21+01:00 +lastmod: 2022-01-25T14:41:21+01:00 +draft: false +images: [] +type: docs +--- diff --git a/content/en/docs/prologue/introduction.md b/content/documentation/introduction/introduction.md similarity index 82% rename from content/en/docs/prologue/introduction.md rename to content/documentation/introduction/introduction.md index 53a7ed1..e294f5b 100644 --- a/content/en/docs/prologue/introduction.md +++ b/content/documentation/introduction/introduction.md @@ -1,16 +1,17 @@ --- title: "Introduction" description: "Doks is a Hugo theme for building secure, fast, and SEO-ready documentation websites, which you can easily update and customize." -lead: "Doks is a Hugo theme for building secure, fast, and SEO-ready documentation websites, which you can easily update and customize." +lead: "Loi.re est un service en ligne pour permettre au plus de personne d'accéder à des outils numériques libre, vous trouverez de la documentation, des guides ainsi que des articles de blog vous permettant d'avoir un avis plus critique sur l'informatique." date: 2020-10-06T08:48:57+00:00 lastmod: 2020-10-06T08:48:57+00:00 draft: false images: [] menu: docs: - parent: "prologue" + parent: "introduction" weight: 100 toc: true +type: docs --- ## Get started @@ -27,7 +28,7 @@ Step-by-step instructions on how to start a new Doks project. [Tutorial →](htt {{< alert icon="👉" text="The Quick Start is intended for intermediate to advanced users." />}} -One page summary of how to start a new Doks project. [Quick Start →]({{< relref "quick-start" >}}) +One page summary of how to start a new Doks project. [Quick Start →] ## Go further @@ -55,4 +56,4 @@ Find out how to contribute to Doks. [Contributing →](https://getdoks.org/docs/ ## Help -Get help on Doks. [Help →]({{< relref "how-to-update" >}}) +Get help on Doks. [Help →] diff --git a/content/fr/_index.md b/content/documentation/introduction/loire.md similarity index 60% rename from content/fr/_index.md rename to content/documentation/introduction/loire.md index 8159b37..e4281ae 100644 --- a/content/fr/_index.md +++ b/content/documentation/introduction/loire.md @@ -1,11 +1,17 @@ --- -title : "Services Numériques Libres" -description: "L'ensemble des services sont hébergés dans le département de la Loire (42)" -lead: "Ce site WEB vous met à disposition de multiples services utiles pour collaborer, partager et avoir une vie numérique plus « saine ».

Vous trouverez des articles et guides parlant du numérique et son utilisation de façon responsable." -date: 2020-10-06T08:47:36+00:00 -lastmod: 2020-10-06T08:47:36+00:00 -draft: false +title: "La Loire" +description: "Doks is a Hugo theme for building secure, fast, and SEO-ready documentation websites, which you can easily update and customize." +lead: "Doks is a Hugo theme for building secure, fast, and SEO-ready documentation websites, which you can easily update and customize." +date: 2020-10-06T08:48:57+00:00 +lastmod: 2020-10-06T08:48:57+00:00 +draft: true images: [] +menu: + docs: + parent: "introduction" +weight: 100 +toc: true +type: docs --- Dans le département de la Loire, nous avons la chance d'avoir un réseau fibré diff --git a/content/en/_index.md b/content/en/_index.md deleted file mode 100644 index 2e514e8..0000000 --- a/content/en/_index.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title : "Modern Documentation Theme" -description: "Doks is a Hugo theme for building secure, fast, and SEO-ready documentation websites, which you can easily update and customize." -lead: "Doks is a Hugo theme for building secure, fast, and SEO-ready documentation websites, which you can easily update and customize." -date: 2020-10-06T08:47:36+00:00 -lastmod: 2020-10-06T08:47:36+00:00 -draft: false -images: [] ---- diff --git a/content/en/contact/index.md b/content/en/contact/index.md deleted file mode 100644 index 795089f..0000000 --- a/content/en/contact/index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Contact" -description: "Drop us an email." -date: 2020-08-27T19:25:12+02:00 -lastmod: 2020-08-27T19:25:12+02:00 -draft: true -images: [] ---- - -{{< email user="hello" domain="getdoks.org" >}} diff --git a/content/en/docs/_index.md b/content/en/docs/_index.md deleted file mode 100644 index f807c65..0000000 --- a/content/en/docs/_index.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -title : "Docs" -description: "Docs Doks." -lead: "" -date: 2020-10-06T08:48:23+00:00 -lastmod: 2020-10-06T08:48:23+00:00 -draft: false -images: [] ---- diff --git a/content/en/docs/help/_index.md b/content/en/docs/help/_index.md deleted file mode 100644 index b5763a3..0000000 --- a/content/en/docs/help/_index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Help" -description: "Help Doks." -lead: "" -date: 2020-10-06T08:49:15+00:00 -lastmod: 2020-10-06T08:49:15+00:00 -draft: false -images: [] -weight: 600 ---- diff --git a/content/en/docs/help/faq.md b/content/en/docs/help/faq.md deleted file mode 100644 index f0c3bb4..0000000 --- a/content/en/docs/help/faq.md +++ /dev/null @@ -1,50 +0,0 @@ ---- -title: "FAQ" -description: "Answers to frequently asked questions." -lead: "Answers to frequently asked questions." -date: 2020-10-06T08:49:31+00:00 -lastmod: 2020-10-06T08:49:31+00:00 -draft: false -images: [] -menu: - docs: - parent: "help" -weight: 630 -toc: true ---- - -## Hyas? - -Doks is a [Hyas theme](https://gethyas.com/themes/) build by the creator of Hyas. - -## Footer notice? - -Please keep it in place. - -## Keyboard shortcuts for search? - -- focus: `Ctrl + /` -- select: `↓` and `↑` -- open: `Enter` -- close: `Esc` - -## Other documentation? - -- [Netlify](https://docs.netlify.com/) -- [Hugo](https://gohugo.io/documentation/) - -## Can I get support? - -Create a topic: - -- [Netlify Community](https://community.netlify.com/) -- [Hugo Forums](https://discourse.gohugo.io/) -- [Doks Discussions](https://github.com/h-enk/doks/discussions) - -## Contact the creator? - -Send `h-enk` a message: - -- [Netlify Community](https://community.netlify.com/) -- [Hugo Forums](https://discourse.gohugo.io/) -- [Doks Discussions](https://github.com/h-enk/doks/discussions) diff --git a/content/en/docs/help/how-to-update.md b/content/en/docs/help/how-to-update.md deleted file mode 100644 index f9bb36b..0000000 --- a/content/en/docs/help/how-to-update.md +++ /dev/null @@ -1,32 +0,0 @@ ---- -title: "How to Update" -description: "Regularly update the installed npm packages to keep your Doks website stable, usable, and secure." -lead: "Regularly update the installed npm packages to keep your Doks website stable, usable, and secure." -date: 2020-11-12T13:26:54+01:00 -lastmod: 2020-11-12T13:26:54+01:00 -draft: false -images: [] -menu: - docs: - parent: "help" -weight: 610 -toc: true ---- - -{{< alert icon="💡" text="Learn more about semantic versioning and advanced range syntax." />}} - -## Check for outdated packages - -The [`npm outdated`](https://docs.npmjs.com/cli/v7/commands/npm-outdated) command will check the registry to see if any (or, specific) installed packages are currently outdated: - -```bash -npm outdated [[<@scope>/] ...] -``` - -## Update packages - -The [`npm update`](https://docs.npmjs.com/cli/v7/commands/npm-update) command will update all the packages listed to the latest version (specified by the tag config), respecting semver: - -```bash -npm update [...] -``` diff --git a/content/en/docs/help/troubleshooting.md b/content/en/docs/help/troubleshooting.md deleted file mode 100644 index 0d52dbb..0000000 --- a/content/en/docs/help/troubleshooting.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: "Troubleshooting" -description: "Solutions to common problems." -lead: "Solutions to common problems." -date: 2020-11-12T15:22:20+01:00 -lastmod: 2020-11-12T15:22:20+01:00 -draft: false -images: [] -menu: - docs: - parent: "help" -weight: 620 -toc: true ---- - -## Problems updating npm packages - -Delete the `./node_modules` folder, and run again: - -```bash -npm install -``` - -## Problems with cache - -Delete the temporary directories: - -```bash -npm run clean -``` diff --git a/content/en/docs/lorem/ipsum/_index.md b/content/en/docs/lorem/ipsum/_index.md deleted file mode 100644 index e575fc5..0000000 --- a/content/en/docs/lorem/ipsum/_index.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: "Ipsum" -description: "" -lead: "" -date: 2022-01-18T20:00:32+01:00 -lastmod: 2022-01-18T20:00:32+01:00 -draft: false -images: [] -menu: - docs: - parent: "lorem" - identifier: "ipsum" -weight: 999 -toc: true ---- diff --git a/content/en/docs/lorem/ipsum/amet/_index.md b/content/en/docs/lorem/ipsum/amet/_index.md deleted file mode 100644 index dbbeabd..0000000 --- a/content/en/docs/lorem/ipsum/amet/_index.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: "Amet" -description: "" -lead: "" -date: 2022-01-18T20:07:56+01:00 -lastmod: 2022-01-18T20:07:56+01:00 -draft: false -images: [] -menu: - docs: - parent: "ipsum" - identifier: "amet" -weight: 999 -toc: true ---- diff --git a/content/en/docs/lorem/ipsum/amet/consectetur/index.md b/content/en/docs/lorem/ipsum/amet/consectetur/index.md deleted file mode 100644 index 23771e3..0000000 --- a/content/en/docs/lorem/ipsum/amet/consectetur/index.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: "Consectetur" -description: "" -lead: "" -date: 2022-01-18T20:17:32+01:00 -lastmod: 2022-01-18T20:17:32+01:00 -draft: false -images: [] -menu: - docs: - parent: "amet" -weight: 730 -toc: true ---- diff --git a/content/en/docs/lorem/ipsum/dolor/index.md b/content/en/docs/lorem/ipsum/dolor/index.md deleted file mode 100644 index a744e72..0000000 --- a/content/en/docs/lorem/ipsum/dolor/index.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: "Dolor" -description: "" -lead: "" -date: 2022-01-18T20:01:45+01:00 -lastmod: 2022-01-18T20:01:45+01:00 -draft: false -images: [] -menu: - docs: - parent: "ipsum" -weight: 700 -toc: true ---- diff --git a/content/en/docs/lorem/ipsum/sit/index.md b/content/en/docs/lorem/ipsum/sit/index.md deleted file mode 100644 index e4c84e4..0000000 --- a/content/en/docs/lorem/ipsum/sit/index.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: "Sit" -description: "" -lead: "" -date: 2022-01-18T20:05:19+01:00 -lastmod: 2022-01-18T20:05:19+01:00 -draft: false -images: [] -menu: - docs: - parent: "ipsum" -weight: 710 -toc: true ---- diff --git a/content/en/docs/prologue/_index.md b/content/en/docs/prologue/_index.md deleted file mode 100644 index d6b467c..0000000 --- a/content/en/docs/prologue/_index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title : "Prologue" -description: "Prologue Doks." -lead: "" -date: 2020-10-06T08:48:45+00:00 -lastmod: 2020-10-06T08:48:45+00:00 -draft: false -images: [] -weight: 100 ---- diff --git a/content/en/docs/prologue/commands.md b/content/en/docs/prologue/commands.md deleted file mode 100644 index a546026..0000000 --- a/content/en/docs/prologue/commands.md +++ /dev/null @@ -1,112 +0,0 @@ ---- -title: "Commands" -description: "Doks comes with commands for common tasks." -lead: "Doks comes with commands for common tasks." -date: 2020-10-13T15:21:01+02:00 -lastmod: 2020-10-13T15:21:01+02:00 -draft: false -images: [] -menu: - docs: - parent: "prologue" -weight: 130 -toc: true ---- - -{{< alert icon="💡" text="You can change the commands in the scripts section of `./package.json`." />}} - -## create - -Create new content for your site: - -```bash -npm run create [path] [flags] -``` - -See also the Hugo docs: [hugo new](https://gohugo.io/commands/hugo_new/). - -### Docs based tree - -Create a docs based tree — with a single command: - -```bash -npm run create -- --kind docs [section] -``` - -For example, create a docs based tree named guides: - -```bash -npm run create -- --kind docs guides -``` - -## lint - -Check scripts, styles, and markdown for errors: - -```bash -npm run lint -``` - -### scripts - -Check scripts for errors: - -```bash -npm run lint:scripts [-- --fix] -``` - -### styles - -Check styles for errors: - -```bash -npm run lint:styles [-- --fix] -``` - -### markdown - -Check markdown for errors: - -```bash -npm run lint:markdown [-- --fix] -``` - -## clean - -Delete temporary directories: - -```bash -npm run clean -``` - -## start - -Start local development server: - -```bash -npm run start -``` - -## build - -Build production website: - -```bash -npm run build -``` - -### functions - -Build Lambda functions: - -```bash -npm run build:functions -``` - -### preview - -Build production website including draft and future content: - -```bash -npm run build:preview -``` diff --git a/content/en/docs/prologue/quick-start.md b/content/en/docs/prologue/quick-start.md deleted file mode 100644 index e42701e..0000000 --- a/content/en/docs/prologue/quick-start.md +++ /dev/null @@ -1,79 +0,0 @@ ---- -title: "Quick Start" -description: "One page summary of how to start a new Doks project." -lead: "One page summary of how to start a new Doks project." -date: 2020-11-16T13:59:39+01:00 -lastmod: 2020-11-16T13:59:39+01:00 -draft: false -images: [] -menu: - docs: - parent: "prologue" -weight: 110 -toc: true ---- - -## Requirements - -- [Git](https://git-scm.com/) — latest source release -- [Node.js](https://nodejs.org/) — latest LTS version or newer - -{{< details "Why Node.js?" >}} -Doks uses npm (included with Node.js) to centralize dependency management, making it [easy to update]({{< relref "how-to-update" >}}) resources, build tooling, plugins, and build scripts. -{{< /details >}} - -## Start a new Doks project - -Create a new site, change directories, install dependencies, and start development server. - -### Create a new site - -Doks is available as a child theme and a starter theme. - -#### Child theme - -- Intended for novice to intermediate users -- Intended for minor customizations -- [Easily update npm packages]({{< relref "how-to-update" >}}) — __including__ [Doks](https://www.npmjs.com/package/@hyas/doks) - -```bash -git clone https://github.com/h-enk/doks-child-theme.git my-doks-site -``` - -#### Starter theme - -- Intended for intermediate to advanced users -- Intended for major customizations -- [Easily update npm packages]({{< relref "how-to-update" >}}) - -```bash -git clone https://github.com/h-enk/doks.git my-doks-site -``` - -{{< details "Help me choose" >}} -Not sure which one is for you? Pick the child theme. -{{< /details >}} - -### Change directories - -```bash -cd my-doks-site -``` - -### Install dependencies - -```bash -npm install -``` - -### Start development server - -```bash -npm run start -``` - -Doks will start the Hugo development webserver accessible by default at `http://localhost:1313`. Saved changes will live reload in the browser. - -## Other commands - -Doks comes with commands for common tasks. [Commands →]({{< relref "commands" >}}) diff --git a/content/en/privacy-policy/index.md b/content/en/privacy-policy/index.md deleted file mode 100644 index 6315024..0000000 --- a/content/en/privacy-policy/index.md +++ /dev/null @@ -1,36 +0,0 @@ ---- -title: "Privacy Policy" -description: "We do not use cookies and we do not collect any personal data." -date: 2020-08-27T19:23:18+02:00 -lastmod: 2020-08-27T19:23:18+02:00 -draft: true -images: [] ---- - -__TLDR__: We do not use cookies and we do not collect any personal data. - -## Website visitors - -- No personal information is collected. -- No information is stored in the browser. -- No information is shared with, sent to or sold to third-parties. -- No information is shared with advertising companies. -- No information is mined and harvested for personal and behavioral trends. -- No information is monetized. - -### Information we collect and what we use it for - -We run [Plausible](https://plausible.io/) analytics on getdoks.org. The following information is collected: - -- __Page URL__. We track the page URL of each page view on this website. We use this to understand which pages have been viewed and how many times a particular page has been viewed. For example: _https://getdoks.org/_. -- __HTTP Referrer__. We use the referrer string to understand the number of visitors referred to this website from links on other sites. For example: _https://github.com/_. -- __Browser__. We use this to understand what browsers people use when visiting this website. This is derived from the User-Agent HTTP header. The full User-Agent is discarded. For example: _Chrome_. -- __Operating system__. We use this to understand what operating systems people use when visiting this website. We only use the brand of the operating system and don’t include the version number or any other details. This is derived from the User-Agent HTTP header. The full User-Agent is discarded. For example: _GNU/Linux_. -- __Device type__. We use this to understand what devices people use when visiting this website. This is derived from window.innerWidth. The actual width of the browser in pixels is discarded. For example: _Desktop_. -- __Visitor Country__. We look up the visitor’s country using the IP address. We do not track anything more granular than the country of origin and the IP address of the visitor is discarded. We never store IP addresses in our database or logs. For example: _Canada_. - -## Contact us - -[Contact us]({{< relref "contact/index.md" >}}) if you have any questions. - -Effective Date: _27th August 2020_ diff --git a/content/fr/blog/_index.md b/content/fr/blog/_index.md deleted file mode 100644 index a2afed5..0000000 --- a/content/fr/blog/_index.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -title: "Blog" -description: "The Doks Blog." -date: 2020-10-06T08:49:55+00:00 -lastmod: 2020-10-06T08:49:55+00:00 -draft: true -images: [] ---- diff --git a/content/fr/blog/say-hello-to-doks/index.md b/content/fr/blog/say-hello-to-doks/index.md deleted file mode 100644 index ecb6fff..0000000 --- a/content/fr/blog/say-hello-to-doks/index.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -title: "Say hello to Doks 👋" -description: "Introducing Doks, a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default." -excerpt: "Introducing Doks, a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default." -date: 2020-11-04T09:19:42+01:00 -lastmod: 2020-11-04T09:19:42+01:00 -draft: true -weight: 50 -images: [] -categories: ["News"] -tags: ["security", "performance", "SEO"] -contributors: ["Henk Verlinde"] -pinned: false -homepage: false ---- - -Introducing Doks, a Hugo theme helping you build modern documentation websites that are secure, fast, and SEO-ready — by default. diff --git a/content/fr/contributors/_index.md b/content/fr/contributors/_index.md deleted file mode 100644 index e225f34..0000000 --- a/content/fr/contributors/_index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Contributors" -description: "The Doks contributors." -date: 2020-10-06T08:50:29+00:00 -lastmod: 2020-10-06T08:50:29+00:00 -draft: false -images: [] ---- - -The Doks contributors. diff --git a/content/fr/contributors/henk-verlinde/_index.md b/content/fr/contributors/henk-verlinde/_index.md deleted file mode 100644 index f775534..0000000 --- a/content/fr/contributors/henk-verlinde/_index.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: "Henk Verlinde" -description: "Creator of Hyas." -date: 2020-10-06T08:50:45+00:00 -lastmod: 2020-10-06T08:50:45+00:00 -draft: false -images: [] ---- - -Creator of Hyas. - -[@HenkVerlinde](https://twitter.com/henkverlinde) diff --git a/content/fr/docs/lorem/_index.md b/content/fr/docs/lorem/_index.md deleted file mode 100644 index 86fcd8f..0000000 --- a/content/fr/docs/lorem/_index.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Lorem" -description: "" -lead: "" -date: 2022-01-18T19:58:14+01:00 -lastmod: 2022-01-18T19:58:14+01:00 -draft: true -images: [] -toc: true ---- diff --git a/content/fr/versions.md b/content/fr/versions.md deleted file mode 100644 index ddbe002..0000000 --- a/content/fr/versions.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -title: "Versions" -description: "" -lead: "An appendix of hosted documentation for nearly every release of Doks, from v0 through v3." -date: 2021-09-24T08:50:23+02:00 -lastmod: 2021-09-24T08:50:23+02:00 -draft: true -images: [] -layout: versions -url: "/docs/versions/" ---- diff --git a/content/fr/privacy-policy/index.md b/content/privacy-policy/index.md similarity index 100% rename from content/fr/privacy-policy/index.md rename to content/privacy-policy/index.md diff --git a/content/en/versions.md b/content/versions.md similarity index 88% rename from content/en/versions.md rename to content/versions.md index ddbe002..46553f4 100644 --- a/content/en/versions.md +++ b/content/versions.md @@ -7,5 +7,5 @@ lastmod: 2021-09-24T08:50:23+02:00 draft: true images: [] layout: versions -url: "/docs/versions/" +url: "/documentation/versions/" --- diff --git a/i18n/en.yaml b/i18n/en.yaml deleted file mode 100644 index 05ff248..0000000 --- a/i18n/en.yaml +++ /dev/null @@ -1,17 +0,0 @@ -- id: get-started - translation: "Get Started" - -- id: on-this-page - translation: "On this page" - -- id: search-text - translation: "Search docs..." - -- id: 404-title - translation: "Page not found :(" - -- id: 404-text - translation: "The page you are looking for doesn't exist or has been moved." - -- id: browse - translation: "Browse" diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 05ff248..acc17ea 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -5,13 +5,13 @@ translation: "On this page" - id: search-text - translation: "Search docs..." + translation: "Rechercher..." - id: 404-title - translation: "Page not found :(" + translation: "Cette page n'existe pas :(" - id: 404-text - translation: "The page you are looking for doesn't exist or has been moved." + translation: "La page que vous recherchez n'existe pas ou a changé d'emplacement." - id: browse translation: "Browse" diff --git a/layouts/index.html b/layouts/index.html index 720be65..8d8e24d 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,13 +1,17 @@ {{ define "main" }} -
+
+
+ Logo de Loi.re +
+
+

{{ .Title }}

{{ .Params.lead | safeHTML }}

- Get Started -

Open-source MIT Licensed. GitHub v{{ $data := getJSON "/package.json" }}{{ $data.version }}

+ En savoir plus
@@ -18,30 +22,40 @@
-

Security aware

-

Get A+ scores on Mozilla Observatory out of the box. Easily change the default Security Headers to suit your needs.

+

+ Mots de passes +

+

Facilitez vous la gestion de vos mots de passes, avec ce service libre vous avez besoin de retenir qu'un seul mot de passe.

+
-

Fast by default ⚡️

-

Get 100 scores on Google Lighthouse by default. Doks removes unused css, prefetches links, and lazy loads images.

+

+ Gestion de PDF +

+

+ Signer, parapher, tamponner, compléter un document PDF mais aussi fusionner, + trier, pivoter, supprimer, extraire des pages ! +

+
-

SEO-ready

-

Use sensible defaults for structured data, open graph, and Twitter cards. Or easily change the SEO settings to your liking.

-
-
-
-
-

Full text search

-

Search your Doks site with FlexSearch. Easily customize index settings and search options to your liking.

-
-
-

Page layouts

-

Build pages with a landing page, blog, or documentation layout. Add custom sections and components to suit your needs.

-
-
-

Dark mode

-

Switch to a low-light UI with the click of a button. Change colors with variables to match your branding.

+

+ Discussion & support +

+

+ Vous avez des questions sur un service, une mauvaise compréhension du numérique, + besoin d'aide. N'hésitez pas ! +

+
diff --git a/package.json b/package.json index 53d15aa..216c588 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { - "name": "doks-child-theme", - "description": "Doks child theme", - "version": "0.5.0", + "name": "loi.re", + "description": "Services Numériques Libres dans le département de la Loire (42)", + "version": "0.1.0", "engines": { "node": ">=16.16.0" }, diff --git a/content/fr/logo.png b/static/logo.png similarity index 100% rename from content/fr/logo.png rename to static/logo.png diff --git a/static/logo.svg b/static/logo.svg new file mode 100644 index 0000000..9a3de5b --- /dev/null +++ b/static/logo.svg @@ -0,0 +1,120 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + LOI + RE + + + + + +