fix: various style and content fixes
This commit is contained in:
parent
e15b638d4e
commit
4c25ec9dc1
6 changed files with 32 additions and 8 deletions
3
TODO.md
3
TODO.md
|
@ -6,3 +6,6 @@
|
||||||
- [ ] add newsletter subscription form section
|
- [ ] add newsletter subscription form section
|
||||||
- [ ] fix menu on chrome
|
- [ ] fix menu on chrome
|
||||||
- [ ] add handle for crypt image comparaison
|
- [ ] add handle for crypt image comparaison
|
||||||
|
|
||||||
|
- [ ] crypt comparaison
|
||||||
|
- image en feuille relevé
|
||||||
|
|
|
@ -3,6 +3,11 @@
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.article__author {
|
||||||
|
text-align: right;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
|
||||||
.article__featured-image {
|
.article__featured-image {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
|
|
||||||
|
|
|
@ -121,7 +121,7 @@ $burger-menu-size: 4rem;
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 8rem;
|
top: 8rem;
|
||||||
left: 5rem;
|
left: 20%;
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
// transition: all 0.8s;
|
// transition: all 0.8s;
|
||||||
|
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
title: Les dernières nouvelles
|
title: Les dernières nouvelles
|
||||||
---
|
---
|
||||||
|
|
||||||
Ici vous trouverez des billets de blog rapportant les (bonnes !) dernières nouvelles de l'association et de son action autour de la chapelle de bethléem.
|
Ici vous trouverez des billets de blog rapportant les (bonnes !) dernières nouvelles de l'association et de son action autour de la chapelle de bethléem.
|
||||||
|
|
||||||
|
|
|
@ -1,15 +1,22 @@
|
||||||
|
{{ define "head" }}
|
||||||
|
{{ with .Params.author }}
|
||||||
|
<meta name="author" content="{{ .name | default " L'Équipe communication de l'Étoile de Bethléem" }}" />
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<main class="page-container read-article">
|
<main class="page-container read-article">
|
||||||
<article class="article">
|
<article class="article">
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
|
|
||||||
{{ if .Date }}
|
<div class="article__meta">
|
||||||
<div class="article__date">
|
{{ with .Date }}
|
||||||
Publié le
|
<div class="article__date">
|
||||||
{{ $date := .Date.Format "2006-01-02" }}
|
Publié le
|
||||||
<time date="{{ $date }}">{{ time.Format "2 January 2006" $date }}</time>
|
{{ $date := .Format "2006-01-02" }}
|
||||||
|
<time date="{{ $date }}">{{ time.Format "2 January 2006" $date }}</time>
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
|
||||||
|
|
||||||
|
|
||||||
{{ if .Params.featured_image }}
|
{{ if .Params.featured_image }}
|
||||||
|
@ -31,6 +38,12 @@
|
||||||
<div>
|
<div>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ with .Params.author }}
|
||||||
|
<div class="article__author">
|
||||||
|
Par {{ .name }}.
|
||||||
|
</div>
|
||||||
|
{{ end }}
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
|
@ -333,6 +333,9 @@
|
||||||
<section class="compare-section" id="section-compare">
|
<section class="compare-section" id="section-compare">
|
||||||
<div class="page-container">
|
<div class="page-container">
|
||||||
<h2>Un petit bout de Palestine en Normandie...</h2>
|
<h2>Un petit bout de Palestine en Normandie...</h2>
|
||||||
|
<p>
|
||||||
|
La crypte de Bethléem est une reproduction quasi-exacte de la grotte de la nativité à Bethléem en Palestine. Jusqu'a preuve du contraire, il s'agit du seul fac similé dans le monde. La crypte est inscrite aux monuments historiques en 1933.
|
||||||
|
</p>
|
||||||
<div class="compare-items compare-items-dynamic">
|
<div class="compare-items compare-items-dynamic">
|
||||||
<div class="compare-item compare-east">
|
<div class="compare-item compare-east">
|
||||||
<figure>
|
<figure>
|
||||||
|
|
Loading…
Reference in a new issue