Compare commits
12 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 0674f296c3 | |||
| 615affee61 | |||
| e7868166db | |||
| d4e26c0000 | |||
| 1de8199332 | |||
| dc28f379e6 | |||
| a6e31a9676 | |||
| 287fb36a80 | |||
| 1b394ad151 | |||
| 58dd9961e6 | |||
| a25c32fa8b | |||
| b02ec65a5d |
48
.drone.yml
48
.drone.yml
@@ -1,41 +1,38 @@
|
|||||||
---
|
---
|
||||||
# drone encrypt Jarnat/jarnat $AWS_ACCESS_KEY_ID
|
# drone encrypt Weko/jarnat $AWS_ACCESS_KEY_ID
|
||||||
kind: secret
|
kind: secret
|
||||||
name: PRODUCTION_AWS_ACCESS_KEY_ID
|
name: PRODUCTION_AWS_ACCESS_KEY_ID
|
||||||
data: UoUtfAK67HGPeZHY7jOwi0wXeQVjJeaPP7COGDbQ24Uq5exuuv0/e+aVQitPUkpOcTiBuDH1
|
data: /th5QIqUKKWEiFW7AlGt6WIyIRfA7P3BSY23egt7FatmVa9DSgPoezR2vEOL9pkrCapTOhhJ
|
||||||
|
|
||||||
---
|
---
|
||||||
# drone encrypt Jarnat/jarnat $AWS_SECRET_ACCESS_KEY
|
# drone encrypt Weko/jarnat $AWS_SECRET_ACCESS_KEY
|
||||||
kind: secret
|
kind: secret
|
||||||
name: PRODUCTION_AWS_SECRET_ACCESS_KEY
|
name: PRODUCTION_AWS_SECRET_ACCESS_KEY
|
||||||
data: 2xgKaj9MXtc1NiyPLeIRCOLRVYjl7EKCxgUANr+tfrKQdtFk6ey5vAF9u42CLK9QcztSJ7rf3IK9k8/UskAf5/Ytj8jwjHTsxSZrAAm74Sv9c+XS2M1MSGSTEjY=
|
data: k/KDv1h6aQ1mrosL+cruxfcZRBtnpxjIgcLq7sqZI2aEpts/9CmjauppP6XP0uVG35PwM4IR8jilwqkQrECkrc8DHxm7GsRtulyNl7ZhbdkfBqRjqy+w9e/zwBw=
|
||||||
|
|
||||||
---
|
---
|
||||||
# drone encrypt Jarnat/jarnat $AWS_ACCESS_KEY_ID
|
# drone encrypt Weko/jarnat $AWS_ACCESS_KEY_ID
|
||||||
kind: secret
|
kind: secret
|
||||||
name: STAGING_AWS_ACCESS_KEY_ID
|
name: STAGING_AWS_ACCESS_KEY_ID
|
||||||
data: Fj/s8kHdQ4V4YQJLqHNCdtIuPeTXQvRhcqZdJhD+fqvstpHxlARinrp2aB0pzRPmbG27u+Gp
|
data: K3xcuAFbL8rEElaHCvvO9sWIPxzavluZwbQxBACI8C0Nw0Vqn6eNvgGaCVMPb8tZLCEUz/Yf
|
||||||
|
|
||||||
---
|
---
|
||||||
# drone encrypt Jarnat/jarnat $AWS_SECRET_ACCESS_KEY
|
# drone encrypt Weko/jarnat $AWS_SECRET_ACCESS_KEY
|
||||||
kind: secret
|
kind: secret
|
||||||
name: STAGING_AWS_SECRET_ACCESS_KEY
|
name: STAGING_AWS_SECRET_ACCESS_KEY
|
||||||
data: cZ9+WkF1Q70ckB8ruLEcsKxeTw/sw33D7lMtpmTVjnojcLqUoOHx1arTzjtTSMrs7qXXOm6/xgqAcRqh1RPCRfW1RdVdeGHE84MQyTaU0ob+frzH8lNxCH+VMF0=
|
data: U8yV9Pt87uyTGuLrQD8tFB/XPbx0T6FBoZKIQEs5FcMnbDp6lpXEE3K4MamTYU80pT8uJf3rIol9RBzltXuKgutIubYg/vUCBXp28gchuwxymvM7TnRGYkgXa9w=
|
||||||
|
|
||||||
---
|
---
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: docker
|
||||||
name: production
|
name: production
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: arm64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||||
commands:
|
commands:
|
||||||
- hugo --minify --environment production
|
- hugo --minify --environment production
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||||
environment:
|
environment:
|
||||||
@@ -46,6 +43,17 @@ steps:
|
|||||||
commands:
|
commands:
|
||||||
- hugo deploy --environment production
|
- hugo deploy --environment production
|
||||||
|
|
||||||
|
- 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 ]
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
@@ -55,15 +63,12 @@ kind: pipeline
|
|||||||
type: docker
|
type: docker
|
||||||
name: staging
|
name: staging
|
||||||
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: arm64
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||||
commands:
|
commands:
|
||||||
- hugo --minify --buildDrafts --buildFuture --environment staging
|
- hugo --minify --buildDrafts --buildFuture --environment staging
|
||||||
|
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||||
environment:
|
environment:
|
||||||
@@ -73,3 +78,14 @@ steps:
|
|||||||
from_secret: STAGING_AWS_SECRET_ACCESS_KEY
|
from_secret: STAGING_AWS_SECRET_ACCESS_KEY
|
||||||
commands:
|
commands:
|
||||||
- hugo deploy --environment staging
|
- hugo deploy --environment staging
|
||||||
|
|
||||||
|
- 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 ]
|
||||||
|
|||||||
14
README.md
14
README.md
@@ -13,12 +13,12 @@ Vous pouvez retrouver les parties suivantes :
|
|||||||
- Les articles de blog sont dans le dossier [content](./content/) et sont spécifique aux langues
|
- Les articles de blog sont dans le dossier [content](./content/) et sont spécifique aux langues
|
||||||
- Les images statiques sont dans le dossier [static/images](./static/images/) aucun traitement n'est effectué par Hugo, il faut donc qu'elles soient optimisées
|
- Les images statiques sont dans le dossier [static/images](./static/images/) aucun traitement n'est effectué par Hugo, il faut donc qu'elles soient optimisées
|
||||||
- Les données des différentes parties de la page d'accueil sont dans le dossier [data](./data/) avec une partie en [français](./data/fr/) et en [anglais](./data/en/)
|
- Les données des différentes parties de la page d'accueil sont dans le dossier [data](./data/) avec une partie en [français](./data/fr/) et en [anglais](./data/en/)
|
||||||
- Les [services](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/service.yml)
|
- Les [services](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/service.yml)
|
||||||
- Les [modalités](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/cta.yml)
|
- Les [modalités](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/cta.yml)
|
||||||
- Le [Bandeau SAP](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/feature.yml)
|
- Le [Bandeau SAP](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/feature.yml)
|
||||||
- La [zone d'intervention](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/skill.yml)
|
- La [zone d'intervention](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/skill.yml)
|
||||||
- La [vision](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/about.yml)
|
- La [vision](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/about.yml)
|
||||||
- Les [contacts](https://git.weko.io/Jarnat/jarnat/src/branch/main/data/fr/contact.yml)
|
- Les [contacts](https://git.resilien.fr/Weko/jarnat/src/branch/main/data/fr/contact.yml)
|
||||||
- L'ordre des parties sur la page d'accueil sont dans le fichier [index.html](./themes/meghna-hugo/layouts/index.html)
|
- L'ordre des parties sur la page d'accueil sont dans le fichier [index.html](./themes/meghna-hugo/layouts/index.html)
|
||||||
|
|
||||||
## Technologie
|
## Technologie
|
||||||
@@ -32,6 +32,8 @@ Le site utilise :
|
|||||||
- du CSS pour le design
|
- du CSS pour le design
|
||||||
- du [Markdown](https://fr.wikipedia.org/wiki/Markdown) pour le contenu
|
- du [Markdown](https://fr.wikipedia.org/wiki/Markdown) pour le contenu
|
||||||
|
|
||||||
|
Le site est construit par [un robot](https://ci.resilien.fr/Weko/jarnat) qui lance la publication sur staging et la production (après avoir créer une étiquette).
|
||||||
|
|
||||||
# Thème
|
# Thème
|
||||||
|
|
||||||
Pour créer le site nous sommes partis du thème [Meghna](https://gethugothemes.com/products/meghna) de la société [Themefisher](https://themefisher.com/) que nous avons adapté pour correspondre au plus prêt des besoins de Jarnat. Le template a été acheté par la société Weko - CAP Services.
|
Pour créer le site nous sommes partis du thème [Meghna](https://gethugothemes.com/products/meghna) de la société [Themefisher](https://themefisher.com/) que nous avons adapté pour correspondre au plus prêt des besoins de Jarnat. Le template a été acheté par la société Weko - CAP Services.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
# Titre de la page d'accueil
|
# Titre de la page d'accueil
|
||||||
title: Jarnat
|
title: Jarnat - Jardinage au naturel - Bordeaux et alentours
|
||||||
|
|
||||||
# Theme choisi
|
# Theme choisi
|
||||||
theme: meghna-hugo
|
theme: meghna-hugo
|
||||||
@@ -39,7 +39,7 @@ params:
|
|||||||
- link: plugins/magnific-popup/jquery.magnific-popup.min.js
|
- link: plugins/magnific-popup/jquery.magnific-popup.min.js
|
||||||
# - link: plugins/google-map/map.js
|
# - link: plugins/google-map/map.js
|
||||||
logo: images/jarnat-logo.svg
|
logo: images/jarnat-logo.svg
|
||||||
banner: /images/jarnat-banner.svg
|
banner: images/jarnat-banner.png
|
||||||
|
|
||||||
# Permet d'activer ou non le partage d'un article de blog
|
# Permet d'activer ou non le partage d'un article de blog
|
||||||
post_share: false
|
post_share: false
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ deployment:
|
|||||||
targets:
|
targets:
|
||||||
- name: production
|
- name: production
|
||||||
URL: >-
|
URL: >-
|
||||||
s3://jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true®ion=garage
|
s3://jarnat.fr?endpoint=https://s3.garage.resilien.cloud&disableSSL=true&s3ForcePathStyle=true®ion=garage
|
||||||
|
|||||||
@@ -4,4 +4,4 @@ deployment:
|
|||||||
targets:
|
targets:
|
||||||
- name: staging
|
- name: staging
|
||||||
URL: >-
|
URL: >-
|
||||||
s3://staging.jarnat.fr?endpoint=http://10.20.20.25:3900&disableSSL=true&s3ForcePathStyle=true®ion=garage
|
s3://staging.jarnat.fr?endpoint=https://s3.garage.resilien.cloud&disableSSL=true&s3ForcePathStyle=true®ion=garage
|
||||||
|
|||||||
@@ -12,6 +12,10 @@ contact:
|
|||||||
info : "Téléphone : **[06 99 99 00 33](tel:0699990033)**"
|
info : "Téléphone : **[06 99 99 00 33](tel:0699990033)**"
|
||||||
- icon : ti-email # themify icon pack : https://themify.me/themify-icons
|
- icon : ti-email # themify icon pack : https://themify.me/themify-icons
|
||||||
info : "Email : **[bonjour@jarnat.fr](mailto:bonjour@jarnat.fr)**"
|
info : "Email : **[bonjour@jarnat.fr](mailto:bonjour@jarnat.fr)**"
|
||||||
|
- icon : ti-facebook # themify icon pack : https://themify.me/themify-icons
|
||||||
|
info : "Notre page : **[Facebook](https://www.facebook.com/jarnat33)**"
|
||||||
|
- icon : ti-linkedin # themify icon pack : https://themify.me/themify-icons
|
||||||
|
info : "Notre page : **[LinkedIn](https://www.linkedin.com/company/jarnat)**"
|
||||||
|
|
||||||
|
|
||||||
# Contact form
|
# Contact form
|
||||||
|
|||||||
BIN
static/images/jarnat-banner.png
Normal file
BIN
static/images/jarnat-banner.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 59 KiB |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 33 KiB |
@@ -6,9 +6,9 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 text-center">
|
<div class="col-12 text-center">
|
||||||
<h1>404</h1>
|
<h1>Oups</h1>
|
||||||
<h2>Page Not Found</h2>
|
<h2>La page n'existe pas</h2>
|
||||||
<a class="btn btn-main" href="{{ site.BaseURL | relLangURL }}">Back to home</a>
|
<a class="btn btn-main" href="{{ site.BaseURL | relLangURL }}">Retour</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user