Compare commits
33 Commits
f9d69e6101
...
master
Author | SHA1 | Date | |
---|---|---|---|
dc6e261895 | |||
e68ffcf65f | |||
6cc65c1ff2 | |||
36f1915d86 | |||
4ce0a04f96 | |||
a7abcd5b4c | |||
6a8a86114e | |||
e19161e873 | |||
56d7fd04f7 | |||
f371af27f6 | |||
499b222080 | |||
51bde5286f | |||
068adabe33 | |||
47acf1774d | |||
baf8c3f751 | |||
89843f2353 | |||
16c0de360f | |||
c2baa7c264 | |||
dc1713cd71 | |||
da5e693f22 | |||
8040f62eb0 | |||
175aac23e7 | |||
99722d5857 | |||
dc26afe2cb | |||
a33dfc9322 | |||
91480a8fdd | |||
870fada7fc | |||
ae17bfc36a | |||
04c6bfcf60 | |||
aa8cb94a29 | |||
aad4760cab | |||
1aad5c8c4e | |||
2f797de1f0 |
62
.drone.yml
62
.drone.yml
@ -39,11 +39,22 @@ kind: pipeline
|
||||
type: docker
|
||||
name: prod
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: install submodule
|
||||
image: drone/git
|
||||
- name: clone
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git submodule update --init
|
||||
- git clone --depth 1 --recursive $DRONE_REPO_LINK .
|
||||
# volumes:
|
||||
# - name: source
|
||||
# path: /drone/src/
|
||||
|
||||
# - name: install submodule
|
||||
# image: drone/git
|
||||
# commands:
|
||||
# - git submodule update --init
|
||||
|
||||
- name: install npm
|
||||
image: node:current-alpine
|
||||
@ -60,10 +71,10 @@ steps:
|
||||
- node scripts/directus-to-markdown/index.js
|
||||
|
||||
- name: build website
|
||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||
# volumes:
|
||||
# - name: hugo-resources
|
||||
# path: /drone/src/resources
|
||||
image: hugomods/hugo:base-0.121.1
|
||||
volumes:
|
||||
- name: hugo-resources
|
||||
path: /drone/src/resources
|
||||
commands:
|
||||
- hugo --minify --environment production
|
||||
|
||||
@ -76,7 +87,7 @@ steps:
|
||||
- node themes/hugo-theme-lowtech/scripts/typo
|
||||
|
||||
- name: deploy
|
||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||
image: hugomods/hugo:base-0.121.1
|
||||
environment:
|
||||
AWS_ACCESS_KEY_ID:
|
||||
from_secret: PRODUCTION_AWS_ACCESS_KEY_ID
|
||||
@ -103,17 +114,31 @@ volumes:
|
||||
- name: hugo-resources
|
||||
host:
|
||||
path: /tmp/drone/cache/weko/cremeaux/resources
|
||||
- name: source
|
||||
host:
|
||||
path: /tmp/drone/cache/weko/cremeaux/source
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: staging
|
||||
|
||||
clone:
|
||||
disable: true
|
||||
|
||||
steps:
|
||||
- name: install submodule
|
||||
image: drone/git
|
||||
- name: clone
|
||||
image: alpine/git
|
||||
commands:
|
||||
- git submodule update --init
|
||||
- git clone --depth 1 --recursive $DRONE_REPO_LINK .
|
||||
# volumes:
|
||||
# - name: source
|
||||
# path: /drone/src/
|
||||
|
||||
# - name: install submodule
|
||||
# image: drone/git
|
||||
# commands:
|
||||
# - git submodule update --init
|
||||
|
||||
- name: install npm
|
||||
image: node:current-alpine
|
||||
@ -127,13 +152,13 @@ steps:
|
||||
from_secret: DIRECTUS_TOKEN
|
||||
commands:
|
||||
- (cd themes/hugo-theme-lowtech && npm i)
|
||||
- DRAFT=true node scripts/directus-to-markdown/staging.js
|
||||
- DRAFT=true node scripts/directus-to-markdown/index.js
|
||||
|
||||
- name: build website
|
||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||
# volumes:
|
||||
# - name: hugo-resources
|
||||
# path: /drone/src/resources
|
||||
image: hugomods/hugo:base-0.121.1
|
||||
volumes:
|
||||
- name: hugo-resources
|
||||
path: /drone/src/resources
|
||||
commands:
|
||||
- hugo --minify --buildDrafts --buildFuture --environment staging
|
||||
|
||||
@ -146,7 +171,7 @@ steps:
|
||||
- node themes/hugo-theme-lowtech/scripts/typo
|
||||
|
||||
- name: deploy
|
||||
image: klakegg/hugo:0.101.0-ext-debian-ci
|
||||
image: hugomods/hugo:base-0.121.1
|
||||
environment:
|
||||
AWS_ACCESS_KEY_ID:
|
||||
from_secret: STAGING_AWS_ACCESS_KEY_ID
|
||||
@ -162,3 +187,6 @@ volumes:
|
||||
- name: hugo-resources
|
||||
host:
|
||||
path: /tmp/drone/cache/weko/staging.cremeaux/resources
|
||||
- name: source
|
||||
host:
|
||||
path: /tmp/drone/cache/weko/staging.cremeaux/source
|
||||
|
2
.gitmodules
vendored
2
.gitmodules
vendored
@ -1,3 +1,3 @@
|
||||
[submodule "themes/hugo-theme-lowtech"]
|
||||
path = themes/hugo-theme-lowtech
|
||||
url = https://git.weko.io/kosssi/hugo-theme-lowtech.git
|
||||
url = https://git.resilien.fr/kosssi/hugo-theme-lowtech.git
|
||||
|
@ -1,12 +1,13 @@
|
||||
.masonry
|
||||
column-gap: 30px
|
||||
column-fill: initial
|
||||
column-count: 2
|
||||
|
||||
@media only screen and (min-width: 1024px)
|
||||
column-count: 4
|
||||
column-count: 2
|
||||
|
||||
@media only screen and (max-width: 1023px) and (min-width: 768px)
|
||||
column-count: 3
|
||||
column-count: 2
|
||||
|
||||
@media only screen and (max-width: 767px) and (min-width: 540px)
|
||||
column-count: 2
|
||||
@ -32,5 +33,5 @@
|
||||
|
||||
img
|
||||
width: 100%
|
||||
max-width: 300px
|
||||
max-width: 600px
|
||||
margin: 0 auto 1rem
|
||||
|
@ -4,6 +4,20 @@
|
||||
height: 40vh
|
||||
position: relative
|
||||
|
||||
&.actu
|
||||
background-color: var(--color-green)
|
||||
height: calc(106px + 4rem + 2rem)
|
||||
.nav
|
||||
top: 2rem
|
||||
|
||||
@media screen and (max-width: $size-md)
|
||||
height: calc(86px + 4rem + 2rem)
|
||||
|
||||
@media screen and (max-width: $size-sm)
|
||||
height: calc(86px + 3rem + 2rem)
|
||||
.nav
|
||||
top: 1.5rem
|
||||
|
||||
&.home
|
||||
height: 60vh
|
||||
.hero
|
||||
@ -30,6 +44,7 @@
|
||||
right: 0
|
||||
background-color: var(--color-secondary)
|
||||
height: $nav-height
|
||||
z-index: 50
|
||||
|
||||
@media screen and (max-width: $size-md)
|
||||
top: 30px
|
||||
@ -73,6 +88,9 @@
|
||||
margin: 0
|
||||
height: $nav-height
|
||||
|
||||
li
|
||||
padding-bottom: 0
|
||||
|
||||
.viemunicipale, .viemunicipale a
|
||||
color: var(--color-green)
|
||||
font-weight: bold
|
||||
|
@ -79,6 +79,9 @@ li
|
||||
margin-top: -10vh
|
||||
min-height: 50vh
|
||||
|
||||
.hero
|
||||
margin: auto
|
||||
|
||||
@media screen and (max-width: $size-md)
|
||||
min-height: inherit
|
||||
|
||||
@ -93,7 +96,7 @@ li
|
||||
margin: 0
|
||||
padding: 1rem
|
||||
@media screen and (max-width: $size-xs)
|
||||
padding: 1rem .5rem
|
||||
padding: .5rem
|
||||
|
||||
.containerGrid
|
||||
display: flex
|
||||
@ -162,6 +165,12 @@ li
|
||||
a
|
||||
color: white
|
||||
|
||||
.actu + #content
|
||||
margin-top: -4rem
|
||||
@media screen and (max-width: $size-md)
|
||||
.container
|
||||
|
||||
|
||||
.nouveautes
|
||||
border: 1px solid black
|
||||
padding: 20px
|
||||
@ -249,7 +258,7 @@ hr
|
||||
font-size: .9rem
|
||||
|
||||
.md
|
||||
max-width: 650px
|
||||
max-width: 1024px
|
||||
margin-left: auto
|
||||
margin-right: auto
|
||||
@media screen and (max-width: $size-sm)
|
||||
|
@ -28,11 +28,14 @@ $size-news: 100px
|
||||
width: $size-la-une
|
||||
height: $size-la-une
|
||||
@media screen and (max-width: $size-sm)
|
||||
background: white
|
||||
width: 100%
|
||||
overflow: hidden
|
||||
margin: 0
|
||||
img
|
||||
width: 100%
|
||||
width: auto
|
||||
margin: 0 auto
|
||||
max-height: 100%
|
||||
.details
|
||||
padding: 20px
|
||||
background: var(--color-grey)
|
||||
|
@ -1,19 +0,0 @@
|
||||
---
|
||||
denomination: À Petit Point
|
||||
title: À Petit Point
|
||||
description: null
|
||||
mail: null
|
||||
telephone: '0477625396'
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Présidente
|
||||
prenom: Bénédicte
|
||||
nom: JOUHANNAUD-DUBOST
|
||||
telephone: 04 77 62 53 96
|
||||
- denomination: Trésorière
|
||||
prenom: Françoise
|
||||
nom: PETELET
|
||||
---
|
||||
|
||||
|
@ -1,24 +0,0 @@
|
||||
---
|
||||
denomination: Amicale des Donneurs de Sang
|
||||
title: Amicale des Donneurs de Sang
|
||||
description: null
|
||||
mail: null
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Présidente
|
||||
prenom: Annie
|
||||
nom: PONCET
|
||||
- denomination: Vice-président
|
||||
prenom: Marcel
|
||||
nom: PEURIÈRE
|
||||
- denomination: Vice-président
|
||||
prenom: Dominique
|
||||
nom: PEURIÈRE
|
||||
- denomination: Trésorière
|
||||
prenom: Denise
|
||||
nom: CHAUX
|
||||
---
|
||||
|
||||
|
@ -1,33 +0,0 @@
|
||||
---
|
||||
denomination: Amicale des Pompiers
|
||||
title: Amicale des Pompiers
|
||||
description: null
|
||||
mail: amicale.cremeaux@sdis42.fr
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Président
|
||||
prenom: Sylvain
|
||||
nom: CROZET
|
||||
- denomination: Trésorier
|
||||
prenom: Nicolas
|
||||
nom: CHAVALLARD
|
||||
- denomination: Secrétaire
|
||||
prenom: Pauline
|
||||
nom: BADOUARD
|
||||
- denomination: Vice Trésorier
|
||||
prenom: Salim
|
||||
nom: Lachamp
|
||||
- denomination: Vice secrétaire
|
||||
prenom: Christophe
|
||||
nom: Dejob
|
||||
- denomination: Vice Trésorier
|
||||
prenom: Salim
|
||||
nom: Lachamp
|
||||
- denomination: Vice secrétaire
|
||||
prenom: Christophe
|
||||
nom: Dejob
|
||||
---
|
||||
|
||||
|
@ -1,36 +0,0 @@
|
||||
---
|
||||
denomination: Association Bouliste de Crémeaux
|
||||
title: Association Bouliste de Crémeaux
|
||||
description: null
|
||||
mail: null
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Président
|
||||
prenom: Daniel
|
||||
nom: BOST
|
||||
- denomination: Vice-président
|
||||
prenom: Élie
|
||||
nom: BARTHOLLET
|
||||
- denomination: Secrétaire
|
||||
prenom: Mathieu
|
||||
nom: VERNAY
|
||||
telephone: 06 80 89 70 95
|
||||
- denomination: Secrétaire adjoint
|
||||
prenom: Jean-Baptiste
|
||||
nom: PALABOST
|
||||
- denomination: Trésorier
|
||||
prenom: Romain
|
||||
nom: BENETIÈRE
|
||||
telephone: 06 68 80 74 68
|
||||
- denomination: Trésorier Adjoint
|
||||
prenom: Mathieu
|
||||
nom: GARNON
|
||||
- denomination: Référent ESB
|
||||
prenom: LAURENT
|
||||
nom: Maurice
|
||||
telephone: 06 99 06 40 04
|
||||
---
|
||||
|
||||
|
@ -1,24 +0,0 @@
|
||||
---
|
||||
denomination: Association Communale de Chasse Agréée de CREMEAUX
|
||||
title: Association Communale de Chasse Agréée de CREMEAUX
|
||||
description: null
|
||||
mail: null
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Président
|
||||
prenom: Jean-Paul
|
||||
nom: MARCHEBOEUF
|
||||
- denomination: Secrétaire
|
||||
prenom: Hugo
|
||||
nom: BOURDELLE
|
||||
- denomination: Trésorier
|
||||
prenom: Pierre
|
||||
nom: ERVAS
|
||||
- denomination: Vice-Président
|
||||
prenom: Philippe
|
||||
nom: DEBOUT
|
||||
---
|
||||
|
||||
|
@ -1,32 +0,0 @@
|
||||
---
|
||||
denomination: Basket Club Crémeaux
|
||||
title: Basket Club Crémeaux
|
||||
description: null
|
||||
mail: jeremy-muron1@hotmail.fr
|
||||
telephone: '0689198699'
|
||||
site: https://club.quomodo.com/bccremeaux
|
||||
facebook: https://www.facebook.com/bccremeaux
|
||||
bureau:
|
||||
- denomination: Président
|
||||
prenom: Jérémy
|
||||
nom: MURON
|
||||
mail: jeremy-muron1@hotmail.fr
|
||||
telephone: 06 89 19 86 99
|
||||
- denomination: Vice-présidente
|
||||
prenom: Clara
|
||||
nom: PEURIERE
|
||||
- denomination: Secrétaire
|
||||
prenom: Aurélie
|
||||
nom: BOST
|
||||
- denomination: Vice-secrétaire
|
||||
prenom: Lucile
|
||||
nom: BRIERY
|
||||
- denomination: Trésorier
|
||||
prenom: Anne
|
||||
nom: DALBEGUE
|
||||
- denomination: Vice-trésorière
|
||||
prenom: Jean
|
||||
nom: REYNAUD
|
||||
---
|
||||
|
||||
|
@ -1,24 +0,0 @@
|
||||
---
|
||||
denomination: bavARTd’âge
|
||||
title: bavARTd’âge
|
||||
description: null
|
||||
mail: francoise@lesmursdecouleurs.com
|
||||
telephone: 06 42 93 57 08
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Présidente
|
||||
prenom: Pascale
|
||||
nom: CÔTE
|
||||
telephone: '0660354753'
|
||||
- denomination: Trésorière/ secrétaire bavARTd'âge
|
||||
prenom: Corine
|
||||
nom: CHARPILLENNE
|
||||
- denomination: Intervenante Arts Plastiques
|
||||
prenom: Françoise
|
||||
nom: BOUCHAND GIRAUD
|
||||
mail: francoise@lesmursdecouleurs.com
|
||||
telephone: '0642935708'
|
||||
---
|
||||
|
||||
|
@ -1,15 +0,0 @@
|
||||
---
|
||||
denomination: 'C.S.C Football '
|
||||
title: 'C.S.C Football '
|
||||
description: null
|
||||
mail: vernay.mathieu@orange.fr
|
||||
telephone: 06 80 89 70 95
|
||||
site: http://www.cscremeaux.fr
|
||||
facebook: https://www.facebook.com/profile.php?id=100028875266753
|
||||
bureau:
|
||||
- denomination: Co-président
|
||||
prenom: Mathieu
|
||||
nom: VERNAY
|
||||
---
|
||||
|
||||
|
@ -1,31 +0,0 @@
|
||||
---
|
||||
denomination: Club Rencontres et Loisirs
|
||||
title: Club Rencontres et Loisirs
|
||||
description: null
|
||||
mail: null
|
||||
telephone: null
|
||||
site: http://cremeauxfaitsoncinema.over-blog.com/
|
||||
facebook: >-
|
||||
https://www.facebook.com/Club-Rencontres-Et-Loisirs-De-Cremeaux-117625143401192/
|
||||
bureau:
|
||||
- denomination: Co-président
|
||||
prenom: Daniel
|
||||
nom: MAZUIR
|
||||
- denomination: Co-président
|
||||
prenom: Robert
|
||||
nom: CHASSIN
|
||||
- denomination: Trésorier
|
||||
prenom: Jean-Michel
|
||||
nom: MANGOT
|
||||
- denomination: Trésorière adjointe
|
||||
prenom: Suzanne
|
||||
nom: POYET
|
||||
- denomination: Secrétaire
|
||||
prenom: Annie
|
||||
nom: PONCET
|
||||
- denomination: Secrétaire adjointe
|
||||
prenom: Marie-Claire
|
||||
nom: MAZUIR
|
||||
---
|
||||
|
||||
|
@ -1,33 +0,0 @@
|
||||
---
|
||||
denomination: Comité des Fêtes
|
||||
title: Comité des Fêtes
|
||||
description: null
|
||||
mail: comitedesfetes.cremeaux@yahoo.fr
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: https://www.facebook.com/comitedesfetesdecremeaux/
|
||||
bureau:
|
||||
- denomination: Co-présidente
|
||||
prenom: Manon
|
||||
nom: MURON
|
||||
- denomination: Co-président
|
||||
prenom: Franck
|
||||
nom: MAILLET
|
||||
- denomination: Vice-président
|
||||
prenom: Maxime
|
||||
nom: CHABRÉ
|
||||
- denomination: Vice-président
|
||||
prenom: Gregory
|
||||
nom: DADOLLE
|
||||
- denomination: Secrétaire
|
||||
prenom: Ophélie
|
||||
nom: PEURIÈRE
|
||||
- denomination: Vice-secrétaire
|
||||
prenom: Gaëtan
|
||||
nom: ERVAS
|
||||
- denomination: Trésorière
|
||||
prenom: Clémence
|
||||
nom: COTE
|
||||
---
|
||||
|
||||
|
@ -1,33 +0,0 @@
|
||||
---
|
||||
denomination: Contrastes
|
||||
title: Contrastes
|
||||
description: null
|
||||
mail: null
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Présidente
|
||||
prenom: Claudine
|
||||
nom: DERVAUX VANACKÈRE
|
||||
mail: clodervaux42@aol.com
|
||||
telephone: 04 77 62 50 03, 06 06 73 63 59
|
||||
- denomination: Vice-président
|
||||
prenom: Marc
|
||||
nom: FRANCERIES
|
||||
- denomination: Secrétaire
|
||||
prenom: Lydie
|
||||
nom: PETITBOUT
|
||||
mail: lydie.ptb@wanadoo.fr
|
||||
telephone: 04 77 62 55 20
|
||||
- denomination: Trésorier
|
||||
prenom: Jean
|
||||
nom: BLANC
|
||||
- denomination: Échanges sportifs
|
||||
prenom: Laure
|
||||
nom: RATHIER
|
||||
mail: laure.rathier@wanadoo.fr
|
||||
telephone: 04 77 62 58 07, 07 83 47 62 60
|
||||
---
|
||||
|
||||
|
@ -1,24 +0,0 @@
|
||||
---
|
||||
denomination: CUMA
|
||||
title: CUMA
|
||||
description: null
|
||||
mail: null
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Président
|
||||
prenom: Aurélien
|
||||
nom: MAILLET
|
||||
- denomination: Vice-président
|
||||
prenom: Christophe
|
||||
nom: COTE
|
||||
- denomination: Trésorier
|
||||
prenom: Frédéric
|
||||
nom: DARPHEUILLE
|
||||
- denomination: Secrétaire
|
||||
prenom: Lionel
|
||||
nom: GRANGE
|
||||
---
|
||||
|
||||
|
@ -1,30 +0,0 @@
|
||||
---
|
||||
denomination: Entente Crémeausienne
|
||||
title: Entente Crémeausienne
|
||||
description: null
|
||||
mail: null
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Co-présidente
|
||||
prenom: Mélissa
|
||||
nom: DEBOUT
|
||||
- denomination: Co-présidente
|
||||
prenom: Marie-Amélie
|
||||
nom: DUFOUR
|
||||
- denomination: Co-secrétaire
|
||||
prenom: Emmanuelle
|
||||
nom: VICAT
|
||||
- denomination: Co-trésorier
|
||||
prenom: Gérard
|
||||
nom: LARDEUX
|
||||
- denomination: Co-secrétaire
|
||||
prenom: Céline
|
||||
nom: VICAT
|
||||
- denomination: Co-trésorier
|
||||
prenom: Laurent
|
||||
nom: LASSAGNE
|
||||
---
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
---
|
||||
denomination: ESAT, Le colombier, La Blégnière
|
||||
title: ESAT LE COLOMBIER - LA BLÉGNIÈRE
|
||||
description: null
|
||||
mail: null
|
||||
telephone: 04 77 66 44 20
|
||||
site: null
|
||||
facebook: >-
|
||||
https://www.facebook.com/ESAT-Le-Colombier-La-Bl%C3%A9gni%C3%A8re-102443351446688
|
||||
---
|
||||
|
||||
|
@ -1,25 +0,0 @@
|
||||
---
|
||||
denomination: Familles Rurales
|
||||
title: Familles Rurales
|
||||
description: null
|
||||
mail: afrcremeaux@gmail.com
|
||||
telephone: 06 58 81 56 67
|
||||
site: null
|
||||
facebook: afr Crémeaux
|
||||
bureau:
|
||||
- denomination: Trésorière
|
||||
prenom: Delphine
|
||||
nom: FRATY
|
||||
mail: afrcremeaux@gmail.com
|
||||
telephone: 06 72 49 12 04
|
||||
- denomination: Secrétaire
|
||||
prenom: Magali
|
||||
nom: CÔTE
|
||||
telephone: 06 24 47 64 80
|
||||
- denomination: Présidente
|
||||
prenom: Nicole
|
||||
nom: DURAND
|
||||
telephone: 06 58 81 56 67
|
||||
---
|
||||
|
||||
|
@ -1,27 +0,0 @@
|
||||
---
|
||||
denomination: FNACA
|
||||
title: FNACA
|
||||
description: null
|
||||
mail: null
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Présidente
|
||||
prenom: Christiane
|
||||
nom: TERRIER
|
||||
- denomination: Vice-Président
|
||||
prenom: Gérard
|
||||
nom: TREILLE
|
||||
- denomination: Trésorière
|
||||
prenom: Thérèse
|
||||
nom: ETAIX
|
||||
- denomination: Vice-trésorière
|
||||
prenom: Marie-Claire
|
||||
nom: CHAVALLARD
|
||||
- denomination: Secrétaire
|
||||
prenom: Marinette
|
||||
nom: BLEIN
|
||||
---
|
||||
|
||||
|
@ -1,24 +0,0 @@
|
||||
---
|
||||
denomination: Gymnastique Volontaire
|
||||
title: Gymnastique Volontaire
|
||||
description: null
|
||||
mail: 'gautron.thierry@wanadoo.fr '
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Secrétaire
|
||||
prenom: Florence
|
||||
nom: GAUTRON
|
||||
telephone: 06 61 23 78 85
|
||||
- denomination: Présidente
|
||||
prenom: Stéphanie
|
||||
nom: DEJOB
|
||||
telephone: 06 12 22 62 44
|
||||
- denomination: Trésorière
|
||||
prenom: Nadège
|
||||
nom: CLÉMENÇON
|
||||
telephone: 06 88 55 01 79
|
||||
---
|
||||
|
||||
|
@ -1,24 +0,0 @@
|
||||
---
|
||||
denomination: L'Œil Écoute
|
||||
title: L'ŒIL ECOUTE
|
||||
description: Troupe théâtrale de Crémeaux
|
||||
mail: null
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: https://www.facebook.com/LOeilEcouteCremeaux/
|
||||
bureau:
|
||||
- denomination: Présidente
|
||||
prenom: Émilie
|
||||
nom: PEURIÈRE
|
||||
telephone: 06 14 01 61 84
|
||||
- denomination: Secrétaire
|
||||
prenom: Laurie
|
||||
nom: DEJOB
|
||||
telephone: 06 83 36 26 84
|
||||
- denomination: Trésorière
|
||||
prenom: Josiane
|
||||
nom: DEUX
|
||||
telephone: 06 25 04 00 79
|
||||
---
|
||||
|
||||
Créé en 1972, l'Oeil écoute est une troupe de théatre amateurs et se distingue par la représentation de farces paysannes et de vaudeville.
|
@ -1,18 +0,0 @@
|
||||
---
|
||||
denomination: LACIM
|
||||
title: LACIM
|
||||
description: null
|
||||
mail: null
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Présidente
|
||||
prenom: Annie
|
||||
nom: SIMON
|
||||
- denomination: Secrétaire
|
||||
prenom: Sandrine
|
||||
nom: DULAC
|
||||
---
|
||||
|
||||
|
@ -1,21 +0,0 @@
|
||||
---
|
||||
denomination: Le Petit Royaume
|
||||
title: Le Petit Royaume
|
||||
description: null
|
||||
mail: null
|
||||
telephone: 04 77 62 56 34
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Présidente
|
||||
prenom: Michelle
|
||||
nom: HOCQUET
|
||||
- denomination: Trésorier
|
||||
prenom: Guy
|
||||
nom: HOCQUET
|
||||
- denomination: Secrétaire
|
||||
prenom: Annie
|
||||
nom: MONDON
|
||||
---
|
||||
|
||||
|
@ -1,23 +0,0 @@
|
||||
---
|
||||
denomination: Lucé Loisirs
|
||||
title: Lucé Loisirs
|
||||
description: null
|
||||
mail: adeline.chapuis42@gmail.com
|
||||
telephone: '0638529463'
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Présidente
|
||||
prenom: Adeline
|
||||
nom: PALABOST
|
||||
- denomination: Trésorière
|
||||
prenom: Monique
|
||||
nom: VINKOCZY
|
||||
- denomination: Scrétaire
|
||||
prenom: Françoise
|
||||
nom: GIRAUD
|
||||
mail: pjfg42@orange.fr
|
||||
telephone: 06 42 93 57 08
|
||||
---
|
||||
|
||||
|
@ -1,15 +0,0 @@
|
||||
---
|
||||
denomination: Réveil Crémeausien
|
||||
title: LE REVEIL CREMEAUSIEN
|
||||
description: 'Le Réveil Crémeausien : batterie-fanfare'
|
||||
mail: null
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: null
|
||||
bureau:
|
||||
- denomination: Vice Secrétaire
|
||||
prenom: Cédric
|
||||
nom: DEJOB
|
||||
---
|
||||
|
||||
Le Réveil Crémeausien créé en 1949 par le père Grosbost est une batterie-fanfare et regroupe différents instruments tels que tambours, grosse caisse, cors de chasse, trompettes et clairons.
|
@ -1,11 +0,0 @@
|
||||
---
|
||||
denomination: S.O.U. des Écoles
|
||||
title: SOU DES ECOLES
|
||||
description: null
|
||||
mail: null
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: https://www.facebook.com/souecolecremeaux
|
||||
---
|
||||
|
||||
|
@ -1,11 +0,0 @@
|
||||
---
|
||||
denomination: Saint Joseph
|
||||
title: Saint Joseph
|
||||
description: null
|
||||
mail: null
|
||||
telephone: null
|
||||
site: null
|
||||
facebook: null
|
||||
---
|
||||
|
||||
|
@ -1,9 +1,37 @@
|
||||
{{ define "main" }}
|
||||
<div class="container">
|
||||
{{ $headless := site.GetPage "/" }}
|
||||
{{ $widthOriginal := 1920 }}
|
||||
{{ $heightOriginal := 850 }}
|
||||
{{ $width := 1208 }}
|
||||
{{ $height := 534 }}
|
||||
{{ $image := default ($headless.Resources.GetMatch "**.jpg") (.Resources.GetMatch (default "**.jpg" .Params.image)) }}
|
||||
{{ if $image }}
|
||||
{{ if and (ge $image.Width $widthOriginal) (ge $image.Height $heightOriginal) }}
|
||||
{{ $image = $image.Process (printf "fill %dx%d Center webp" $width $height) }}
|
||||
{{ else if gt $image.Height $height }}
|
||||
{{ $image = $image.Process (printf "resize x%d webp" $height) }}
|
||||
{{ else }}
|
||||
{{ $image = $image.Process "webp" }}
|
||||
{{ end }}
|
||||
<img
|
||||
class="hero no-print"
|
||||
src="{{ $image.RelPermalink }}"
|
||||
alt="{{ or .Params.image_ .Params.image_credit }}"
|
||||
title="{{ or .Params.image_ .Params.image_credit }}"
|
||||
/>
|
||||
{{ end }}
|
||||
<h1>{{ .RenderString .Title }}</h1>
|
||||
<div class="container news md">
|
||||
<small>
|
||||
Publié le <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Day }} {{ index $.Site.Data.mois (printf "%d" .Date.Month) }} {{ .Date.Year }}</time>{{ if isset .Params "auteur" }} - {{ .Params.auteur }}{{ end }}
|
||||
Publié le <time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Day }} {{ index $.Site.Data.mois (printf "%d" .Date.Month) }} {{ .Date.Year }}</time>{{ if or (isset .Params "auteur") (isset .Params "authors") }} - {{ if isset .Params "authors" -}}
|
||||
{{ range $key, $value := .Params.authors }}
|
||||
{{ with site.GetPage $value }}
|
||||
{{ if gt $key 0 }} & {{ end }}
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- end }}{{ if isset .Params "auteur" }}{{ if isset .Params "authors" -}} & {{ end }}{{ .Params.auteur }}{{ end }}{{ end }}
|
||||
</small>
|
||||
{{ .Content }}
|
||||
<aside>
|
||||
|
@ -1,11 +1,9 @@
|
||||
{{ define "main" }}
|
||||
<div class="container associations">
|
||||
<h1>{{ .RenderString .Title }} </h1>
|
||||
{{ if ne hugo.Environment "production" }}
|
||||
<div class="container md">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<br>
|
||||
{{ if or .Params.mail .Params.telephone .Params.site .Params.facebook }}
|
||||
<div class="container md">
|
||||
@ -46,5 +44,21 @@
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if isset .Params "actualites" }}
|
||||
<div class="container md">
|
||||
<aside>
|
||||
<hr>
|
||||
<h2>
|
||||
Les évènements de l'association
|
||||
</h2>
|
||||
{{ range .Params.actualites }}
|
||||
{{ with site.GetPage . }}
|
||||
{{ .Scratch.Set "big" false }}
|
||||
{{ partial "article-preview.html" . }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</aside>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -9,9 +9,14 @@
|
||||
<div class="news viemunicipale">
|
||||
<h1>Le fil des <strong>actualités</strong></h1>
|
||||
{{ $lastnews := first 4 (where $actualites "Params.event" false) }}
|
||||
{{ $first := index (first 1 $lastnews) 0 }}
|
||||
{{ $others := after 1 $lastnews }}
|
||||
{{ with $first }}
|
||||
{{ $highlight := first 1 (where $lastnews "Params.highlight" true) }}
|
||||
{{ if gt (len $highlight) 0 }}
|
||||
{{ $highlight = index $highlight 0 }}
|
||||
{{ else }}
|
||||
{{ $highlight = index $lastnews 0 }}
|
||||
{{ end }}
|
||||
{{ $others := where $lastnews "Title" "ne" $highlight.Title }}
|
||||
{{ with $highlight }}
|
||||
{{ .Scratch.Set "big" true }}
|
||||
{{ partial "article-preview.html" . }}
|
||||
{{ end }}
|
||||
@ -25,9 +30,14 @@
|
||||
<div class="news associations">
|
||||
<h2 class="h1">Le fil des <strong>Évènements</strong></h2>
|
||||
{{ $lastnews := first 4 (where $actualites "Params.event" true) }}
|
||||
{{ $first := index (first 1 $lastnews) 0 }}
|
||||
{{ $others := after 1 $lastnews }}
|
||||
{{ with $first }}
|
||||
{{ $highlight := first 1 (where $lastnews "Params.highlight" true) }}
|
||||
{{ if gt (len $highlight) 0 }}
|
||||
{{ $highlight = index $highlight 0 }}
|
||||
{{ else }}
|
||||
{{ $highlight = index $lastnews 0 }}
|
||||
{{ end }}
|
||||
{{ $others := where $lastnews "Title" "ne" $highlight.Title }}
|
||||
{{ with $highlight }}
|
||||
{{ .Scratch.Set "big" true }}
|
||||
{{ partial "article-preview.html" . }}
|
||||
{{ end }}
|
||||
@ -40,7 +50,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="infos">
|
||||
<div class="nouveautes">
|
||||
<div class="opening2">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,7 +1,7 @@
|
||||
{{ $isBig := default false (.Scratch.Get "big") }}
|
||||
{{ $title := .RenderString .Title }}
|
||||
{{ $titleWithoutHTML := $title | plainify }}
|
||||
{{ $pictureSize := cond $isBig "528x528 Center webp" "100x100 Center webp" }}
|
||||
{{ $pictureSize := cond $isBig "440x440 Center webp" "200x200 Center webp" }}
|
||||
{{ $truncateSize := cond $isBig 180 90}}
|
||||
<div class="post{{ if $isBig }} big{{ end }}">
|
||||
<div class="picture">
|
||||
@ -16,7 +16,14 @@
|
||||
</div>
|
||||
<div class="details">
|
||||
<small>
|
||||
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Day }} {{ index $.Site.Data.mois (printf "%d" .Date.Month) }} {{ .Date.Year }}</time>{{ if isset .Params "auteur" }} - {{ .Params.auteur }}{{ end }}
|
||||
<time datetime="{{ .Date.Format "2006-01-02" }}">{{ .Date.Day }} {{ index $.Site.Data.mois (printf "%d" .Date.Month) }} {{ .Date.Year }}</time>{{ if or (isset .Params "auteur") (isset .Params "authors") }} - {{ if isset .Params "authors" -}}
|
||||
{{ range $key, $value := .Params.authors }}
|
||||
{{ with site.GetPage $value }}
|
||||
{{ if gt $key 0 }} & {{ end }}
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{- end }}{{ if isset .Params "auteur" }}{{ if isset .Params "authors" -}} & {{ end }}{{ .Params.auteur }}{{ end }}{{ end }}
|
||||
</small>
|
||||
{{ if $isBig }}
|
||||
<h2 title="{{ $titleWithoutHTML }}"><a href="{{ .RelPermalink }}">{{ $title }}</a></h2>
|
||||
|
@ -1,8 +1,10 @@
|
||||
{{ $isBig := (default .IsHome .Params.big) }}
|
||||
{{ $imageSizeSmall := cond $isBig "600x600 Top webp" "600x400 Center webp" }}
|
||||
{{ $imageSizeBig := cond $isBig "1920x850 Top webp" "1920x450 Center webp" }}
|
||||
<header class="header{{ if $isBig }} home{{ end }}">
|
||||
{{ $isActualites := $.InSection (.Site.GetPage "/actualites") }}
|
||||
<header class="header{{ if $isBig }} home{{ end }}{{ if $isActualites }} actu{{ end }}">
|
||||
{{ if not $isActualites }}
|
||||
{{ $headless := .Site.GetPage "/" }}
|
||||
{{ $imageSizeSmall := cond $isBig "600x600 Top webp" "600x400 Center webp" }}
|
||||
{{ $imageSizeBig := cond $isBig "1920x850 Top webp" "1920x450 Center webp" }}
|
||||
{{ $image := default ($headless.Resources.GetMatch "**.jpg") (.Resources.GetMatch (default "**.jpg" .Params.image)) }}
|
||||
{{ if $image }}
|
||||
{{ $resizedSmall := $image.Fill $imageSizeSmall }}
|
||||
@ -16,6 +18,7 @@
|
||||
title="{{ or .Params.image_ .Params.image_credit }}"
|
||||
/>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<nav class="nav" id="nav" data-open="false">
|
||||
<div class="container">
|
||||
<div class="logo">
|
||||
|
@ -18,11 +18,11 @@
|
||||
{{ $orientation := 1 }}
|
||||
{{ with $image }}{{ with .Exif }}{{ $orientation = .Tags.Orientation }}{{ end }}{{ end }}
|
||||
{{ if eq $orientation 8 }}
|
||||
{{ $image = $image.Resize "300x r90" }}
|
||||
{{ $image = $image.Resize "600x r90" }}
|
||||
{{ else if eq $orientation 6 }}
|
||||
{{ $image = $image.Resize "300x r270" }}
|
||||
{{ $image = $image.Resize "600x r270" }}
|
||||
{{ end }}
|
||||
{{ $resized := $image.Resize "300x q100 webp" }}
|
||||
{{ $resized := $image.Resize "600x q100 webp" }}
|
||||
<img src="{{ $resized.RelPermalink }}" alt="{{ $title }}" title="{{ $title }}" loading="lazy">
|
||||
</figure>
|
||||
{{ end }}
|
||||
|
@ -1,7 +1,12 @@
|
||||
import DirectusToMarkdown from '@resilien/directus-to-markdown'
|
||||
import urlslug from 'url-slug'
|
||||
|
||||
const filterDraft = process.env.DRAFT && process.env.DRAFT == 'true' ? '' : { draft: { _eq: 'false' } }
|
||||
var lastDate = new Date();
|
||||
lastDate.setMonth(lastDate.getMonth() - 3);
|
||||
lastDate.setFullYear(lastDate.getFullYear() - 10);
|
||||
console.log(lastDate)
|
||||
|
||||
const filterDraft = process.env.DRAFT && process.env.DRAFT == 'true' ? { date: { _gt: lastDate } } : { draft: { _eq: 'false' }, date: { _gt: lastDate } }
|
||||
const filterAssociation = process.env.DRAFT && process.env.DRAFT == 'true' ? '' : { display_website: { _eq: 'true' } }
|
||||
|
||||
const config = {
|
||||
@ -38,8 +43,8 @@ const config = {
|
||||
},
|
||||
actualites: {
|
||||
readByQueryOption: {
|
||||
fields: ['title', 'date', 'image', 'image_credit', 'vignette', 'vignette_credit', 'description', 'auteur', 'draft', 'content', 'event'],
|
||||
filterDraft,
|
||||
fields: ['title', 'date', 'highlight', 'image', 'image_credit', 'vignette', 'vignette_credit', 'description', 'auteur', 'draft', 'content', 'event', 'authors.Association_id.denomination'],
|
||||
filter: filterDraft,
|
||||
limit: 1000
|
||||
},
|
||||
pathBuilder: (article) => {
|
||||
@ -47,62 +52,84 @@ const config = {
|
||||
if (!article.image_credit) delete article.image_credit
|
||||
if (!article.vignette) delete article.vignette
|
||||
if (!article.vignette_credit) delete article.vignette_credit
|
||||
if (!article.auteur) delete article.auteur
|
||||
|
||||
if (!article.authors || article.authors.length == 0) {
|
||||
delete article.authors
|
||||
} else {
|
||||
article.authors = article.authors.map(a => `/associations/${urlslug(a.Association_id.denomination)}`)
|
||||
}
|
||||
const [year, month, day] = article.date.split("-")
|
||||
|
||||
console.log(article.date + ' - ' + article.title)
|
||||
|
||||
return `./content/actualites/${year}/${month}/${day}-${urlslug(article.title, { remove: /\./g })}`;
|
||||
},
|
||||
deleteFields: [],
|
||||
},
|
||||
// Association: {
|
||||
// readByQueryOption: {
|
||||
// fields: [
|
||||
// 'denomination',
|
||||
// 'title',
|
||||
// 'description',
|
||||
// 'mail',
|
||||
// 'telephone',
|
||||
// 'site',
|
||||
// 'facebook',
|
||||
// 'bureau.sort',
|
||||
// 'bureau.Contact_id.*',
|
||||
// 'content',
|
||||
// ],
|
||||
// filterAssociation
|
||||
// },
|
||||
// pathBuilder: (association) => {
|
||||
// if (!association.title) {
|
||||
// association.title = association.denomination
|
||||
// }
|
||||
// console.log("Import de l'association « " + association.title + " »")
|
||||
// if (association.bureau && association.bureau.length > 0) {
|
||||
// const bureau = []
|
||||
// for (const contact of association.bureau) {
|
||||
// const detail = contact.Contact_id
|
||||
// if (detail) {
|
||||
// let c = {
|
||||
// denomination: detail.denomination,
|
||||
// prenom: detail.prenom,
|
||||
// nom: detail.nom,
|
||||
// }
|
||||
// if (detail.mail && detail.display_mail) {
|
||||
// c.mail = detail.mail
|
||||
// }
|
||||
// if (detail.telephone && detail.display_telephone) {
|
||||
// c.telephone = detail.telephone
|
||||
// }
|
||||
// bureau.push(c)
|
||||
// } else {
|
||||
// console.log("problème sur un contact")
|
||||
// }
|
||||
// }
|
||||
// association.bureau = bureau
|
||||
// } else {
|
||||
// delete association.bureau
|
||||
// }
|
||||
Association: {
|
||||
readByQueryOption: {
|
||||
fields: [
|
||||
'denomination',
|
||||
'title',
|
||||
'description',
|
||||
'mail',
|
||||
'telephone',
|
||||
'site',
|
||||
'facebook',
|
||||
'bureau.sort',
|
||||
'bureau.Contact_id.*',
|
||||
'content',
|
||||
'actualites.actualites_id.date',
|
||||
'actualites.actualites_id.title',
|
||||
],
|
||||
filter: filterAssociation
|
||||
},
|
||||
pathBuilder: (association) => {
|
||||
if (!association.title) {
|
||||
association.title = association.denomination
|
||||
}
|
||||
console.log("Import de l'association « " + association.title + " »")
|
||||
if (association.bureau && association.bureau.length > 0) {
|
||||
const bureau = []
|
||||
for (const contact of association.bureau) {
|
||||
const detail = contact.Contact_id
|
||||
if (detail) {
|
||||
let c = {
|
||||
denomination: detail.denomination,
|
||||
prenom: detail.prenom,
|
||||
nom: detail.nom,
|
||||
}
|
||||
if (detail.mail && detail.display_mail) {
|
||||
c.mail = detail.mail
|
||||
}
|
||||
if (detail.telephone && detail.display_telephone) {
|
||||
c.telephone = detail.telephone
|
||||
}
|
||||
bureau.push(c)
|
||||
} else {
|
||||
console.log("problème sur un contact")
|
||||
}
|
||||
}
|
||||
association.bureau = bureau
|
||||
} else {
|
||||
delete association.bureau
|
||||
}
|
||||
|
||||
// return `./content/associations/${urlslug(association.denomination)}`;
|
||||
// },
|
||||
// deleteFields: [],
|
||||
// },
|
||||
if (!association.actualites || association.actualites.length == 0) {
|
||||
delete association.actualites
|
||||
} else {
|
||||
association.actualites = association.actualites.map(a => {
|
||||
const [year, month, day] = a.actualites_id.date.split("-")
|
||||
|
||||
return `/actualites/${year}/${month}/${day}-${urlslug(a.actualites_id.title, { remove: /\./g })}`
|
||||
})
|
||||
}
|
||||
|
||||
return `./content/associations/${urlslug(association.denomination)}`;
|
||||
},
|
||||
deleteFields: [],
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
BIN
static/docs/bulletins_municipaux/2024-Bulletin_municipal.pdf
Normal file
BIN
static/docs/bulletins_municipaux/2024-Bulletin_municipal.pdf
Normal file
Binary file not shown.
BIN
static/docs/bulletins_municipaux/2025-Bulletin_municipal.pdf
Normal file
BIN
static/docs/bulletins_municipaux/2025-Bulletin_municipal.pdf
Normal 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.
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.
BIN
static/docs/ordures_menageres/2024_calendrier.pdf
Normal file
BIN
static/docs/ordures_menageres/2024_calendrier.pdf
Normal file
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user