diff --git a/_configar.yml b/_configar.yml new file mode 100644 index 0000000..98af199 --- /dev/null +++ b/_configar.yml @@ -0,0 +1 @@ +url: "https://mariagear.sagou.in" diff --git a/_sections/intro.md b/_sections/intro.md index 6266eca..53ac339 100644 --- a/_sections/intro.md +++ b/_sections/intro.md @@ -5,7 +5,8 @@ title: "Accueil" --- Après 10 ans d'hésitation, nous avons enfin décidé de nous marier. -Si vous voyez ce site c'est que vous êtes conviés à venir partager ce moment ! + +Si vous voyez ce site c'est que vous êtes conviés {% if jekyll.environment == "vh" %}au vin d'honneur{% else %}au vin d'honneur, au repas et à une nuit en chateau{% endif %} pour partager ce moment ! Mais avant, nous avons besoin de quelques infos. Merci de prendre le temps de répondre au questionnaire sur la page d'[inscription](inscriptions.html). diff --git a/deploy.sh b/deploy.sh index bbb77c7..9a63843 100755 --- a/deploy.sh +++ b/deploy.sh @@ -2,6 +2,7 @@ set -e +export JEKYLL_ENV=repas bundle exec jekyll build USER_RE=`cat ../userrepas.txt` sshpass -f ../mdpmaraj.txt sftp -P 6969 -oBatchMode=no -b - $USER_RE@sagou.in:/ << EOF @@ -10,3 +11,13 @@ cd www put -r . bye EOF + +export JEKYLL_ENV=vh +bundle exec jekyll build --config _config.yml,_configar.yml +USER_VH=`cat ../uservh.txt` +sshpass -f ../mdpmaraj.txt sftp -P 6969 -oBatchMode=no -b - $USER_VH@sagou.in:/ << EOF +lcd _site +cd www +put -r . +bye +EOF diff --git a/inscriptions.md b/inscriptions.md index 9995b66..5c2559c 100644 --- a/inscriptions.md +++ b/inscriptions.md @@ -6,6 +6,9 @@ order: 4 permalink: /inscriptions.html --- +{% if jekyll.environment == "repas" %} {% include poll.html %} - +{% else %} {% include pollVH.html %} +{% endif %} + diff --git a/programme.md b/programme.md index c19d07a..cd69381 100644 --- a/programme.md +++ b/programme.md @@ -8,17 +8,16 @@ permalink: /programme.html ### Samedi 24 aout 2024 -| Début | Fin | | +| Début | Fin | | |-------|-------|--------------------------------------| | 14h00 | 15h00 | Cérmonie à la mairie de Compiègne | -| 16h00 | 16h30 | Arrivée au Chateau de Quesmy, discours des proches | -| 16h30 | 20h30 | Vin d'honneur -| 20h30 | 22h00 | Diner, spectacle, soirée dansante | - +| 16h00 | 16h30 | Arrivée au Chateau de Quesmy | +| 16h30 | 20h30 | Vin d'honneur | +{% if jekyll.environment == "repas" %}| 20h30 | 22h00 | Diner, spectacle, soirée dansante | ### Dimanche 25 aout 2024 -|9h00 |14h00| Yoga, Piscine, Brunch | -|12h00 |18h00| Rangement et départ | +| 9h00 | 14h00 | Yoga, Piscine, Brunch | +| 12h00 | 18h00 | Rangement et départ | -Les chambres doivent être libérées pour midi +Les chambres doivent être libérées pour midi{% endif %}