feat: Bully
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-04-18 01:27:07 +02:00
parent 2a3f37e508
commit f0aeb335e1
18 changed files with 212 additions and 33 deletions

View File

@ -0,0 +1,36 @@
{{ define "main" }}
<div class="container small">
{{ $path := .Params.image }}
{{ $credit := .Params.image_credit }}
{{ with .Resources.GetMatch $path }}
{{ $img := .Fill "680x382 center" }}
<img class="actu-image" src="{{ $img.RelPermalink }}"{{ with $credit }} alt="{{ . }}" title="{{ . }}"{{ end}} />
{{ end }}
{{ .Content }}
<hr>
<h3 class="txt-center">Projets précédents et suivants</h3>
</div>
<div class="container">
<aside class="grid actualites -middle">
{{ with .NextInSection }}
{{ partial "projet" . }}
{{else}}
<div class="cell -6of12 empty">
<div class="info grid -middle -center">
Vous avez un projet ?<br>N'hésitez pas à nous en parler !
</div>
</div>
{{ end }}
{{ with .PrevInSection }}
{{ partial "projet" . }}
{{else}}
<div class="cell -6of12 empty">
<div class="info grid -middle -center">
Vous avez un projet ?<br>N'hésitez pas à nous en parler !
</div>
</div>
{{ end }}
</div>
</aside>
</div>
{{ end }}