weko/home.html

76 lines
2.3 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{{ define "main" }}
{{ with site.Data.homepage.banner }}
<section>
<article>
<h1>{{ .title | markdownify }}</h1>
{{with .image}}<img src="{{ . | absURL }}" alt="Le futur du numérique responsable" loading="lazy">{{end}}
<p class="mb-4">{{ .content | markdownify }}</p>
{{ if .button.enable }}
{{ with .button }}
<p><a href="{{ .link | safeURL }}" class="btn">{{ .label }}</a></p>
{{ end }}
{{ end }}
</article>
</section>
{{ end }}
{{ if site.Data.homepage.valeur.enable }}
{{ with site.Data.homepage.valeur }}
<section class="highlight column full">
<section>
<h2 class="section-title">{{ .title | markdownify }}</h2>
</section>
<section class="full">
{{ range .valeur_item }}
<article class="box">
<img src="images/{{.image}}.svg" alt="{{ .name | title }}" height="64" width="64" loading="lazy">
<h4 class="mb-2">{{ .name | title }}</h4>
<p>{{ .content | markdownify }}</p>
</article>
{{ end }}
</section>
</section>
{{ end }}
{{ end }}
{{ if site.Data.homepage.presentations.enable }}
{{ with site.Data.homepage.presentations }}
{{ range $i,$p := .presentations_item }}
{{ with $p }}
<section class="{{ if modBool $i 2 }}image-text{{ else }}highlight text-image{{end}} full">
<article>
{{ if modBool $i 2 }}
<img src="{{ .image }}" alt="{{ .Title }}" loading="lazy" />
{{ else }}
{{ .content | markdownify }}
{{ end }}
</article>
<article>
{{ if modBool $i 2 }}
{{ .content | markdownify }}
{{ else }}
<img src="{{ .image }}" alt="{{ .Title }}" loading="lazy" />
{{ end }}
</article>
</section>
{{ end }}
{{ end }}
{{ end }}
{{ end }}
<section class="highlight text-image full">
<article>
<h3>Accompagné par l'incubateur Ronalpia</h3>
<p>« Jai le plaisir de vous annoncer quen 2021, mon entreprise va bénéficier dun accompagnement personnalisé par <a href="https://www.ronalpia.fr/">Ronalpia</a> !<br>
Cela va me permettre de développer mon projet et contribuer à réduire les impacts environnementaux du numérique sur mon territoire ! »</p>
</article>
<article>
<a href="https://www.ronalpia.fr/">
<img src="/images/ronalpia.png" alt="Ronalpia, incubation 2021" loading="lazy" />
</a>
</article>
</section>
{{ end }}