feat: Modification des associations
This commit is contained in:
@ -1,11 +1,21 @@
|
||||
{{ define "main" }}
|
||||
<div class="container">
|
||||
<h1>{{ .RenderString .Title }}</h1>
|
||||
<h1>{{ .RenderString .Title }} </h1>
|
||||
{{ if ne hugo.Environment "production" }}
|
||||
<div class="container md">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<br>
|
||||
<div class="container md">
|
||||
<h2>Liens :</h2>
|
||||
<ul>
|
||||
{{ if .Params.mail }}<li>Mail : {{ .Params.mail }}</li>{{ end }}
|
||||
{{ if .Params.telephone }}<li>Téléphone : {{ .Params.telephone }}</li>{{ end }}
|
||||
{{ if .Params.site }}<li>Site WEB : {{ .Params.site }}</li>{{ end }}
|
||||
{{ if .Params.facebook }}<li>Facebook : {{ .Params.facebook }}</li>{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ if isset .Params "bureau" }}
|
||||
<br>
|
||||
<div class="container md">
|
||||
@ -13,12 +23,12 @@
|
||||
<ul>
|
||||
{{ range $membre := .Params.bureau }}
|
||||
<li>
|
||||
{{ $membre.statut }} : {{ if isset $membre "prénom" }}{{ $membre.prénom }}{{ if isset $membre "nom" }} {{ end}}{{ end }}{{ if isset $membre "nom" }}{{ $membre.nom | upper }}{{ end }}
|
||||
{{ $membre.denomination }} : {{ if isset $membre "prenom" }}{{ $membre.prenom }}{{ if isset $membre "nom" }} {{ end}}{{ end }}{{ if isset $membre "nom" }}{{ $membre.nom | upper }}{{ end }}
|
||||
{{ if gt (len $membre) 3 }}
|
||||
<ul>
|
||||
{{ if isset $membre "téléphone" }}
|
||||
{{ if isset $membre "telephone" }}
|
||||
<li>
|
||||
{{ printf "[%s](tel:%s)" (replace $membre.téléphone " " "") (replace $membre.téléphone " " "") | markdownify }}
|
||||
{{ printf "[%s](tel:%s)" (replace $membre.telephone " " "") (replace $membre.telephone " " "") | markdownify }}
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ if isset $membre "mail" }}
|
||||
|
Reference in New Issue
Block a user