Compare commits

..

10 Commits

Author SHA1 Message Date
Simon 009d12bbc6 WIP
continuous-integration/drone/push Build is failing Details
2024-03-06 15:35:07 +01:00
Henk Verlinde d33d5b6b22 config: update .npmignore 2024-01-12 21:18:22 +01:00
Henk Verlinde bdb5023cf6 meta: update CHANGELOG.md 2024-01-11 21:01:33 +01:00
Henk Verlinde 1b66950abe
Merge pull request #1172 from gethyas/restructure
Restructures dependencies+
2024-01-11 20:53:55 +01:00
Henk Verlinde a6b74916fc feat: restructure dependencies+ 2024-01-11 20:50:52 +01:00
Henk Verlinde ba3962acc1 meta: update templates GitHub 2023-12-28 11:07:19 +01:00
Henk Verlinde 021ae5c4d2 meta: update templates GitHub 2023-12-28 11:06:06 +01:00
Henk Verlinde 1e0d1ffd67 meta: update templates GitHub 2023-12-28 11:03:21 +01:00
Henk Verlinde d2db2b4ff3 meta: update CHANGELOG.md 2023-12-22 16:30:35 +01:00
Henk Verlinde e847c2656e feat: update for doks-core 1.2.0 2023-12-22 16:29:45 +01:00
122 changed files with 1407 additions and 711 deletions

53
.drone.yml Normal file
View File

@ -0,0 +1,53 @@
---
# drone encrypt ResiLien/gare-centrale $AWS_ACCESS_KEY_ID
kind: secret
name: P4PILLON_AWS_ACCESS_KEY_ID
data: scgAo2EiWf8LFrRkUc8YUeDb3z+pQ7m4mlo8f0lbYZX6s4tivnQSsfn5/eRuGbzUU+OA+JwN
---
# drone encrypt ResiLien/gare-centrale $AWS_SECRET_ACCESS_KEY
kind: secret
name: P4PILLON_AWS_SECRET_ACCESS_KEY
data: K+NloJzfqtVJooqdKfmMSG6ATX7N8yMb+7WLCg3yOWrprPKlft0GtHdBUK5q2/9O2by5lv52itTT15B2Dziq7jYvE1oG4e+CDjJU6BIyj+0zFgVk8Hi1kVkPBaw=
---
kind: pipeline
type: docker
name: P4Pillon
steps:
- name: Construction du site
image: node:current-alpine
volumes:
- name: node_modules
path: /drone/src/node_modules
commands:
- npm install
- npm run build
- name: Déploiement sur l'hébergement S3
image: minio/mc
environment:
AWS_ACCESS_KEY_ID:
from_secret: P4PILLON_AWS_ACCESS_KEY_ID
AWS_SECRET_ACCESS_KEY:
from_secret: P4PILLON_AWS_SECRET_ACCESS_KEY
commands:
- mc alias set garage https://s3.garage.resilien.cloud $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY --api S3v4
- mc mirror --overwrite /drone/src/dist garage/app.p4pillon.org
- name: notify
image: plugins/matrix@sha256:f1affb31b0c86963c97c6f976fa0dcb3cc84272057fd8558d609d28b3064bd7f
settings:
homeserver: https://converser.eu
roomid: "QwOITmkKxRJJyCSDOZ:converser.eu"
userid: "resilien:converser.eu"
accesstoken:
from_secret: MATRIX_ACCESSTOKEN
when:
status: [ failure ]
# volumes:
# - name: node_modules
# host:
# path: /tmp/drone/cache/weko/scores.ceiba-conseil.com/node_modules

View File

@ -1,2 +1 @@
assets/js/vendor
node_modules node_modules

25
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@ -0,0 +1,25 @@
---
name: "\U0001F41B Bug report"
about: Report an issue or possible bug
---
## Description
Describe the issue that you're seeing.
### Steps to reproduce
Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue _much_ easier to diagnose (seriously).
### Expected result
What should happen?
### Actual result
What happened.
### Environment
Paste the information here as shown by `npm run info`

View File

@ -1,7 +1,7 @@
contact_links: contact_links:
- name: 📘 Documentation - name: 📘 Documentation
url: https://github.com/gethyas/getdoks.org url: https://github.com/gethyas/getdoks.org
about: File an issue or make an improvement to the docs website. about: File an issue or make an improvement to the Doks website.
- name: 💁 Support - name: 💁 Support
url: https://github.com/gethyas/doks/discussions url: https://github.com/gethyas/doks/discussions
about: 'Get help on Hyas Discussions' about: 'Get help on Doks Discussions'

View File

@ -0,0 +1,17 @@
---
name: "\U0001F4A1 Feature request "
about: Propose and discuss future improvements to Doks
---
## Summary
Brief explanation of the feature.
### Basic example
Include a basic example or links here.
### Motivation
Why are we doing this? What use cases does it support? What is the expected outcome?

18
.github/PULL_REQUEST_TEMPLATE.md vendored Normal file
View File

@ -0,0 +1,18 @@
## Summary
Brief explanation of the proposed changes.
## Basic example
Include a basic example, screenshots, or links.
## Motivation
Why are we doing this? What use cases does it support? What is the expected outcome?
## Checks
- [ ] Read [Create a Pull Request](https://gethyas.com/docs/contributing/how-to-contribute/#create-a-pull-request)
- [ ] Supports all screen sizes (if relevant)
- [ ] Supports both light and dark mode (if relevant)
- [ ] Passes `npm run test`

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ yarn-error.log
node_modules node_modules
public public
resources resources
hugo_stats.json

View File

@ -1,6 +1,2 @@
node_modules !.npmrc
public !.gitignore
resources
.netlify
.hugo_build.lock
yarn-error.log

View File

@ -1,2 +1,2 @@
assets/scss/vendor assets/scss/common/_variables-custom.scss
node_modules node_modules

View File

@ -2,9 +2,7 @@
"extends": "stylelint-config-standard-scss", "extends": "stylelint-config-standard-scss",
"rules": { "rules": {
"no-empty-source": null, "no-empty-source": null,
"string-quotes": "double",
"scss/comment-no-empty": null, "scss/comment-no-empty": null,
"max-line-length": null,
"scss/at-extend-no-missing-placeholder": null, "scss/at-extend-no-missing-placeholder": null,
"at-rule-no-unknown": [ "at-rule-no-unknown": [
true, true,

View File

@ -4,10 +4,27 @@ All notable changes to this project will be documented in this file. Dates are d
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog). Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
#### [v1.3.0](https://github.com/gethyas/doks/compare/v1.2.0...v1.3.0)
- Restructures dependencies+ [`#1172`](https://github.com/gethyas/doks/pull/1172)
- feat: restructure dependencies+ [`a6b7491`](https://github.com/gethyas/doks/commit/a6b74916fc898280687dac342b9b49995ff2502d)
- meta: update templates GitHub [`1e0d1ff`](https://github.com/gethyas/doks/commit/1e0d1ffd677421a7edf3707d53ec1640d972da25)
- meta: update templates GitHub [`021ae5c`](https://github.com/gethyas/doks/commit/021ae5c4d2e45fe58d1f7ddea0bdd351605be472)
#### [v1.2.0](https://github.com/gethyas/doks/compare/v1.1.1...v1.2.0)
> 22 December 2023
- feat: update for doks-core 1.2.0 [`e847c26`](https://github.com/gethyas/doks/commit/e847c2656eddbf187b94adfe03d8904ce77d31db)
- meta: update CHANGELOG.md [`d2db2b4`](https://github.com/gethyas/doks/commit/d2db2b4ff30d61acc959761954a4a7bdccb09d90)
#### [v1.1.1](https://github.com/gethyas/doks/compare/v1.1.0...v1.1.1) #### [v1.1.1](https://github.com/gethyas/doks/compare/v1.1.0...v1.1.1)
> 27 October 2023
- meta: update CHANGELOG.md [`3572f7d`](https://github.com/gethyas/doks/commit/3572f7d148af2487d30bb41d180f484a6df4406d) - meta: update CHANGELOG.md [`3572f7d`](https://github.com/gethyas/doks/commit/3572f7d148af2487d30bb41d180f484a6df4406d)
- deps: bump @hyas/doks-core from 1.1.0 to 1.1.1 [`d5d5914`](https://github.com/gethyas/doks/commit/d5d591403d26c9429225b8f3bb093ac819019c64) - deps: bump @hyas/doks-core from 1.1.0 to 1.1.1 [`d5d5914`](https://github.com/gethyas/doks/commit/d5d591403d26c9429225b8f3bb093ac819019c64)
- meta: update CHANGELOG.md [`e2ef90f`](https://github.com/gethyas/doks/commit/e2ef90fe8c3704a9e16f79850d53b88cd2624284)
#### [v1.1.0](https://github.com/gethyas/doks/compare/v1.0.3...v1.1.0) #### [v1.1.0](https://github.com/gethyas/doks/compare/v1.0.3...v1.1.0)

View File

@ -1,6 +1,6 @@
MIT License MIT License
Copyright (c) 2023 Hyas Copyright (c) 2020-2024 Hyas
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

1
assets/js/custom.js Normal file
View File

@ -0,0 +1 @@
// Put your custom JS code here

0
assets/svgs/.gitkeep Normal file
View File

View File

@ -5,26 +5,23 @@ disableAliases = true
disableHugoGeneratorInject = true disableHugoGeneratorInject = true
# disableKinds = ["taxonomy", "term"] # disableKinds = ["taxonomy", "term"]
enableEmoji = true enableEmoji = true
enableGitInfo = true enableGitInfo = false
enableRobotsTXT = true enableRobotsTXT = true
languageCode = "en-US" languageCode = "fr-FR"
paginate = 10 paginate = 10
rssLimit = 10 rssLimit = 10
summarylength = 20 # 70 (default) summarylength = 20 # 70 (default)
# Multilingual # Multilingual
defaultContentLanguage = "en" defaultContentLanguage = "fr"
disableLanguages = ["de", "nl"] disableLanguages = ["de", "nl", "en"]
defaultContentLanguageInSubdir = false defaultContentLanguageInSubdir = false
copyRight = "Copyright (c) 2020-2023 Henk Verlinde" copyRight = "Copyright (c) 2020-2024 Hyas"
[build.buildStats] [build.buildStats]
enable = true enable = true
[social]
twitter = "getdoks"
[outputs] [outputs]
home = ["HTML", "RSS", "searchIndex"] home = ["HTML", "RSS", "searchIndex"]
section = ["HTML", "RSS", "SITEMAP"] section = ["HTML", "RSS", "SITEMAP"]
@ -52,7 +49,7 @@ rel = "sitemap"
[caches] [caches]
[caches.getjson] [caches.getjson]
dir = ":cacheDir/:project" dir = ":cacheDir/:project"
maxAge = "30m" maxAge = -1 # "30m"
[taxonomies] [taxonomies]
contributor = "contributors" contributor = "contributors"
@ -82,8 +79,8 @@ rel = "sitemap"
weight = 10 weight = 10
[imaging] [imaging]
anchor = "Smart" anchor = "Center"
bgColor = "#ffffff" bgColor = "#ffffff"
hint = "photo" hint = "photo"
quality = 75 quality = 85
resampleFilter = "Box" resampleFilter = "Lanczos"

View File

@ -1,3 +1,11 @@
[fr]
languageName = "Français"
contentDir = "content/fr"
weight = 5
[fr.params]
languageISO = "FR"
languageTag = "fr-FR"
[en] [en]
languageName = "English" languageName = "English"
contentDir = "content/en" contentDir = "content/en"

View File

@ -24,8 +24,8 @@ defaultMarkdownHandler = "goldmark"
lineNumbersInTable = false lineNumbersInTable = false
noClasses = false noClasses = false
noHl = false noHl = false
style = 'github-dark' style = 'monokai'
tabWidth = 4 tabWidth = 2
[tableOfContents] [tableOfContents]
endLevel = 3 endLevel = 3

View File

@ -1,14 +0,0 @@
[[main]]
name = "GitHub"
url = "https://github.com/h-enk/hyas"
weight = 10
[[social]]
name = "LinkedIn"
url = "https://www.linkedin.com/in/henkverlinde/"
weight = 20
[[social]]
name = "Twitter"
url = "https://twitter.com/henkverlinde"
weight = 30

View File

@ -21,19 +21,6 @@
[[mounts]] [[mounts]]
source = "node_modules/@hyas/doks-core/assets" source = "node_modules/@hyas/doks-core/assets"
target = "assets" target = "assets"
excludeFiles = ["scss/common/_variables-custom.scss", "scss/common/_custom.scss"]
[[mounts]]
source = "node_modules/flexsearch"
target = "assets/js/vendor/flexsearch"
[[mounts]]
source = "node_modules/katex"
target = "assets/js/vendor/katex"
[[mounts]]
source = "node_modules/mermaid"
target = "assets/js/vendor/mermaid"
[[mounts]] [[mounts]]
source = "node_modules/@tabler/icons/icons" source = "node_modules/@tabler/icons/icons"
@ -53,10 +40,6 @@
source = "node_modules/@hyas/doks-core/data" source = "node_modules/@hyas/doks-core/data"
target = "data" target = "data"
[[mounts]]
source = "config/_default/hyas"
target = "data"
[[mounts]] [[mounts]]
source = "data" source = "data"
target = "data" target = "data"

View File

@ -3,6 +3,12 @@ title = "My Docs"
description = "Congrats on setting up a new Doks project!" description = "Congrats on setting up a new Doks project!"
images = ["cover.png"] images = ["cover.png"]
# mainSections
mainSections = ["docs"]
[social]
twitter = "getdoks"
# Doks (@hyas/doks-core) # Doks (@hyas/doks-core)
[doks] [doks]
# Color mode # Color mode
@ -64,9 +70,6 @@ images = ["cover.png"]
imageList = true # true (default) or false imageList = true # true (default) or false
imageSingle = true # true (default) or false imageSingle = true # true (default) or false
# KaTex
katex = false
# Repository # Repository
editPage = false # false (default) or true editPage = false # false (default) or true
lastMod = false # false (default) or true lastMod = false # false (default) or true

View File

@ -0,0 +1,9 @@
baseURL = "https://cremeaux.org/"
title = "Cremeaux.org"
[languages.fr.params]
footer = 'Mise en place et hébergé avec sobriété par <a class="text-muted" href="https://resilien.fr/">RésiLien</a>'
[deployment.targets]
name = "production"
URL = "s3://cremeaux.org?endpoint=https://s3.garage.resilien.cloud&disableSSL=true&s3ForcePathStyle=true&region=garage"

View File

@ -0,0 +1,55 @@
[[main]]
name = "Guides"
url = "/docs/introduction/bienvenue/"
weight = 10
[[social]]
name = "Gérer vos données"
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-files" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M15 3v4a1 1 0 0 0 1 1h4" /><path d="M18 17h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h4l5 5v7a2 2 0 0 1 -2 2z" /><path d="M16 17v2a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h2" /></svg>'
url = "https://nuage.cremeaux.org/"
weight = 40
[[social]]
name = "Prise de notes"
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-pencil" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" /><path d="M13.5 6.5l4 4" /></svg>'
url = "https://notes.cremeaux.org/"
weight = 10
[[social]]
name = "Gestion d'évènements"
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-calendar-event" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 5m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" /><path d="M16 3l0 4" /><path d="M8 3l0 4" /><path d="M4 11l16 0" /><path d="M8 15h2v2h-2z" /></svg>'
url = "https://mobilizon.cremeaux.org/"
weight = 20
[[social]]
name = "Gestion de projets"
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-list-details" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M13 5h8" /><path d="M13 9h5" /><path d="M13 15h8" /><path d="M13 19h5" /><path d="M3 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" /><path d="M3 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" /></svg>'
url = "https://projets.cremeaux.org/"
weight = 50
[[social]]
name = "Gestion de PDF"
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-file-type-pdf" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 3v4a1 1 0 0 0 1 1h4" /><path d="M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4" /><path d="M5 18h1.5a1.5 1.5 0 0 0 0 -3h-1.5v6" /><path d="M17 18h2" /><path d="M20 15h-3v6" /><path d="M11 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1z" /></svg>'
url = "https://pdf.cremeaux.org/"
weight = 30
[[social]]
name = "Mots de passe"
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-shield-lock" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3" /><path d="M12 11m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M12 12l0 2.5" /></svg>'
url = "https://pass.cremeaux.org/"
weight = 60
[[footer]]
name = "Mentions légales"
url = "/mentions-legales/"
weight = 10
[[footer]]
name = "Sources du site"
url = "https://git.resilien.fr/Weko/gare-centrale/"
weight = 20
[[footer]]
name = "Statuts des services"
url = "https://status.cremeaux.org/"
weight = 30

View File

@ -0,0 +1,88 @@
# mounts
## archetypes
[[mounts]]
source = "node_modules/@hyas/doks-core/archetypes"
target = "archetypes"
[[mounts]]
source = "archetypes"
target = "archetypes"
## assets
[[mounts]]
source = "node_modules/@hyas/core/assets"
target = "assets"
[[mounts]]
source = "node_modules/@hyas/images/assets"
target = "assets"
excludeFiles = "/scss/**.scss"
[[mounts]]
source = "node_modules/@hyas/doks-core/assets"
target = "assets"
[[mounts]]
source = "node_modules/@tabler/icons/icons"
target = "assets/svgs/tabler-icons"
[[mounts]]
source = "assets"
target = "assets"
## content
[[mounts]]
source = "content/cremeaux.org"
target = "content"
## data
[[mounts]]
source = "node_modules/@hyas/doks-core/data"
target = "data"
[[mounts]]
source = "data"
target = "data"
## i18n
[[mounts]]
source = "node_modules/@hyas/doks-core/i18n"
target = "i18n"
[[mounts]]
source = "i18n"
target = "i18n"
## layouts
[[mounts]]
source = "node_modules/@hyas/core/layouts"
target = "layouts"
[[mounts]]
source = "node_modules/@hyas/seo/layouts"
target = "layouts"
[[mounts]]
source = "node_modules/@hyas/images/layouts"
target = "layouts"
[[mounts]]
source = "node_modules/@hyas/doks-core/layouts"
target = "layouts"
[[mounts]]
source = "node_modules/@hyas/inline-svg/layouts"
target = "layouts"
[[mounts]]
source = "layouts/cremeaux.org"
target = "layouts"
## static
[[mounts]]
source = "node_modules/@hyas/doks-core/static"
target = "static"
[[mounts]]
source = "static"
target = "static"

View File

@ -0,0 +1,9 @@
baseURL = "https://cremeaux.org/"
title = "Cremeaux.org"
[languages.fr.params]
footer = 'Mise en place et hébergé avec sobriété par <a class="text-muted" href="https://resilien.fr/">RésiLien</a>'
[deployment.targets]
name = "production"
URL = "s3://cremeaux.org?endpoint=https://s3.garage.resilien.cloud&disableSSL=true&s3ForcePathStyle=true&region=garage"

View File

@ -0,0 +1,55 @@
[[main]]
name = "Guides"
url = "/docs/introduction/bienvenue/"
weight = 10
[[social]]
name = "Gérer vos données"
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-files" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M15 3v4a1 1 0 0 0 1 1h4" /><path d="M18 17h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h4l5 5v7a2 2 0 0 1 -2 2z" /><path d="M16 17v2a2 2 0 0 1 -2 2h-7a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h2" /></svg>'
url = "https://nuage.cremeaux.org/"
weight = 40
[[social]]
name = "Prise de notes"
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-pencil" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" /><path d="M13.5 6.5l4 4" /></svg>'
url = "https://notes.cremeaux.org/"
weight = 10
[[social]]
name = "Gestion d'évènements"
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-calendar-event" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M4 5m0 2a2 2 0 0 1 2 -2h12a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-12a2 2 0 0 1 -2 -2z" /><path d="M16 3l0 4" /><path d="M8 3l0 4" /><path d="M4 11l16 0" /><path d="M8 15h2v2h-2z" /></svg>'
url = "https://mobilizon.cremeaux.org/"
weight = 20
[[social]]
name = "Gestion de projets"
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-list-details" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M13 5h8" /><path d="M13 9h5" /><path d="M13 15h8" /><path d="M13 19h5" /><path d="M3 4m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" /><path d="M3 14m0 1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z" /></svg>'
url = "https://projets.cremeaux.org/"
weight = 50
[[social]]
name = "Gestion de PDF"
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-file-type-pdf" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M14 3v4a1 1 0 0 0 1 1h4" /><path d="M5 12v-7a2 2 0 0 1 2 -2h7l5 5v4" /><path d="M5 18h1.5a1.5 1.5 0 0 0 0 -3h-1.5v6" /><path d="M17 18h2" /><path d="M20 15h-3v6" /><path d="M11 15v6h1a2 2 0 0 0 2 -2v-2a2 2 0 0 0 -2 -2h-1z" /></svg>'
url = "https://pdf.cremeaux.org/"
weight = 30
[[social]]
name = "Mots de passe"
pre = '<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-shield-lock" width="24" height="24" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M12 3a12 12 0 0 0 8.5 3a12 12 0 0 1 -8.5 15a12 12 0 0 1 -8.5 -15a12 12 0 0 0 8.5 -3" /><path d="M12 11m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" /><path d="M12 12l0 2.5" /></svg>'
url = "https://pass.cremeaux.org/"
weight = 60
[[footer]]
name = "Mentions légales"
url = "/mentions-legales/"
weight = 10
[[footer]]
name = "Sources du site"
url = "https://git.resilien.fr/Weko/gare-centrale/"
weight = 20
[[footer]]
name = "Statuts des services"
url = "https://status.cremeaux.org/"
weight = 30

View File

@ -0,0 +1,88 @@
# mounts
## archetypes
[[mounts]]
source = "node_modules/@hyas/doks-core/archetypes"
target = "archetypes"
[[mounts]]
source = "archetypes"
target = "archetypes"
## assets
[[mounts]]
source = "node_modules/@hyas/core/assets"
target = "assets"
[[mounts]]
source = "node_modules/@hyas/images/assets"
target = "assets"
excludeFiles = "/scss/**.scss"
[[mounts]]
source = "node_modules/@hyas/doks-core/assets"
target = "assets"
[[mounts]]
source = "node_modules/@tabler/icons/icons"
target = "assets/svgs/tabler-icons"
[[mounts]]
source = "assets"
target = "assets"
## content
[[mounts]]
source = "content/cremeaux.org"
target = "content"
## data
[[mounts]]
source = "node_modules/@hyas/doks-core/data"
target = "data"
[[mounts]]
source = "data"
target = "data"
## i18n
[[mounts]]
source = "node_modules/@hyas/doks-core/i18n"
target = "i18n"
[[mounts]]
source = "i18n"
target = "i18n"
## layouts
[[mounts]]
source = "node_modules/@hyas/core/layouts"
target = "layouts"
[[mounts]]
source = "node_modules/@hyas/seo/layouts"
target = "layouts"
[[mounts]]
source = "node_modules/@hyas/images/layouts"
target = "layouts"
[[mounts]]
source = "node_modules/@hyas/doks-core/layouts"
target = "layouts"
[[mounts]]
source = "node_modules/@hyas/inline-svg/layouts"
target = "layouts"
[[mounts]]
source = "layouts/cremeaux.org"
target = "layouts"
## static
[[mounts]]
source = "node_modules/@hyas/doks-core/static"
target = "static"
[[mounts]]
source = "static"
target = "static"

View File

@ -42,11 +42,25 @@ module.exports = {
'show', 'show',
'img-fluid', 'img-fluid',
'blur-up', 'blur-up',
'lazyload',
'lazyloaded', 'lazyloaded',
'alert-link',
'container-fw ',
'container-lg',
'container-fluid',
'offcanvas-backdrop',
'figcaption',
'dt',
'dd',
'showing',
'hiding',
'page-item',
'page-link',
...whitelister([ ...whitelister([
'./assets/scss/**/*.css',
'./assets/scss/**/*.scss', './assets/scss/**/*.scss',
'./node_modules/katex/dist/katex.css', './node_modules/@hyas/doks-core/assets/scss/components/_code.scss',
'./node_modules/@hyas/doks-core/assets/scss/components/_expressive-code.scss',
'./node_modules/@hyas/doks-core/assets/scss/common/_syntax.scss',
]), ]),
], ],
}), }),

View File

@ -0,0 +1,17 @@
---
title : "Outils numériques libres de <a href='https://cremeaux.fr'>Cremeaux</a>"
description: ""
lead: "Ce site web vous met à disposition de multiples services utiles pour collaborer, partager et avoir une vie numérique plus <a href='/docs/introduction/vie-numérique/'>« saine »</a> sur la commune de <a href='https://cremeaux.fr'>Cremeaux</a>."
date: 2023-09-07T16:33:54+02:00
lastmod: 2023-09-07T16:33:54+02:00
draft: false
seo:
title: "Outils numériques libres de Cremeaux" # custom title (optional)
description: "Ce site web vous met à disposition de multiples services utiles pour collaborer, partager et avoir une vie numérique plus « saine » sur la commune de Cremeaux." # custom description (recommended)
canonical: "" # custom canonical URL (optional)
noindex: false # false (default) or true
---
L'association [RésiLien](https://resilien.fr) met à disposition des outils informatiques pour la commune de [Crémeaux](https://cremeaux.fr).
Certains sont gratuit {{< inline-svg src="currency-euro-off" stroke-width="1" stroke="#ee52b7" height="1rem" width="1rem" class="svg-inline-custom" >}} tandis que d'autres nécessitent une adhésion à l'association ou sont payants {{< inline-svg src="currency-euro" stroke-width="1" stroke="#ee52b7" height="1rem" width="1rem" class="svg-inline-custom" >}} en fonction de l'espace utilisé . Vous pouvez nous contacter pour la création d'un compte à [comptes@cremeaux.org](mailto:comptes@cremeaux.org).

View File

@ -0,0 +1 @@
../docs/

View File

@ -0,0 +1,44 @@
---
title: "Mentions légales"
description: ""
summary: ""
date: 2023-09-07T17:19:07+02:00
lastmod: 2023-09-07T17:19:07+02:00
draft: false
type: "legal"
seo:
title: "" # custom title (optional)
description: "" # custom description (recommended)
canonical: "" # custom canonical URL (optional)
noindex: false # false (default) or true
---
## Éditeur
Le site web [https://cremeaux.org](https://cremeaux.org) est édité par l'association [RésiLien](https://resilien.fr).
> SIRET : XXXXXXXXXXXXXX
> Adresse : 315 impasse de la Meliora 42260 Crémeaux
## Directeur de publication
Simon Constans
## Hébergement
Le site web [https://cremeaux.org](https://cremeaux.org) est hébergé avec sobriété par l'association [RésiLien](https://resilien.fr).
> SIRET: XXXXXXXXXXXXXX
> Adresse : 315 impasse de la Meliora 42260 Crémeaux
## Développement et Maintenance
Le site web [https://cremeaux.org](https://cremeaux.org) a été réalisé de façon éco-responsable par [RésiLien](https://resilien.fr).
## Liens hypertextes
Les liens hypertextes mis en œuvre en direction dautres sites WEB ne sauraient engager la responsabilité de Jarnat, car nous nexerçons aucun contrôle sur le contenu des sites auxquels ces liens renvoient.
## Cookie
Ce site ninstalle aucun cookie, cest pourquoi il ny a aucun bandeau spécifique. Nous respectons la vie privée de nos visiteurs.

View File

@ -1,7 +1,7 @@
--- ---
title: "Example Post" title: "Example Post"
description: "Just an example post." description: "Just an example post."
summary: "" summary: "You can use blog posts for announcing product updates and features."
date: 2023-09-07T16:27:22+02:00 date: 2023-09-07T16:27:22+02:00
lastmod: 2023-09-07T16:27:22+02:00 lastmod: 2023-09-07T16:27:22+02:00
draft: false draft: false
@ -17,3 +17,9 @@ seo:
canonical: "" # custom canonical URL (optional) canonical: "" # custom canonical URL (optional)
noindex: false # false (default) or true noindex: false # false (default) or true
--- ---
Well-thought-through product announcements will help increase feature awareness and engage users with new functionality. Just like [sharing your public roadmap](https://canny.io/blog/should-you-have-a-public-roadmap/), it's also a great way to let potential customers see that you're constantly improving.
## Further reading
- Read [How to announce product updates and features](https://canny.io/blog/announce-product-updates-features/)

View File

@ -0,0 +1,17 @@
---
title : "Outils numériques libres de <a href='https://cremeaux.fr'>Cremeaux</a>"
description: ""
lead: "Ce site web vous met à disposition de multiples services utiles pour collaborer, partager et avoir une vie numérique plus <a href='/docs/introduction/vie-numérique/'>« saine »</a> sur la commune de <a href='https://cremeaux.fr'>Cremeaux</a>."
date: 2023-09-07T16:33:54+02:00
lastmod: 2023-09-07T16:33:54+02:00
draft: false
seo:
title: "Outils numériques libres de Cremeaux" # custom title (optional)
description: "Ce site web vous met à disposition de multiples services utiles pour collaborer, partager et avoir une vie numérique plus « saine » sur la commune de Cremeaux." # custom description (recommended)
canonical: "" # custom canonical URL (optional)
noindex: false # false (default) or true
---
L'association [RésiLien](https://resilien.fr) met à disposition des outils informatiques pour la commune de [Crémeaux](https://cremeaux.fr).
Certains sont gratuit {{< inline-svg src="currency-euro-off" stroke-width="1" stroke="#ee52b7" height="1rem" width="1rem" class="svg-inline-custom" >}} tandis que d'autres nécessitent une adhésion à l'association ou sont payants {{< inline-svg src="currency-euro" stroke-width="1" stroke="#ee52b7" height="1rem" width="1rem" class="svg-inline-custom" >}} en fonction de l'espace utilisé . Vous pouvez nous contacter pour la création d'un compte à [comptes@cremeaux.org](mailto:comptes@cremeaux.org).

1
content/cremeaux.org/docs Symbolic link
View File

@ -0,0 +1 @@
../docs/

View File

@ -0,0 +1,44 @@
---
title: "Mentions légales"
description: ""
summary: ""
date: 2023-09-07T17:19:07+02:00
lastmod: 2023-09-07T17:19:07+02:00
draft: false
type: "legal"
seo:
title: "" # custom title (optional)
description: "" # custom description (recommended)
canonical: "" # custom canonical URL (optional)
noindex: false # false (default) or true
---
## Éditeur
Le site web [https://cremeaux.org](https://cremeaux.org) est édité par l'association [RésiLien](https://resilien.fr).
> SIRET : XXXXXXXXXXXXXX
> Adresse : 315 impasse de la Meliora 42260 Crémeaux
## Directeur de publication
Simon Constans
## Hébergement
Le site web [https://cremeaux.org](https://cremeaux.org) est hébergé avec sobriété par l'association [RésiLien](https://resilien.fr).
> SIRET: XXXXXXXXXXXXXX
> Adresse : 315 impasse de la Meliora 42260 Crémeaux
## Développement et Maintenance
Le site web [https://cremeaux.org](https://cremeaux.org) a été réalisé de façon éco-responsable par [RésiLien](https://resilien.fr).
## Liens hypertextes
Les liens hypertextes mis en œuvre en direction dautres sites WEB ne sauraient engager la responsabilité de Jarnat, car nous nexerçons aucun contrôle sur le contenu des sites auxquels ces liens renvoient.
## Cookie
Ce site ninstalle aucun cookie, cest pourquoi il ny a aucun bandeau spécifique. Nous respectons la vie privée de nos visiteurs.

View File

@ -4,7 +4,9 @@
"a", "a",
"article", "article",
"aside", "aside",
"blockquote",
"body", "body",
"br",
"button", "button",
"circle", "circle",
"code", "code",
@ -19,6 +21,7 @@
"h5", "h5",
"head", "head",
"header", "header",
"hr",
"html", "html",
"input", "input",
"kbd", "kbd",
@ -32,7 +35,6 @@
"noscript", "noscript",
"p", "p",
"path", "path",
"pre",
"script", "script",
"section", "section",
"small", "small",
@ -52,27 +54,19 @@
"align-items-center", "align-items-center",
"anchor", "anchor",
"bg-dots", "bg-dots",
"blog",
"blog-header", "blog-header",
"btn", "btn",
"btn-close", "btn-close",
"btn-cta", "btn-group",
"btn-lg",
"btn-link", "btn-link",
"btn-outline-primary",
"btn-primary", "btn-primary",
"btn-toggle", "btn-toggle",
"btn-toggle-nav", "btn-toggle-nav",
"callout",
"callout-body",
"callout-content",
"callout-icon",
"callout-note",
"callout-title",
"card", "card",
"card-body", "card-body",
"card-list", "card-list",
"categories", "categories",
"chroma",
"col-lg-10", "col-lg-10",
"col-lg-11", "col-lg-11",
"col-lg-12", "col-lg-12",
@ -93,6 +87,8 @@
"content", "content",
"contributors", "contributors",
"created-date", "created-date",
"currency-euro",
"currency-euro-off",
"d-flex", "d-flex",
"d-lg-block", "d-lg-block",
"d-lg-none", "d-lg-none",
@ -122,24 +118,25 @@
"fs-5", "fs-5",
"fw-normal", "fw-normal",
"h-auto", "h-auto",
"h3",
"h4", "h4",
"h5", "h5",
"highlight",
"home", "home",
"icon", "icon",
"icon-tabler", "icon-tabler",
"icon-tabler-arrow-left", "icon-tabler-arrow-left",
"icon-tabler-arrow-right", "icon-tabler-arrow-right",
"icon-tabler-brand-github", "icon-tabler-calendar-event",
"icon-tabler-clock",
"icon-tabler-dots-vertical", "icon-tabler-dots-vertical",
"icon-tabler-file-type-pdf",
"icon-tabler-files",
"icon-tabler-list-details",
"icon-tabler-menu", "icon-tabler-menu",
"icon-tabler-moon", "icon-tabler-moon",
"icon-tabler-pencil",
"icon-tabler-search", "icon-tabler-search",
"icon-tabler-shield-lock",
"icon-tabler-sun", "icon-tabler-sun",
"icon-tabler-x", "icon-tabler-x",
"info-circle",
"justify-content-between", "justify-content-between",
"justify-content-center", "justify-content-center",
"justify-content-end", "justify-content-end",
@ -152,12 +149,11 @@
"list-view", "list-view",
"mb-0", "mb-0",
"mb-1", "mb-1",
"mb-3",
"mb-4",
"me-2", "me-2",
"me-auto", "me-auto",
"me-lg-1", "me-lg-1",
"me-lg-3", "me-lg-3",
"mentions-legales",
"message", "message",
"modal", "modal",
"modal-body", "modal-body",
@ -172,7 +168,6 @@
"ms-3", "ms-3",
"ms-lg-2", "ms-lg-2",
"mt-3", "mt-3",
"mt-4",
"mt-n3", "mt-n3",
"mx-2", "mx-2",
"mx-auto", "mx-auto",
@ -198,18 +193,11 @@
"page-links", "page-links",
"page-nav", "page-nav",
"pb-1", "pb-1",
"pb-2",
"pb-3", "pb-3",
"pe-4", "pencil",
"position-relative",
"privacy",
"ps-3",
"pt-4",
"px-0", "px-0",
"query-no-results", "query-no-results",
"reading-time",
"rounded", "rounded",
"rounded-pill",
"row", "row",
"search-form", "search-form",
"search-input", "search-input",
@ -231,9 +219,9 @@
"stretched-link", "stretched-link",
"submitted", "submitted",
"svg-inline", "svg-inline",
"svg-inline-custom",
"tags", "tags",
"taxonomy", "taxonomy",
"text-body",
"text-body-secondary", "text-body-secondary",
"text-center", "text-center",
"text-decoration-none", "text-decoration-none",
@ -252,8 +240,13 @@
"ids": [ "ids": [
"TableOfContents", "TableOfContents",
"buttonColorMode", "buttonColorMode",
"cookie",
"directeur-de-publication",
"doks-docs-nav", "doks-docs-nav",
"développement-et-maintenance",
"further-reading", "further-reading",
"hébergement",
"liens-hypertextes",
"offcanvasNavMain", "offcanvasNavMain",
"offcanvasNavMainLabel", "offcanvasNavMainLabel",
"offcanvasNavSection", "offcanvasNavSection",
@ -268,7 +261,8 @@
"section-45389ee90014e0938cb09409b9a8794d", "section-45389ee90014e0938cb09409b9a8794d",
"section-63d5049791d9d79d86e9a108b0a999ca", "section-63d5049791d9d79d86e9a108b0a999ca",
"socialMenu", "socialMenu",
"toc" "toc",
"éditeur"
] ]
} }
} }

View File

@ -0,0 +1,76 @@
{{ define "main" }}
<section class="section container-fluid mt-n3 pb-3">
<div class="row justify-content-center">
<div class="col-lg-12 text-center">
<h1>{{ .Title | safeHTML }}</h1>
</div>
<div class="col-lg-9 col-xl-8 text-center">
<p class="lead">{{ .Params.lead | safeHTML }}</p>
{{/* <a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}guides/example-guide/" role="button">{{ i18n "get_started" }}</a> */}}
{{/* {{ .Content }} */}}
</div>
</div>
</section>
{{ end }}
{{ define "sidebar-prefooter" }}
{{ if site.Params.doks.backgroundDots -}}
<div class="d-flex justify-content-start">
<div class="bg-dots"></div>
</div>
{{ end -}}
{{ if eq $.Site.Language.LanguageName "Français" }}
<section class="section section-md section-features">
<div class="container">
<div class="row justify-content-center text-center">
<div class="col-lg-5">
<h2 class="h4">
{{- partial "inline-svg" "pencil" }}&nbsp;
Prise de notes&nbsp;
{{- partial "inline-svg" (dict "src" "currency-euro-off" "stroke-width" "1" "stroke" "#ee52b7" "height" "1rem" "width" "1rem" "class" "svg-inline-custom") }}
</h2>
<p>Travaillez en collaboration sur un texte en ligne pour mettre en lumière vos connaissances.</p>
{{/* <p class="text-muted"><small>Propulsé par Outline</small></p> */}}
<div class="btn-group" role="group" aria-label="Basic outlined example">
<a href="/docs/notes/prise-de-notes/" class="btn btn-outline-primary">Guide</a>
<a href="https://notes.cremeaux.org/" class="btn btn-primary">Accéder au service</a>
</div>
</div>
<div class="col-lg-5">
<h2 class="h4">Add new content</h2>
<p>Add Markdown files to <code>content</code> to create new pages.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Configure your site</h2>
<p>Edit your config in <code>config/_default/hyas/doks.toml</code>.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Read the docs</h2>
<p>Learn more in the <a href="https://getdoks.org/">Docs</a>.</p>
</div>
</div>
</div>
</section>
<hr>
<section class="section container-fluid mt-n3 pb-3">
<div class="row justify-content-center">
<div class="col-lg-9 col-xl-8 text-center">
{{ .Content }}
</div>
</div>
</section>
{{ end }}
{{ end }}
{{ define "sidebar-footer" }}
{{ if site.Params.doks.sectionFooter -}}
<section class="section section-md container-fluid bg-light">
<div class="row justify-content-center text-center">
<div class="col-lg-7">
<h2 class="mt-2">Start building with Doks today</h2>
<a class="btn btn-primary rounded-pill px-4 my-2" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}prologue/introduction/" role="button">{{ i18n "get-started" }}</a>
</div>
</div>
</section>
{{ end -}}
{{ end }}

View File

@ -0,0 +1,13 @@
{{/* Put your custom <script></script> tags here */}}
{{/* EXAMPLE - only load script for production
{{ if eq (hugo.Environment) "production" -}}
{{ partial "footer/esbuild" (dict "src" "js/instantpage.js" "load" "async" "transpile" false) -}}
{{ end -}}
*/}}
{{/* EXAMPLE - only load script for a page type e.g. contact or gallery
{{ if eq .Type "gallery" -}}
{{ partial "footer/esbuild" (dict "src" "js/gallery.js" "load" "async" "transpile" false) -}}
{{ end -}}
*/}}

View File

@ -0,0 +1 @@
<!-- Custom head -->

View File

@ -0,0 +1 @@
<!-- Insert scripts NOT needed by stylesheets here -->

View File

@ -0,0 +1,76 @@
{{ define "main" }}
<section class="section container-fluid mt-n3 pb-3">
<div class="row justify-content-center">
<div class="col-lg-12 text-center">
<h1>{{ .Title | safeHTML }}</h1>
</div>
<div class="col-lg-9 col-xl-8 text-center">
<p class="lead">{{ .Params.lead | safeHTML }}</p>
{{/* <a class="btn btn-primary btn-cta rounded-pill btn-lg my-3" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}guides/example-guide/" role="button">{{ i18n "get_started" }}</a> */}}
{{/* {{ .Content }} */}}
</div>
</div>
</section>
{{ end }}
{{ define "sidebar-prefooter" }}
{{ if site.Params.doks.backgroundDots -}}
<div class="d-flex justify-content-start">
<div class="bg-dots"></div>
</div>
{{ end -}}
{{ if eq $.Site.Language.LanguageName "Français" }}
<section class="section section-md section-features">
<div class="container">
<div class="row justify-content-center text-center">
<div class="col-lg-5">
<h2 class="h4">
{{- partial "inline-svg" "pencil" }}&nbsp;
Prise de notes&nbsp;
{{- partial "inline-svg" (dict "src" "currency-euro-off" "stroke-width" "1" "stroke" "#ee52b7" "height" "1rem" "width" "1rem" "class" "svg-inline-custom") }}
</h2>
<p>Travaillez en collaboration sur un texte en ligne pour mettre en lumière vos connaissances.</p>
{{/* <p class="text-muted"><small>Propulsé par Outline</small></p> */}}
<div class="btn-group" role="group" aria-label="Basic outlined example">
<a href="/docs/notes/prise-de-notes/" class="btn btn-outline-primary">Guide</a>
<a href="https://notes.cremeaux.org/" class="btn btn-primary">Accéder au service</a>
</div>
</div>
<div class="col-lg-5">
<h2 class="h4">Add new content</h2>
<p>Add Markdown files to <code>content</code> to create new pages.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Configure your site</h2>
<p>Edit your config in <code>config/_default/hyas/doks.toml</code>.</p>
</div>
<div class="col-lg-5">
<h2 class="h4">Read the docs</h2>
<p>Learn more in the <a href="https://getdoks.org/">Docs</a>.</p>
</div>
</div>
</div>
</section>
<hr>
<section class="section container-fluid mt-n3 pb-3">
<div class="row justify-content-center">
<div class="col-lg-9 col-xl-8 text-center">
{{ .Content }}
</div>
</div>
</section>
{{ end }}
{{ end }}
{{ define "sidebar-footer" }}
{{ if site.Params.doks.sectionFooter -}}
<section class="section section-md container-fluid bg-light">
<div class="row justify-content-center text-center">
<div class="col-lg-7">
<h2 class="mt-2">Start building with Doks today</h2>
<a class="btn btn-primary rounded-pill px-4 my-2" href="/docs/{{ if site.Params.doks.docsVersioning }}{{ site.Params.doks.docsVersion }}/{{ end }}prologue/introduction/" role="button">{{ i18n "get-started" }}</a>
</div>
</div>
</section>
{{ end -}}
{{ end }}

View File

@ -0,0 +1,13 @@
{{/* Put your custom <script></script> tags here */}}
{{/* EXAMPLE - only load script for production
{{ if eq (hugo.Environment) "production" -}}
{{ partial "footer/esbuild" (dict "src" "js/instantpage.js" "load" "async" "transpile" false) -}}
{{ end -}}
*/}}
{{/* EXAMPLE - only load script for a page type e.g. contact or gallery
{{ if eq .Type "gallery" -}}
{{ partial "footer/esbuild" (dict "src" "js/gallery.js" "load" "async" "transpile" false) -}}
{{ end -}}
*/}}

View File

@ -0,0 +1 @@
<!-- Custom head -->

View File

@ -0,0 +1 @@
<!-- Insert scripts NOT needed by stylesheets here -->

View File

@ -0,0 +1,13 @@
{{/* Put your custom <script></script> tags here */}}
{{/* EXAMPLE - only load script for production
{{ if eq (hugo.Environment) "production" -}}
{{ partial "footer/esbuild" (dict "src" "js/instantpage.js" "load" "async" "transpile" false) -}}
{{ end -}}
*/}}
{{/* EXAMPLE - only load script for a page type e.g. contact or gallery
{{ if eq .Type "gallery" -}}
{{ partial "footer/esbuild" (dict "src" "js/gallery.js" "load" "async" "transpile" false) -}}
{{ end -}}
*/}}

View File

@ -0,0 +1 @@
<!-- Custom head -->

View File

@ -0,0 +1 @@
<!-- Insert scripts NOT needed by stylesheets here -->

View File

@ -3,8 +3,8 @@
functions = "functions" functions = "functions"
[build.environment] [build.environment]
NODE_VERSION = "18.12.1" NODE_VERSION = "18.16.1"
NPM_VERSION = "8.19.2" NPM_VERSION = "9.5.1"
[context.production] [context.production]
command = "pnpm build" command = "pnpm build"

1127
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "doks", "name": "doks",
"version": "1.1.1", "version": "1.3.0",
"description": "Doks theme", "description": "Doks theme",
"author": "Hyas", "author": "Hyas",
"license": "MIT", "license": "MIT",
@ -12,9 +12,9 @@
"dev": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender --baseURL=http://localhost --noHTTPCache", "dev": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender --baseURL=http://localhost --noHTTPCache",
"dev:drafts": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender --baseURL=http://localhost --noHTTPCache --buildDrafts", "dev:drafts": "exec-bin node_modules/.bin/hugo/hugo server --bind=0.0.0.0 --disableFastRender --baseURL=http://localhost --noHTTPCache --buildDrafts",
"create": "exec-bin node_modules/.bin/hugo/hugo new", "create": "exec-bin node_modules/.bin/hugo/hugo new",
"lint": "npm run lint:markdown", "lint": "npm run lint:scripts && npm run lint:styles && npm run lint:markdown",
"lint:scripts": "eslint --cache themes/doks/assets/js", "lint:scripts": "eslint --cache assets/js",
"lint:styles": "stylelint --cache \"themes/doks/assets/scss/**/*.{css,sass,scss}\"", "lint:styles": "stylelint --cache \"assets/scss/**/*.{css,sass,scss}\"",
"lint:markdown": "markdownlint-cli2 \"*.md\" \"content/**/*.md\"", "lint:markdown": "markdownlint-cli2 \"*.md\" \"content/**/*.md\"",
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"build": "exec-bin node_modules/.bin/hugo/hugo --minify", "build": "exec-bin node_modules/.bin/hugo/hugo --minify",
@ -26,18 +26,32 @@
"preinfo": "npm version", "preinfo": "npm version",
"info": "npm list", "info": "npm list",
"postinfo": "exec-bin node_modules/.bin/hugo/hugo version", "postinfo": "exec-bin node_modules/.bin/hugo/hugo version",
"postinstall": "shx rm -rf node_modules/.bin/hugo && shx mkdir node_modules/.bin/hugo && shx cp node_modules/gethyas/node_modules/.bin/hugo/* node_modules/.bin/hugo", "postinstall": "hugo-installer --version otherDependencies.hugo --extended --destination node_modules/.bin/hugo",
"version": "auto-changelog -p && git add CHANGELOG.md" "version": "auto-changelog -p && git add CHANGELOG.md"
}, },
"dependencies": { "dependencies": {
"@hyas/doks-core": "^1.1.1" "@hyas/doks-core": "^1.3.0",
"@hyas/images": "^2.0.3",
"@hyas/inline-svg": "^1.0.5",
"@hyas/seo": "^2.1.0",
"@tabler/icons": "^2.40.0",
"exec-bin": "^1.0.0",
"gethyas": "^2.2.2",
"hugo-installer": "^4.0.1"
}, },
"devDependencies": { "devDependencies": {
"auto-changelog": "^2.4.0" "auto-changelog": "^2.4.0",
"shx": "^0.3.4"
},
"otherDependencies": {
"hugo": "0.121.1"
},
"overrides": {
"semver": "^7.5.4"
}, },
"engines": { "engines": {
"node": ">=16.12.0", "node": ">=18.14.1",
"pnpm": ">=8.6.2" "pnpm": ">=8.10.0"
}, },
"packageManager": "pnpm@8.6.2" "packageManager": "pnpm@8.12.0"
} }

0
static/.gitkeep Normal file
View File

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More