initial commit
This commit is contained in:
commit
21711bd5dd
253 changed files with 78415 additions and 0 deletions
44
layouts/_default/baseof.html
Normal file
44
layouts/_default/baseof.html
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="fr">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>{{ .Title }}</title>
|
||||
|
||||
<!-- FONTS -->
|
||||
<link href="/fonts/dsentient/stylesheet.css" rel="stylesheet" type="text/css">
|
||||
|
||||
<!-- Charge le CSS pour l'affichage écran -->
|
||||
{{ $styleScreen := resources.Get "style-screen.css" }}
|
||||
{{ if $styleScreen }}
|
||||
<link id="style-screen" rel="stylesheet" type="text/css" href="{{ $styleScreen.RelPermalink }}">
|
||||
{{ end }}
|
||||
{{ $stylePrint := resources.Get "style-print.css" }}
|
||||
{{ if $styleScreen }}
|
||||
<link id="style-print" rel="stylesheet" type="text/css" href="{{ $stylePrint.RelPermalink }}" media="print">
|
||||
{{ end }}
|
||||
</head>
|
||||
<body>
|
||||
<button id="btn-print"><a href="/?print=true">Print</a></button>
|
||||
|
||||
{{ block "main" . }}{{ end }}
|
||||
|
||||
|
||||
<script>
|
||||
// Charge le module csspageweaver si ?print=true
|
||||
const urlParams = new URLSearchParams(window.location.search);
|
||||
if (urlParams.get('print') === 'true') {
|
||||
// Retire le CSS d'affichage écran
|
||||
const styleScreen = document.getElementById('style-screen');
|
||||
if (styleScreen) {
|
||||
styleScreen.remove();
|
||||
}
|
||||
|
||||
// Charge le script
|
||||
const script = document.createElement('script');
|
||||
script.src = '/csspageweaver/main.js';
|
||||
script.type = 'module';
|
||||
document.head.appendChild(script);
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
82
layouts/index.html
Normal file
82
layouts/index.html
Normal file
|
|
@ -0,0 +1,82 @@
|
|||
{{ define "main" }}
|
||||
<section class="couverture">
|
||||
|
||||
<h1 class="title">Nos vertiges</h1>
|
||||
<h2 class="sutitle">Échelles, formats, mesures et démesure</h2>
|
||||
<p class="date">22–27 août 2026</p>
|
||||
<p class="rencontres">74<sup>o</sup> rencontres internationales de Lure</p>
|
||||
|
||||
</section>
|
||||
|
||||
<section class="edito">
|
||||
{{ range where .Site.RegularPages "Type" "edito" }}
|
||||
<h2>{{ .Title }}</h2>
|
||||
<div class="edito-content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
{{ $pages := where .Site.RegularPages "Section" "people" }}
|
||||
{{ $days := slice "lundi" "mardi" "mercredi" "jeudi" "vendredi" "samedi" "dimanche" }}
|
||||
|
||||
{{ range $days }}
|
||||
{{ $day := . }}
|
||||
{{ $dayPages := where $pages "Params.day" $day }}
|
||||
|
||||
{{ if $dayPages }}
|
||||
<section class="day" id="section-{{ $day }}">
|
||||
<h2 class="day-title">{{ $day }}</h2>
|
||||
|
||||
{{ range sort $dayPages "Params.order" }}
|
||||
<article class="person" id="{{ .File.BaseFileName }}">
|
||||
|
||||
<figure><img src="/images/{{ .Params.imgCover }}"></figure>
|
||||
|
||||
<h3 class="title">{{ .Title | markdownify }}</h3>
|
||||
<h4 class="subtitle">{{ .Params.subtitle | markdownify }}</h4>
|
||||
|
||||
<div class="type-tags-group">
|
||||
<p class="type">{{ .Params.type }}</p>
|
||||
<ul class="tags">
|
||||
{{ range .Params.tags }}<li class="tag">{{ . }}</li>{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="content">
|
||||
{{ .Content }}
|
||||
</div>
|
||||
|
||||
<figure><img src="/images/{{ .Params.imgBio }}"></figure>
|
||||
|
||||
<div class="biographie">
|
||||
<p>{{ .Params.biographie | markdownify }}</p>
|
||||
</div>
|
||||
|
||||
{{ with .Params.website }}
|
||||
<p class="website"><a href="https://{{ . }}" target="_blank">{{ . }}</a></p>
|
||||
{{ end }}
|
||||
|
||||
</article>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
|
||||
<div class="4e-couverture">
|
||||
|
||||
<h2>Remerciments et colophon</h2>
|
||||
|
||||
<div class="remerciement">
|
||||
<p>
|
||||
Les rencontres internationales de Lure remercient...
|
||||
</p>
|
||||
<p>
|
||||
Merci à ...
|
||||
</p>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
{{ end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue