feat: prep for next version
All checks were successful
Deploy workflow / deploy (push) Successful in 17s
All checks were successful
Deploy workflow / deploy (push) Successful in 17s
- per subject of projects page - add basic news page - new layout with bootstrap - more misc pages
This commit is contained in:
parent
2f0c2562aa
commit
293ac83a9d
37 changed files with 12551 additions and 137 deletions
38
layouts/projets/list.html
Normal file
38
layouts/projets/list.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
{{ define "main" }}
|
||||
<main class="container">
|
||||
<h1 class="page-title">{{ .Title }}</h1>
|
||||
{{ with .Content }}
|
||||
<div>{{ . }}</div>
|
||||
{{ end }}
|
||||
|
||||
<div class="items">
|
||||
{{ range .Paginator.Pages }}
|
||||
<div class="card mb-3" style="max-width: 1000px;">
|
||||
<div class="row g-0">
|
||||
<a href="{{ .RelPermalink }}" class="col-md-5">
|
||||
{{ $featuredImage := (resources.Get (printf "%s" ("images/cycle_path_sun.jpg" | safeURL))) }}
|
||||
{{ if .Params.featured_image }}
|
||||
{{ $featuredImage = .Resources.GetMatch (.Params.featured_image.src | safeURL) }}
|
||||
{{ end }}
|
||||
{{ $featuredImage := $featuredImage.Process "fill 500x350" }}
|
||||
<img class="img-fluid rounded-start" alt="{{ .Params.featured_image.alt }}" src="{{ $featuredImage.RelPermalink }}" />
|
||||
</a>
|
||||
<div class="col-md-7 ">
|
||||
<div class="card-body px-4">
|
||||
<h5 class="card-title mb-3">
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</h5>
|
||||
<p class="card-text">{{ .Summary }}…</p>
|
||||
<p class="card-text text-end">
|
||||
<a href="{{ .RelPermalink }}"><small class="mr-4 text-body-secondary">Lire plus</small></a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ partial "pagination.html" . }}
|
||||
</main>
|
||||
{{ end }}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue