Compare commits

...

4 commits

Author SHA1 Message Date
b622a9b57d ci: adapt for pull_request hook
All checks were successful
Deploy workflow / deploy (push) Successful in 31s
2024-12-23 00:15:24 +01:00
94b1d82047 fix(association): remove duplicate title
All checks were successful
Deploy workflow / deploy (push) Successful in 31s
2024-12-22 23:40:09 +01:00
4576a9fd34 fix: replace deprecated resources.ToCSS by css.Sass
All checks were successful
Deploy workflow / deploy (push) Successful in 31s
2024-12-22 23:37:40 +01:00
421f2fa7b0 fix(shortcodes): allow parent bundle resource lookup on fig-img
All checks were successful
Deploy workflow / deploy (push) Successful in 32s
2024-12-22 23:32:45 +01:00
7 changed files with 40 additions and 17 deletions

View file

@ -8,6 +8,8 @@ on:
branches:
- master
- develop
pull_request:
types: [opened, synchronize, reopened]
jobs:
deploy:
@ -15,21 +17,24 @@ jobs:
container:
image: code.forgejo.org/oci/node:20-bookworm
steps:
- name: Install rsync and bash
run: apt update && apt install -y rsync bash
- name: Set baseURL
shell: /bin/bash
run: |
if [[ "${{ env.github_ref_name }}" == "master" ]]; then
echo "Checking current branch."
echo -n "https://dev.etoiledebethleem.fr" > /base_url.txt
if [ "${{ env.github_ref_name }}" = "master" ]
then
echo "Using master config"
echo -n "https://etoiledebethleem.fr" > /base_url.txt
fi
if [[ "${{ env.github_ref_name }}" == "develop" ]]; then
if [ "${{ env.github_ref_name }}" = "develop" ]
then
echo "Using develop config"
echo -n "https://preview.etoiledebethleem.fr" > /base_url.txt
fi
ls /
ls -la /base_url.txt
cat /base_url.txt
- name: Install rsync
run: apt update && apt install -y rsync
- uses: actions/checkout@v4
with:
submodules: true
@ -57,8 +62,13 @@ jobs:
REMOTE_USER: forgejo_actions_websites
SRV_HOST: srv06.lefuturiste.fr
run: |
rsync --perms --archive --stats \
-e 'ssh -i ~/.ssh/id_edsa -o StrictHostKeyChecking=no' ./public \
$REMOTE_USER@$SRV_HOST:$OUTPUT_PATH$GITHUB_REF_NAME
if [ "${{ env.github_ref_name }}" = "master" ] || [ "${{ env.github_ref_name }}" = "develop" ]
then
echo "Deploying to $REMOTE_USER@$SRV_HOST:$OUTPUT_PATH$GITHUB_REF_NAME"
rsync --perms --archive --stats \
-e 'ssh -i ~/.ssh/id_edsa -o StrictHostKeyChecking=no' ./public \
$REMOTE_USER@$SRV_HOST:$OUTPUT_PATH$GITHUB_REF_NAME
else
echo "Deployment skipped."
fi

View file

@ -64,6 +64,14 @@ img {
object-fit: contain;
}
// Margin management
.no-margin {
margin-top: 0 !important;
margin-left: 0 !important;
margin-right: 0 !important;
margin-bottom: 0 !important;
}
/**
General Layout
**/

View file

@ -1,11 +1,10 @@
---
title: Les commissions
---
# Les commissions de lassociation
Lassociation LÉtoile de Bethléem a structuré ses activités en différentes commissions afin de répondre efficacement aux besoins variés liés à la sauvegarde et à la valorisation de la chapelle.
## Nos commissions :
## Nos commissions
- **Travaux**
*Responsable : Corentin Boulard*
@ -30,6 +29,7 @@ Lassociation LÉtoile de Bethléem a structuré ses activités en différe
Identification et mise en œuvre de collaborations avec des artisans et acteurs locaux.
## Rejoignez-nous !
Si vous souhaitez apporter votre aide à lune de ces commissions, contactez-nous à ladresse suivante : [contact@etoiledebethleem.fr](mailto:contact@etoiledebethleem.fr).

View file

Before

Width:  |  Height:  |  Size: 358 KiB

After

Width:  |  Height:  |  Size: 358 KiB

View file

@ -10,13 +10,12 @@ En 2023, une bière exclusive a été brassée par la Brasserie des Cottereaux e
{{<fig-img
single=true
src="imgs/biere-majestueuse.jpg"
src="images/biere_la_majestueuse.jpg"
options="400x600"
caption="Bière la Majestueuse"
class="no-margin"
>}}
![biere](/biere-majestueuse.jpg)
## Miel
À lété 2024, 12 ruches ont été installées sur le coteau de la chapelle par lapiculteur Samuel Fedorawiez. Le premier miel est attendu pour le printemps 2025, et une partie des ventes contribuera directement au financement de lassociation.

View file

@ -38,6 +38,6 @@
<meta name="msapplication-TileImage" content="/icons/ms-icon-144x144.png">
<meta name="theme-color" content="#025E73">
{{ $style := resources.Get "sass/main.scss" | resources.ToCSS | resources.Fingerprint }}
{{ $style := resources.Get "sass/main.scss" | css.Sass | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}">

View file

@ -14,7 +14,13 @@
{{ if hasPrefix (.Get "src") "https://" }}
{{ $permalink = .Get "src" }}
{{ else }}
{{ $permalink = ((.Page.Resources.GetMatch (.Get "src")).Fill $options).Permalink }}
{{ $resource := .Page.Resources.GetMatch (.Get "src") }}
{{ if not $resource }}
{{ $resource = .Page.Parent.Resources.GetMatch (.Get "src") }}
{{- end -}}
{{ if $resource }}
{{ $permalink = ($resource.Fill $options).Permalink }}
{{- end -}}
{{- end -}}
<img src="{{ $permalink }}"