feat: basic style and layout
images de la nef et facades
|
@ -1,4 +1,34 @@
|
|||
footer {
|
||||
margin-top: 1rem;
|
||||
background-color: blue;
|
||||
html {
|
||||
height: 100%;
|
||||
}
|
||||
body {
|
||||
min-height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
.footer-push {
|
||||
flex-grow: 1;
|
||||
|
||||
}
|
||||
|
||||
.site-footer {
|
||||
border-top: .5rem solid #eeeeee;
|
||||
margin-top: 1rem;
|
||||
padding-top: 2rem;
|
||||
padding-bottom: 4rem;
|
||||
background-color: $background;
|
||||
color: white;
|
||||
|
||||
a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
opacity: 0.8;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.site-footer__content {
|
||||
|
||||
}
|
||||
|
|
|
@ -1,3 +1,20 @@
|
|||
body {
|
||||
font-family: sans-serif;
|
||||
// font-family: 'Trebuchet MS', Tahoma,sans-serif;
|
||||
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.75rem;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.4rem;
|
||||
}
|
||||
|
||||
a {
|
||||
color: $secondary;
|
||||
}
|
||||
a:hover {
|
||||
opacity: 0.8;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,47 @@
|
|||
header {
|
||||
background: #d35400;
|
||||
$header-height: 6.5rem;
|
||||
|
||||
.site-header {
|
||||
background: $background;
|
||||
margin-bottom: 1rem;
|
||||
color: white;
|
||||
height: $header-height;
|
||||
}
|
||||
|
||||
.site-header__content {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.site-header__nav {
|
||||
a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
opacity: 0.8;
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
.site-header__title {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.site-header__logo {
|
||||
width: $header-height;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
@media (max-width: $md-breakpoint) {
|
||||
.site-header .page-container {
|
||||
width: 100% !important;
|
||||
}
|
||||
.site-header__title {
|
||||
padding-right: 1rem;
|
||||
}
|
||||
.site-header__nav {
|
||||
line-height: 2rem;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -3,8 +3,10 @@ $md-breakpoint: 1100px;
|
|||
$sm-breakpoint: 900px;
|
||||
$xs-breakpoint: 400px;
|
||||
|
||||
$primary: #ff00ff;
|
||||
$secondary: red;
|
||||
|
||||
$background: #4f607a;
|
||||
$primary: #ffb500;
|
||||
$secondary: #f15a24;
|
||||
|
||||
.pagination-nav {
|
||||
margin-top: 1em;
|
||||
|
|
|
@ -2,32 +2,38 @@
|
|||
width: 80%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.page-full {
|
||||
padding: 0 2rem;
|
||||
}
|
||||
|
||||
@media (min-width: $lg-breakpoint) {
|
||||
.page-container {
|
||||
width: 58%;
|
||||
}
|
||||
.page-container {
|
||||
width: 58%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: $md-breakpoint) {
|
||||
.page-container {
|
||||
width: 65%;
|
||||
}
|
||||
.page-container {
|
||||
width: 65%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $md-breakpoint) {
|
||||
.page-container {
|
||||
width: 75%;
|
||||
}
|
||||
.page-container {
|
||||
width: 75%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $sm-breakpoint) {
|
||||
.page-container {
|
||||
width: 90%;
|
||||
}
|
||||
.page-container {
|
||||
width: 90%;
|
||||
}
|
||||
.page-full {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: $xs-breakpoint) {
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
21
content/contact/index.md
Normal file
|
@ -0,0 +1,21 @@
|
|||
---
|
||||
title: Nous contacter
|
||||
---
|
||||
|
||||
## Par courrier électronique
|
||||
|
||||
Pour l'instant, nous disposons de l'adresse e-mail : [](mailto:)
|
||||
|
||||
## Par voie postale
|
||||
|
||||
```
|
||||
7 Allée des sources
|
||||
27940 Le Val d'Hazey
|
||||
```
|
||||
|
||||
## Sur le groupe facebook
|
||||
|
||||
C'est là ou l'association s'est initialement formé, si vous avez un compte facebook et que vous n'avez pas de soucis avec cette plate-forme :
|
||||
|
||||
[facebook.com/groups/bethleemaubevoye](https://www.facebook.com/groups/bethleemaubevoye)
|
||||
|
|
@ -11,6 +11,6 @@ L'autel principal dans enfoncement en demi-lune photographié du temps de M. et
|
|||
|
||||
On apperçoit un mini-tabernacle sur l'autel avec une croix et deux chandeliers.
|
||||
|
||||
Le Tabernacle est plus petit que celui disposé sur le même autel sur une [photo de l'ensemble de la crypte](/images/00006/).
|
||||
Le Tabernacle est plus petit que celui disposé sur le même autel sur une [photo de l'ensemble de la crypte](/images/6/).
|
||||
|
||||
On remarque la précense de l'étoile encore intacte.
|
||||
|
|
8
content/images/23/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: CP_vieille_eglise_de_Bethleem_monique_poree.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/23/original.jpg
Executable file
After Width: | Height: | Size: 4.8 MiB |
8
content/images/24/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: IMG_2561.JPG
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/24/original.jpg
Executable file
After Width: | Height: | Size: 120 KiB |
8
content/images/25/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: 474_001.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/25/original.jpg
Executable file
After Width: | Height: | Size: 187 KiB |
8
content/images/26/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: 174_001.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/26/original.jpg
Executable file
After Width: | Height: | Size: 551 KiB |
8
content/images/27/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: SFI290.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/27/original.jpg
Executable file
After Width: | Height: | Size: 238 KiB |
8
content/images/28/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: WhatsApp Image 2022-01-14 at 14.05.16.jpeg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/28/original.jpg
Executable file
After Width: | Height: | Size: 315 KiB |
8
content/images/29/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: 47FI2.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/29/original.jpg
Executable file
After Width: | Height: | Size: 468 KiB |
|
@ -3,8 +3,8 @@ title: Dalle de la crypte cassée
|
|||
original_name: dalle-crypte-bethleem1.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- crypte
|
||||
- etoile
|
||||
- crypte
|
||||
- etoile
|
||||
#inception: 2000-10-08
|
||||
---
|
||||
|
||||
|
|
8
content/images/30/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: Bethleem1959.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/30/original.jpg
Executable file
After Width: | Height: | Size: 41 KiB |
8
content/images/31/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: WhatsApp Image 2022-01-14 at 14.02.33.jpeg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/31/original.jpg
Executable file
After Width: | Height: | Size: 324 KiB |
8
content/images/32/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: Extérieur de derrière la Vierge.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/32/original.jpg
Executable file
After Width: | Height: | Size: 6.3 MiB |
8
content/images/33/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: 791_001.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/33/original.jpg
Executable file
After Width: | Height: | Size: 111 KiB |
8
content/images/34/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: Bethleem1950.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/34/original.jpg
Executable file
After Width: | Height: | Size: 25 KiB |
8
content/images/35/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: 057_001.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/35/original.jpg
Executable file
After Width: | Height: | Size: 545 KiB |
8
content/images/36/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: 294_001.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/36/original.jpg
Executable file
After Width: | Height: | Size: 112 KiB |
8
content/images/37/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: 260_001.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/37/original.jpg
Executable file
After Width: | Height: | Size: 87 KiB |
8
content/images/38/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: 760_001.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/38/original.jpg
Executable file
After Width: | Height: | Size: 719 KiB |
8
content/images/39/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: SFI289.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/39/original.jpg
Executable file
After Width: | Height: | Size: 406 KiB |
8
content/images/40/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: 498_001.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/40/original.jpg
Executable file
After Width: | Height: | Size: 637 KiB |
8
content/images/41/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: bethleemcouleur.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/41/original.jpg
Executable file
After Width: | Height: | Size: 139 KiB |
8
content/images/42/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: 642_001.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/42/original.jpg
Executable file
After Width: | Height: | Size: 729 KiB |
8
content/images/43/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: c5c7b7e1072fb95616855f2803341202.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/43/original.jpg
Executable file
After Width: | Height: | Size: 163 KiB |
8
content/images/44/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: 741_001.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/44/original.jpg
Executable file
After Width: | Height: | Size: 116 KiB |
8
content/images/45/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: SFI287_Bethleem_sept_1903.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/45/original.jpg
Executable file
After Width: | Height: | Size: 198 KiB |
8
content/images/46/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: 378_001.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/46/original.jpg
Executable file
After Width: | Height: | Size: 612 KiB |
8
content/images/47/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: carte-postale-ancienne-27-aubevoye-chapelle-de-bethleem-animation-1912.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/47/original.jpg
Executable file
After Width: | Height: | Size: 178 KiB |
8
content/images/48/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: carte_postale.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- facade
|
||||
---
|
||||
|
BIN
content/images/48/original.jpg
Executable file
After Width: | Height: | Size: 196 KiB |
8
content/images/49/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: Crucifix au faite de la chapelle.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- interieur-nef
|
||||
---
|
||||
|
BIN
content/images/49/original.jpg
Executable file
After Width: | Height: | Size: 5.9 MiB |
8
content/images/50/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: Autel dans la chapelle au dessus de la grotte.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- interieur-nef
|
||||
---
|
||||
|
BIN
content/images/50/original.jpg
Executable file
After Width: | Height: | Size: 6.1 MiB |
8
content/images/51/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Image
|
||||
original_name: 358_001.jpg
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- interieur-nef
|
||||
---
|
||||
|
BIN
content/images/51/original.jpg
Executable file
After Width: | Height: | Size: 223 KiB |
8
content/images/52/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Visite de Mgr Colomb (1)
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- visite-mgr-colomb
|
||||
inception: 1897-09
|
||||
---
|
||||
|
BIN
content/images/52/original.jpg
Executable file
After Width: | Height: | Size: 173 KiB |
7
content/images/53/index.md
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
title: Visite de Mgr Colomb (2)
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- visite-mgr-colomb
|
||||
inception: 1897-09
|
||||
---
|
BIN
content/images/53/original.jpg
Executable file
After Width: | Height: | Size: 147 KiB |
8
content/images/54/index.md
Normal file
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: Visite de Mgr Colomb (3)
|
||||
mime_type: image/jpeg
|
||||
imtags:
|
||||
- visite-mgr-colomb
|
||||
inception: 1897-09
|
||||
---
|
||||
|
BIN
content/images/54/original.jpg
Executable file
After Width: | Height: | Size: 151 KiB |
|
@ -1,4 +1,4 @@
|
|||
# Images
|
||||
|
||||
Vous trouverez ici une liste d'images.
|
||||
Vous trouverez ici une liste d'images. N'hésitez pas à [nous contacter](/contact) pour envoyer vos photos !
|
||||
|
||||
|
|
|
@ -7,32 +7,44 @@ import os
|
|||
import shutil
|
||||
import magic
|
||||
import mimetypes
|
||||
import json
|
||||
|
||||
DEFAULT_TAGS = ['crypte']
|
||||
SOURCE_DIR = './to_import_crypte/'
|
||||
DEFAULT_TAGS = ['interieur-nef']
|
||||
SOURCE_DIR = './to_import_interieur_nef/'
|
||||
CONTENT_DIR = '../content/images/'
|
||||
|
||||
# get the current index for the outputdir
|
||||
content_dir_files = os.listdir(CONTENT_DIR)
|
||||
current_index = 1
|
||||
if len(content_dir_files) > 0:
|
||||
current_index = max(sorted([int(r) for r in content_dir_files]))+1
|
||||
id_lists = []
|
||||
for dir in content_dir_files:
|
||||
try:
|
||||
dir_as_integer = int(dir)
|
||||
except ValueError:
|
||||
continue
|
||||
id_lists.append(dir_as_integer)
|
||||
current_index = max(sorted(id_lists))+1
|
||||
|
||||
print(f"current index is {current_index}")
|
||||
|
||||
processed_images = []
|
||||
|
||||
to_import_files = os.listdir(SOURCE_DIR)
|
||||
created_dirs = []
|
||||
final_image_list = []
|
||||
|
||||
for original_file_name in to_import_files:
|
||||
print(f'> {current_index} loading {original_file_name}')
|
||||
|
||||
new_dir_name = str(current_index).zfill(5) + '/'
|
||||
# new_dir_name = str(current_index).zfill(5) + '/'
|
||||
new_dir_name = str(current_index) + '/'
|
||||
|
||||
if os.path.exists(CONTENT_DIR + new_dir_name):
|
||||
continue
|
||||
|
||||
os.mkdir(CONTENT_DIR + new_dir_name)
|
||||
created_dirs.append(new_dir_name)
|
||||
|
||||
image_old_path = SOURCE_DIR + original_file_name
|
||||
mime_type = magic.from_file(image_old_path, mime=True)
|
||||
|
@ -65,14 +77,19 @@ for original_file_name in to_import_files:
|
|||
image_md.write("title: Image\n")
|
||||
image_md.write(f"original_name: {img['original_name']}\n")
|
||||
image_md.write(f"mime_type: {img['mime_type']}\n")
|
||||
image_md.write(f"tags: {img['tags']}\n")
|
||||
image_md.write(f"imtags:\n")
|
||||
for t in img['tags']:
|
||||
image_md.write(f" - {t}\n")
|
||||
image_md.write("---\n")
|
||||
image_md.write("\n")
|
||||
# description about the image goes after (like the legend)
|
||||
image_md.close()
|
||||
final_image_list.append(img)
|
||||
|
||||
current_index += 1
|
||||
|
||||
print(json.dumps(created_dirs))
|
||||
print(json.dumps(final_image_list))
|
||||
|
||||
# import json
|
||||
# import pathlib
|
||||
|
|
|
@ -21,8 +21,10 @@
|
|||
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}">
|
||||
</head>
|
||||
<body>
|
||||
<div class="footer-push">
|
||||
{{ partial "header" . }}
|
||||
{{ block "main" . }}{{ end }}
|
||||
</div>
|
||||
{{ partial "footer" . }}
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<main class="page-container">
|
||||
{{ $listtitle := .Title }}
|
||||
{{ if or .Title .Content }}
|
||||
<div>
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<main class="page-container">
|
||||
<article>
|
||||
<h1>{{ .Title }}</h1>
|
||||
<div>Publié le <b><time>{{ .Date | time.Format ":date_full" }}</time></b></div>
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Date }}
|
||||
<div>Publié le <b><time>{{ . | time.Format ":date_full" }}</time></b></div>
|
||||
{{ end }}
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
<div>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</article>
|
||||
</main>
|
||||
{{ partial "sidebar.html" . }}
|
||||
{{ end }}
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{{ define "main" }}
|
||||
<main class="page-full">
|
||||
{{ .Scratch.Set "image_list_context" "all" }}
|
||||
{{ partial "images-list.html" . }}
|
||||
</main>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<main class="page-full">
|
||||
<article class="single-image">
|
||||
<!-- <b><time>{{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }}</time></b> -->
|
||||
<div class="single-image__side">
|
||||
|
@ -18,10 +18,12 @@
|
|||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ with .Params.original_name }}
|
||||
<div class="single-image__property single-image__original-name">
|
||||
<div class="property-name">Nom original :</div>
|
||||
<pre>{{ .Params.original_name }}</pre>
|
||||
<pre>{{ . }}</pre>
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="single-image__property single-image__date">
|
||||
|
||||
{{ with .Params.inception }}
|
||||
|
@ -67,10 +69,10 @@
|
|||
{{ if or .Next .Prev -}}
|
||||
<div class="gallery__nextprev">
|
||||
{{- with .Prev }}
|
||||
<a href="{{ .RelPermalink}}"><div id="prevart">Previous</div></a>
|
||||
<a href="{{ .RelPermalink}}"><div id="prevart">Précédente</div></a>
|
||||
{{ end -}}
|
||||
{{- with .Next -}}
|
||||
<a href="{{ .RelPermalink}}"><div id="nextart">Next</div></a>
|
||||
<a href="{{ .RelPermalink}}"><div id="nextart">Suivante</div></a>
|
||||
{{ end -}}
|
||||
</div>
|
||||
{{ end -}}
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{{ define "main" }}
|
||||
<main class="page-full">
|
||||
{{ .Scratch.Set "image_list_context" "imtags" }}
|
||||
{{ partial "images-list.html" . }}
|
||||
</main>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
{{ define "main" }}
|
||||
<main>
|
||||
<main class="page-container">
|
||||
<h1>Reconstruison pierre après pierre...</h1>
|
||||
<b>🚧 Site en construction... 🚧</b>
|
||||
{{/*
|
||||
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
|
||||
{{ range $paginator.Pages }}
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<footer>
|
||||
<a href="/"><b>{{ .Site.Title }}</b></a>
|
||||
<a href="/a-propos-du-site">A propos de ce site</a>
|
||||
<footer class="site-footer">
|
||||
<div class="site-footer__content page-container">
|
||||
<a href="/"><b>{{ .Site.Title }}</b></a>
|
||||
<a href="/a-propos-du-site">A propos de ce site</a>
|
||||
<a href="/contact">Nous contacter</a>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
@ -1,15 +1,20 @@
|
|||
<header>
|
||||
{{ strings.Repeat ( .Site.Title | len | add 5 ) "=" }}<br>
|
||||
== <a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a> ==<br>
|
||||
{{ strings.Repeat ( .Site.Title | len | add 5 ) "=" }}
|
||||
<div style="float: right;">{{ .Site.Params.subtitle }}</div><br>
|
||||
<nav>
|
||||
<a href="/actualites"><b>Actualité</b></a>.
|
||||
<a href="/association"><b>L'association</b></a>.
|
||||
<a href="/histoires"><b>Histoire de la chapelle</b></a>.
|
||||
<a href="/images"><b>Gallerie</b></a>.
|
||||
{{ range .Site.Menus.main }}
|
||||
<a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>.
|
||||
{{ end }}
|
||||
</nav>
|
||||
<header class="site-header">
|
||||
<div class="site-header__content page-container">
|
||||
<a class="site-header__title" href="/">
|
||||
<img
|
||||
class="site-header__logo"
|
||||
src="/logo.svg"
|
||||
alt="Logo l'étoile de bethléem"
|
||||
/>
|
||||
</a>
|
||||
<nav class="site-header__nav">
|
||||
<a href="/actualites"><b>Actualité</b></a>.
|
||||
<a href="/association"><b>L'association</b></a>.
|
||||
<a href="/histoires"><b>Histoire de la chapelle</b></a>.
|
||||
<a href="/images"><b>Gallerie</b></a>.
|
||||
{{ range .Site.Menus.main }}
|
||||
<a href="{{ .URL | relURL }}"><b>{{ .Name }}</b></a>.
|
||||
{{ end }}
|
||||
</nav>
|
||||
</div>
|
||||
</header>
|
||||
|
|
|
@ -1,33 +1,31 @@
|
|||
<main>
|
||||
|
||||
<div class="gallery">
|
||||
<div class="gallery__side">
|
||||
{{ $listtitle := .Title }}
|
||||
{{ if or .Title .Content }}
|
||||
<div>
|
||||
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
|
||||
{{ with .Content }}<div>{{ . }}</div>{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="gallery-tags__title">Filtrer par étiquettes</div>
|
||||
<div class="gallery-tags__list">
|
||||
<ul>
|
||||
{{- if eq (.Scratch.Get "image_list_context") "imtags" -}}
|
||||
<li>
|
||||
<a href="/images">Tout</a>
|
||||
</li>
|
||||
{{- end -}}
|
||||
{{- range .Site.Taxonomies.imtags -}}
|
||||
<li>
|
||||
<a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a>
|
||||
</li>
|
||||
{{- end -}}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="gallery">
|
||||
<div class="gallery__side">
|
||||
{{ $listtitle := .Title }}
|
||||
{{ if or .Title .Content }}
|
||||
<div>
|
||||
{{ with .Title }}<h1>{{ . }}</h1>{{ end }}
|
||||
{{ with .Content }}<div>{{ . }}</div>{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="gallery-tags__title">Filtrer par étiquettes</div>
|
||||
<div class="gallery-tags__list">
|
||||
<ul>
|
||||
{{- if eq (.Scratch.Get "image_list_context") "imtags" -}}
|
||||
<li>
|
||||
<a href="/images">Tout</a>
|
||||
</li>
|
||||
{{- end -}}
|
||||
{{- range .Site.Taxonomies.imtags -}}
|
||||
<li>
|
||||
<a href="{{ .Page.RelPermalink }}">{{ .Page.Title }}</a>
|
||||
</li>
|
||||
{{- end -}}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="gallery__items-container">
|
||||
<div class="gallery__items">
|
||||
<div class="gallery__items-container">
|
||||
<div class="gallery__items">
|
||||
{{ range $item := (.Paginator 8).Pages }}
|
||||
<a class="gallery__item" href="{{ .RelPermalink }}">
|
||||
{{ $image := .Resources.GetMatch "original.jpg" }}
|
||||
|
@ -52,8 +50,7 @@
|
|||
|
||||
</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ partial "pagination.html" . }}
|
||||
</div>
|
||||
{{ partial "pagination.html" . }}
|
||||
</div>
|
||||
</main>
|
||||
</div>
|
||||
|
|
Before Width: | Height: | Size: 8.4 KiB |
129
static/logo.svg
Normal file
|
@ -0,0 +1,129 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 800">
|
||||
<defs>
|
||||
<style>
|
||||
.a{fill:#4f607a;}.b{fill:#f15a24;}.c{opacity:0.3;}.d{fill:#ffb500;}.e{fill:#fff;}</style>
|
||||
</defs>
|
||||
<title>LOGO_BETHLEEM_V12</title>
|
||||
<rect class="a" width="800" height="800" />
|
||||
<path class="b" d="M193.23,620.75l63-9-5.31-11.1L180.23,600"
|
||||
transform="translate(0 0.3)" />
|
||||
<g class="c">
|
||||
<path d="M88.34,263.65l9.77,0v3.44l-13.93,0,.09-40.47h4.16Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path d="M99.11,239.84l-2.85-1.24,4.67-12.5,4.17,1.78Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path d="M125,230.12l-9.94,0,0,14.28h9.65v3.44l-9.64,0,0,15.89,10,0v3.44l-14.11,0,.08-40.47,14.12,0Zm-3.36-14.56,3.15,2.58-7.76,6.27-1.9-1.61Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path d="M145.59,230.15h-6.73l-.08,37h-4.17l.08-37H128v-3.43l17.62,0Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path d="M170.26,247c0,7.57-.64,20.77-11.06,20.75-9.83,0-11-11.34-11-20.79,0-10.25,1.53-20.77,11.06-20.76C169.41,226.22,170.28,238.09,170.26,247Zm-17.75,0c0,7.14.26,17.12,6.7,17.13S166,254.13,166,247s-.26-17.12-6.69-17.14C152.85,229.57,152.53,239.83,152.51,247Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path d="M180.22,267.25h-4.17l.09-40.48h4.17Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path d="M191.54,263.84l9.77,0v3.43l-13.93,0,.09-40.48h4.16Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path d="M219.07,230.28h-9.95l0,14.27,9.65,0V248l-9.65,0,0,15.89,9.94,0v3.43l-14.12,0,.09-40.48,14.12,0Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path d="M248.05,265.23h-.12a6.06,6.06,0,0,1-5.06,2.56c-6.38,0-7.26-7-7.24-14.5s.86-13.9,7.65-13.89a5.48,5.48,0,0,1,4.7,2.31h.12l0-17.29H252l-.09,42.94h-3.87Zm-3.88-23c-4.35,0-4.54,6.87-4.55,10.79,0,2.57-.62,11.91,4.32,11.92,4.11,0,4.48-4.55,4.5-11.8C248.45,246.87,247.74,242.25,244.17,242.24Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path d="M260.4,254.35v.81c0,2.73.52,9.39,4.74,9.4,3.4,0,3.88-4.29,3.89-6.49h4c-.07,4.19-1.87,9.76-7.53,9.75-8,0-9.09-8.6-9.08-14.13,0-4.94,1.22-14.28,8.61-14.26,7.15,0,8.26,8.44,8.25,13.27v1.66Zm8.94-2.93-.06-.49c-.11-2.63-.22-8.21-4.27-8.22-3.69,0-4.54,6.22-4.54,8.69Z"
|
||||
transform="translate(0 0.3)" />
|
||||
</g>
|
||||
<polyline class="b"
|
||||
points="357.82 527.92 243.23 621.05 193.23 621.05 242.93 424.74 284.9 294.2 435.15 289.99 462.23 412.8 610.91 731.94 567.23 721.12" />
|
||||
<path class="b"
|
||||
d="M268.06,314.44l57-203.72,23.15-21L453.15,315"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="b"
|
||||
d="M241.72,428.2,95.23,329.56l-2.15-30.17,191.85-2.51Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="b"
|
||||
d="M436.83,291.27,647.58,298l-10.35,18-153,104.57Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<polyline class="d"
|
||||
points="366.26 506.64 250.94 600.93 179.79 600.67 247.95 401.47 294.39 272.17 444.72 272.17 491.17 401.34 638.85 731.94 609.91 732" />
|
||||
<path class="d"
|
||||
d="M287.85,292.23l61-202.1,36.49-3.43,76.5,210.94"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="d"
|
||||
d="M246.61,404.89,93.08,299.39l9-24,192.26-.57Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="d" d="M293.23,274.57l345.36-.52,9,24L492,404.44Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="a"
|
||||
d="M265.31,435.16l.19-85.52,17.64,0q10.65,0,15.22,1a19,19,0,0,1,7.47,3.23,18,18,0,0,1,5.39,7,25.86,25.86,0,0,1,1.87,10.27q0,7.41-2.81,11.64t-8.92,6.43a14.58,14.58,0,0,1,10.71,6.33q3.85,5.73,3.84,15.32a30.57,30.57,0,0,1-2.23,12,17.56,17.56,0,0,1-6.21,8.12,24.07,24.07,0,0,1-8.1,3.37,97.75,97.75,0,0,1-15.88.91Zm16.35-17.44h6.15q6.24,0,8.79-2.15c1.76-1.33,2.65-3.61,2.65-6.85q0-5.28-2.35-7.57-2.37-2.1-8.79-2.12H281.7Zm.07-33.88h3.52c4.36,0,7.34-.61,8.92-1.85s2.43-3.51,2.43-6.58q0-4.83-2.22-6.81c-1.64-1.36-4.59-2.05-8.83-2.05h-3.78Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="a"
|
||||
d="M326.4,435.26l.19-85.51,39.41.07,0,18.81-22.32,0,0,14.77,21.05,0,0,18.4-21.05,0,0,14.38,22.32,0,0,19.15Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="a"
|
||||
d="M386.69,435.37l.14-65.31-14.41,0,0-20.21,46.37.08-.05,20.21-14.41,0-.14,65.3Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="a"
|
||||
d="M427.21,435.44l.19-85.51,17.53,0-.07,33.23,23.42.05.07-33.24,17.54,0-.19,85.52-17.53,0,.07-34.81-23.42,0-.08,34.81Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="a"
|
||||
d="M499.37,435.57l.18-85.52,17.54,0-.15,65.54,21.8,0,0,20Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="a"
|
||||
d="M547.27,435.66l.18-85.52,39.42.07,0,18.81-22.32,0,0,14.78,21,0,0,18.4-21.05,0,0,14.37,22.33,0,0,19.15Zm31.61-107.72-10.8,16.22h-5.41l6.41-16.23Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="a"
|
||||
d="M598.29,435.75l.18-85.52,39.42.07,0,18.81-22.32,0,0,14.78,21,0,0,18.4-21,0,0,14.37,22.33,0,0,19.16Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="a"
|
||||
d="M723.09,436l-16.39,0L703,399q-.46-5-.68-8.71t-.6-10.46q-.79,6.07-2.49,13.55c-.23,1-.41,1.81-.53,2.51l-8.83,40.06-11.69,0-8.66-40.09a20.57,20.57,0,0,0-.52-2.51,108.2,108.2,0,0,1-2.39-13.56c-.24,4.28-.47,7.48-.68,9.58-.09,1.09-.22,2.69-.4,4.79s-.32,3.7-.41,4.79l-3.86,37-16.3,0,10.12-85.5,17.35,0,9.62,44.12c.17.82.29,1.34.35,1.58a78.63,78.63,0,0,1,1.69,10.05c.06-1.06.28-2.77.67-5.14q.18-.89,1.33-6.6l9.9-44,17.4,0Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M258.31,429.75l.19-85.52,17.64,0q10.65,0,15.22,1a19,19,0,0,1,7.47,3.23,18,18,0,0,1,5.39,7,25.86,25.86,0,0,1,1.87,10.27q0,7.41-2.81,11.64t-8.92,6.43a14.61,14.61,0,0,1,10.71,6.33q3.85,5.73,3.84,15.32a30.65,30.65,0,0,1-2.23,12,17.58,17.58,0,0,1-6.21,8.11,23.86,23.86,0,0,1-8.1,3.37,97.75,97.75,0,0,1-15.88.91Zm16.35-17.44h6.15q6.24,0,8.79-2.15c1.76-1.33,2.65-3.61,2.65-6.85q0-5.28-2.35-7.57-2.37-2.1-8.79-2.12H274.7Zm.07-33.88h3.52c4.36,0,7.34-.61,8.92-1.85s2.43-3.51,2.43-6.57q0-4.84-2.22-6.82c-1.64-1.36-4.59-2.05-8.83-2.05h-3.78Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M319.4,429.86l.19-85.52,39.41.07,0,18.81-22.32,0,0,14.78,21.05,0,0,18.4-21.05,0,0,14.37,22.32,0,0,19.16Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M379.69,430l.14-65.3-14.41,0,0-20.21,46.37.08-.05,20.21-14.41,0-.14,65.3Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M420.21,430l.19-85.51,17.53,0-.07,33.23,23.42.05.07-33.24,17.54,0-.19,85.52-17.53,0,.07-34.82-23.42,0-.08,34.81Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M492.37,430.16l.18-85.52,17.54,0-.15,65.54,21.8,0,0,20Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M540.27,430.25l.18-85.52,39.42.07,0,18.81-22.32,0,0,14.78,21,0,0,18.4-21,0,0,14.37,22.33,0,0,19.16Zm31.61-107.72-10.8,16.22h-5.41l6.41-16.23Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M591.29,430.34l.18-85.52,39.42.07,0,18.81-22.32,0,0,14.78,21,0,0,18.41-21,0,0,14.37,22.33,0,0,19.16Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M716.09,430.56l-16.39,0-3.7-37c-.31-3.31-.54-6.22-.68-8.71s-.4-5.94-.6-10.46q-.79,6.08-2.49,13.55c-.23,1-.41,1.81-.53,2.51l-8.83,40.06-11.69,0-8.66-40.09a20.57,20.57,0,0,0-.52-2.51,108.2,108.2,0,0,1-2.39-13.56q-.36,6.44-.68,9.58c-.09,1.09-.22,2.69-.4,4.79s-.32,3.7-.41,4.79l-3.86,37-16.3,0,10.12-85.5,17.35,0,9.62,44.12c.17.82.29,1.34.35,1.58a78.63,78.63,0,0,1,1.69,10.05c.06-1.05.28-2.77.67-5.14l1.33-6.6,9.9-44,17.4,0Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M85.34,261.85l9.77,0v3.43l-13.93,0,.09-40.48h4.16Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e" d="M96.11,238l-2.85-1.24,4.67-12.5,4.17,1.78Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M122,228.31H112.1l0,14.27,9.65,0V246l-9.64,0,0,15.89,10,0v3.43l-14.11,0,.08-40.48,14.12,0Zm-3.36-14.55,3.15,2.58-7.76,6.27-1.9-1.62Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M142.59,228.35h-6.73l-.08,37h-4.17l.08-37H125v-3.44l17.62,0Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M167.26,245.2c0,7.56-.64,20.77-11.06,20.75-9.83,0-11-11.35-11-20.79,0-10.26,1.53-20.78,11.06-20.76C166.41,224.42,167.28,236.28,167.26,245.2Zm-17.75,0c0,7.14.26,17.13,6.7,17.14s6.75-10,6.76-17.11-.26-17.13-6.69-17.14C149.85,227.77,149.53,238,149.51,245.16Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e" d="M177.22,265.45h-4.17l.09-40.47h4.17Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M188.54,262h9.77v3.44l-13.93,0,.09-40.47h4.16Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M216.07,228.48l-9.95,0,0,14.28,9.65,0v3.43h-9.65l0,15.89H216v3.44l-14.12,0L202,225l14.12,0Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M245.05,263.42h-.12a6,6,0,0,1-5.06,2.57c-6.38,0-7.26-7-7.24-14.5s.87-13.91,7.66-13.89a5.48,5.48,0,0,1,4.69,2.31h.12l0-17.28H249l-.09,42.95h-3.87Zm-3.88-23c-4.35,0-4.54,6.86-4.55,10.78,0,2.58-.62,11.92,4.32,11.93,4.11,0,4.48-4.56,4.5-11.8C245.45,245.07,244.74,240.45,241.17,240.44Z"
|
||||
transform="translate(0 0.3)" />
|
||||
<path class="e"
|
||||
d="M257.4,252.55v.8c0,2.74.52,9.4,4.74,9.41,3.4,0,3.88-4.29,3.89-6.49h4c-.07,4.18-1.87,9.76-7.53,9.75-8,0-9.09-8.6-9.08-14.13,0-4.94,1.23-14.28,8.61-14.27,7.15,0,8.26,8.45,8.25,13.28v1.66Zm8.94-2.94-.06-.48c-.11-2.63-.22-8.21-4.27-8.22-3.69,0-4.54,6.22-4.54,8.69Z"
|
||||
transform="translate(0 0.3)" />
|
||||
</svg>
|
After Width: | Height: | Size: 9.1 KiB |