add gallery content
BIN
.DS_Store
vendored
46
content/jardin/fevrier25/fevrier25.md
Normal file
|
@ -0,0 +1,46 @@
|
|||
+++
|
||||
title = "Quoi de neuf : Février 2025"
|
||||
date = "2025-02-09"
|
||||
categories = ["jardin"]
|
||||
tags = ["février-25","semis"]
|
||||
+++
|
||||
|
||||
En ce mois de Février, je continue toujours les semis :<!--more-->
|
||||
* Tomate Roma : une première au jardin pour les sauces tomates et tomates séchées
|
||||
* Laitue Batavia blonde de Paris : une première au jardin.
|
||||
* Tomate Beefsteak : pour notre consomation cet été
|
||||
|
||||
C'est la première année que je me lance dans la Batavia avec la cette laitue blonde. Elle a la particularité de produire des feuilles finement gauffrées, produisant des salades volumineuses et bien croquantes. Variété peu sensible à la chaleur, intéressant pour notre climat méditerranéen.
|
||||
|
||||
C'est aussi une première pour les tomates Roma, chaque année nous avions l'habitude de planter une seule variété de tomate pour notre consomation et lla conservation. Cette nous essayons les tomates Roma pour la conservation. Variété connue pour être très productive et donner des fruits de taille moyenne, à la silhouette allongée et lisse. Les tomates sont charnues et presque sans pépins ce qui fait une candidate parfaite pour nos conserve.
|
||||
|
||||
Les semis semés au mois Janvier commence et sortir de terre, ainsi j'ai l'honneur d'avoir une petit forêt de poireau d'hiver de Saint Victor.
|
||||
|
||||
[](/img/jardin/fevrier25/foret-poireau.jpg)
|
||||
*Forêt de Saint Victor*
|
||||
|
||||
Mes laitues à couper chêne blonde commencent elles aussi à prendre leur forme définitive attendant patiament d'être installées au jardin durant le mois mars. Je suis aussi dans l'attente de la germination mes pommes de terre. Pour rester dans la germination je me suis lancé dans la patate douce, instalée bien au chaud dans la véranda.
|
||||
|
||||
[](/img/jardin/fevrier25/laitues.jpg)
|
||||
*Laitues à couper chêne blonde*
|
||||
|
||||
[](/img/jardin/fevrier25/pattatedouce.jpg)
|
||||
*Pataes Douces*
|
||||
|
||||
[](/img/jardin/fevrier25/pommeterre.jpg)
|
||||
*Germination en cours*
|
||||
|
||||
En préparant la parcelle de pommes de terre j'ai eu l'heureuse surprise de trouver un jeune pousse d'Amandier. Le champs justaposant la maison en possède quelques-un, je pense qu'il provient de là. Je l'ai délicatement détérré pour le rempoter au chaud dans la serre, où je vais le laisser grandrir en attendant de le mettre au jardin.
|
||||
|
||||
[](/img/jardin/fevrier25/amandier.jpg)
|
||||
*Mon petit amandier*
|
||||
|
||||
Mes arômatiques semés au mois de novembre se portent très bien, ils poussent tellement vite j'en suis déjà à mon troisème rempotage.
|
||||
|
||||
[](/img/jardin/fevrier25/aromatiques.jpg)
|
||||
*Ciboulette, Aneth, Coriandre*
|
||||
|
||||
Pour conclure le mois Février est dans la continuité du mois précédent, la Patience est le maître mot.
|
||||
|
||||
|
||||
|
|
@ -1,13 +1,10 @@
|
|||
+++
|
||||
image = "egypte-21.jpg"
|
||||
date = "2025-01-04"
|
||||
title = "Expo, Les pharaons d'Egypte"
|
||||
title = "L'Egypte des pharaons"
|
||||
type = "gallery"
|
||||
+++
|
||||
=[Photo](gallerie/egypte-21.jpg)
|
||||
|
||||
De retour pour une troisième fois au [Carrières de lumières](https://fr.wikipedia.org/wiki/Carri%C3%A8res_de_Lumi%C3%A8res) des Beaux de Provence. Cette fois-ci pour une projection sur l’Égypte des pharaons et l’orientalisme.
|
||||
|
||||
{{< gallery >}}
|
||||
{{< figure src="/img/expo-egypte/egypte-carriere-lumiere-1.jpg" >}}
|
||||
{{< figure src="/img/expo-egypte/egypte-carriere-lumiere-2.jpg" >}}
|
||||
{{< figure src="/img/expo-egypte/egypte-carriere-lumiere-3.jpg" >}}
|
||||
{{< /gallery >}}
|
||||
{{< gallery dir="img/expo-egypte" />}}
|
60
content/posts/date-in-french/index.md
Normal file
|
@ -0,0 +1,60 @@
|
|||
+++
|
||||
title = "Hugo: Afficher les dates en français"
|
||||
date = "2025-02-09"
|
||||
categories = ["adminsys"]
|
||||
tags = ["hugo","date"]
|
||||
+++
|
||||
|
||||
Hugo est un générateur de sites statiques rapide et moderne écrit en Go, conçu pour rendre la création de sites web à nouveau amusante.
|
||||
<!--more-->
|
||||
Cependant à chaque fois je rencontre le même problème sur le système de date. Hugo s’appuie sur des librairies de format de date du langage go, 100% américain,
|
||||
du coup je me retrouve avec les dates à l’envers en mode YYYY-DD-MM à la place du logique YYYY-MM-DD et les mois en langue Anglaise.
|
||||
Pour site entièrement francophone cela pose un problème de lecture.
|
||||
|
||||
Pour y remidier j'ai mis en place une petite routine :
|
||||
|
||||
* Je créé deux petits fichier en `YAML` appellé : `mois.yml` et `moishort.yml`. Ces deux fichiers font le pont entre le numéro de mois et l’affichage en français.
|
||||
Comme leur nom l'indique l'un affiche les mois en entier et l'autre les noms tronqués, en fonction des besoins et du theme utilisé.
|
||||
* J'utilise ensuite le numéro de mois comme un index et stocke la valeur correspondante dans une variable locale : `{{ $mymonths := index $.Site.Data.mois }}`
|
||||
* Pour finir avec `printf` j'affiche cette valeur : `{{ index $mymonths (printf "%d" .Date.Month) }} {{ .Date.Year }}`
|
||||
|
||||
Ainsi, mes dates seront bien formattées en français, il me suiffit de mettre à jour toutes les parties de mon template qui affichent des dates ainsi que dans les partials.
|
||||
|
||||
## Le Code
|
||||
|
||||
mois.yml :
|
||||
```yaml
|
||||
1: "Janvier"
|
||||
2: "Février"
|
||||
3: "Mars"
|
||||
4: "Avril"
|
||||
5: "Mai"
|
||||
6: "Juin"
|
||||
7: "Juillet"
|
||||
8: "Août"
|
||||
9: "Septembre"
|
||||
10: "Octobre"
|
||||
11: "Novembre"
|
||||
12: "Décembre"
|
||||
```
|
||||
|
||||
moisshort.yml :
|
||||
```yaml
|
||||
1: "Jan"
|
||||
2: "Fév"
|
||||
3: "Mar"
|
||||
4: "Avr"
|
||||
5: "Mai"
|
||||
6: "Jui"
|
||||
7: "Juil"
|
||||
8: "Aoû"
|
||||
9: "Sept"
|
||||
10: "Oct"
|
||||
11: "Nov"
|
||||
12: "Déc"
|
||||
```
|
||||
Le code en go pour traduire les dates :
|
||||
``` go
|
||||
{{ $mymonths := index $.Site.Data.mois }}{{ .Date.Day }}
|
||||
{{ index $mymonths (printf "%d" .Date.Month) }} {{ .Date.Year }}
|
||||
```
|
183
content/posts/dotfiles/index.md
Normal file
|
@ -0,0 +1,183 @@
|
|||
+++
|
||||
title = "Gérer ses dotfiles avec git"
|
||||
date = "2014-05-19"
|
||||
Categories = ["adminsys"]
|
||||
tags = ["dotfiles","git","mr","vcsh"]
|
||||
+++
|
||||
|
||||
L’utilisation de plusieurs ordinateurs sous Linux, peut devenir un vrai cauchemar lorsque l’on veut maintenir la même configuration à jour. <!--more-->Dans mon quotidien il m’arrive d’utiliser trois ordinateurs différents. Et j’aime bien retrouver mes marques quel que soit la machine utilisée. Au départ je « trimballais » partout une clef usb avec tous mes fichiers de configurations, mais cette solution a atteint sa limite très rapidement.
|
||||
|
||||
Elle était surtout très contraignante car, je devais en permanence avoir ma clef usb sur moi et en cas de modification de configuration penser à faire une copie (ce qui arrivait une fois sur mille) sur la dite clef pour pouvoir mettre à jour mes autres ordinateurs. Du coup je me retrouvais avec des configurations très hétéroclites.
|
||||
|
||||
J’ai donc décidé de créer un dépôt git pour les différentes configurations que je souhaite déployer sur mes ordinateurs. Certains diront pourquoi ne pas tout grouper dans un même dépôt, je préfère les séparer en cas problème sur un cela ne me bloquera pas le reste.
|
||||
|
||||
C’est alors que j’ai entendu parler de vcsh et mr (Merci à Brice camarade libriste qui m’a expliqué les bases). Ses deux petits programmes couplés avec git m’ont permit de centraliser tous mes fichiers de configurations sur mon serveur gitlab et ainsi de pouvoir installer mon environnement sur tous les ordinateurs que j’utilise.
|
||||
|
||||
### VCSH – Version Control System for $HOME – multiple Git repositories in $HOME
|
||||
|
||||
Comme son nom l’indique il permet de faire de la gestion de version pour le $HOME. Grâce à lui plusieurs dépôts git peuvent cohabiter dans le même répertoire. Il centralise toutes les têtes de dépôts au même endroit, par défaut il les place dans `~/.config/vcsh/repos.d` mais il est tout à fait possible de le changer, de même si l’on désire maintenir plusieurs dépôts git ailleurs que dans le $HOME. Pour plus d’informations je vous invite sur [la page github](https://github.com/RichiH/vcsh) du projet
|
||||
|
||||
Passons à son installation, sous Debian,
|
||||
|
||||
``` shell
|
||||
sudo apt-get install vcsh
|
||||
```
|
||||
|
||||
### mr pour myrepo
|
||||
|
||||
`mr` intervient principalement sur l’utilisation et la configuration des dépôts. Dans un premier temps il permet avec une seule ligne de commande, de livrer et pousser les modifications, mettre à jour simultanément tous les dépôts renseignés dans sa configuration. Dans un second temps il permet aussi de gérer la configuration de ses mêmes dépôts. Dans mon cas il me permet de pousser mes modifications à la fois sur mon serveur gitlab mais aussi sur mon compte github pour en garder une sauvegarde. Il me permet de rajouter une url à mon origin dès le clonage des dépôts, ce qui m’évite une configuration post-installation de tous mes dépots. Pour plus d’informations voici la [page](http://myrepos.branchable.com) du projet.
|
||||
|
||||
L’installation sur Debian est toujours aussi simple
|
||||
|
||||
``` shell
|
||||
sudo apt-get install mr
|
||||
```
|
||||
|
||||
### Préparatifs avant la transformation
|
||||
|
||||
Tout d’abords j’ai défini quels fichiers de configurations que je souhaite garder à jour et déployer sur mes différents ordinateurs:
|
||||
|
||||
1. La configuration d’openbox
|
||||
2. La configuration d’emacs
|
||||
3. La configuration de terminator
|
||||
4. La configuration de zsh
|
||||
|
||||
### Initialisation avec vcsh
|
||||
|
||||
J’ai au préalable créé sur gitlab et github un dépôt par configurations. Ensuite j’ai suivi la documentation de vcsh pour créer un par un par les dépôts. Exemple avec openbox :
|
||||
|
||||
``` shell
|
||||
#initialisation du dépôt
|
||||
vcsh init openbox
|
||||
#création du gitignore pour éviter d'avoir des erreures sur les dossiers non #suivi
|
||||
vcsh write-gitignore openbox
|
||||
#ajout des fichiers
|
||||
vcsh openbox add ~/.config/openbox/rc.xml ~/.config/openbox/menu.xml ~/.config/openbox/autostart ~/.gitignore/openbox
|
||||
vcsh commit -am 'intial commit'
|
||||
vcsh openbox remot set-url --add origin git@github.com:colmaris/dotfiles-openbox.git
|
||||
```
|
||||
|
||||
J’ai reproduit cette manipulation pour chacun des dépôts à initialiser. Petite astuce si le dépôt git existe déjà, comme ce fut le cas pour moi avec ma configuration d’emacs, dont je ne voulais pas perdre l’historique. Il m’a suffi de créer le chemin vers les fichiers de configurations dans le dépôts git avant la migration vers vcsh.
|
||||
|
||||
Pour emacs il faut de l’on retrouve le chemin exact vers le fichier `init.el`.
|
||||
|
||||
``` shell
|
||||
cd ~/.emacs
|
||||
mkdir .emacs/
|
||||
git mv init.el .emacs
|
||||
git add .emacs
|
||||
git commit -am 'moving file init.el'
|
||||
git push
|
||||
```
|
||||
|
||||
Ensuite j’ai supprimé totalement le dossier .emacs de mon `$HOME`, pour le cloner avec vcsh.
|
||||
|
||||
``` shell
|
||||
vcsh clone git@git.olivierdelort.net:colmaris/emacs <span class="crayon-e">emacs</span>
|
||||
```
|
||||
|
||||
Ainsi j’ai put garder l’historique de mon dépôt emacs, et je peux maintenant l’utiliser avec vcsh sans problème.
|
||||
|
||||
### Configuration de mr
|
||||
|
||||
Une fois tous mes dépôts de configuration initialiser avec vcsh, je suis passé à la configuration de mr dont le but premier, dans mon cas, est de pouvoir pousser mes modifications sur mon gitlab et les sauvegarder sur github.
|
||||
|
||||
La configuration de *mr* se fait via un fichier .mrconfig directement placé dans le $HOME. Voici le mien
|
||||
|
||||
``` shell
|
||||
[DEFAULT]
|
||||
git_gc = git gc "$@"
|
||||
# * Dotfiles Organisation
|
||||
|
||||
# ** Emacs
|
||||
[$HOME/.config/vcsh/repo.d/emacs.git]
|
||||
checkout =
|
||||
vcsh clone git@git.olivierdelort.net:colmaris/emacs.git emacs
|
||||
vcsh emacs remote set-url --add origin git@github.com:colmaris/dotfiles-emacs.git
|
||||
|
||||
# ** Openbox
|
||||
[$HOME/.config/vcsh/repo.d/openbox.git]
|
||||
checkout =
|
||||
vcsh clone git@git.olivierdelort.net:colmaris/dotfiles-openbox.git openbox
|
||||
vcsh openbox remote set-url --add origin git@github.com:colmaris/dotfiles-openbox.git
|
||||
|
||||
# ** Terminator
|
||||
[$HOME/.config/vcsh/repo.d/terminator.git]
|
||||
checkout =
|
||||
vcsh clone git@git.olivierdelort.net:colmaris/terminator-solarized.git terminator
|
||||
vcsh terminator remote set-url --add origin git@github.com:colmaris/terminator-solarized.git
|
||||
|
||||
# ** Zsh
|
||||
[$HOME/.config/vcsh/repo.d/zsh.git]
|
||||
checkout =
|
||||
vcsh clone git@git.olivierdelort.net:colmaris/dotfiles-zsh.git zsh
|
||||
vcsh zsh remote set-url --add origin git@github.com:colmaris/dotfiles-zsh.git
|
||||
```
|
||||
|
||||
Petite explication :
|
||||
|
||||
``` shell
|
||||
# ** Emacs
|
||||
#ici j'indique ou se trouve la tête du dépôt
|
||||
[$HOME/.config/vcsh/repo.d/emacs.git]
|
||||
#ici se trouve les actions à réaliser lors du clonage
|
||||
checkout =
|
||||
# je clone à partir de mon gitlab
|
||||
vcsh clone git@git.olivierdelort.net:colmaris/emacs.git emacs
|
||||
#je rajoute mon compte github à l'origin de mon dépôt
|
||||
vcsh emacs remote set-url --add origin git@github.com:colmaris/dotfiles-emacs.git
|
||||
```
|
||||
|
||||
Lors du clonage des dépôts mr rajoutera l’url de mon compte github à l’origin déjà configurée.
|
||||
|
||||
Ce qui me permet de pousser d’un seul coup tous les dépôts sur mon github.
|
||||
|
||||
``` shell
|
||||
mr push
|
||||
```
|
||||
|
||||
### Déploiement
|
||||
|
||||
A partir de maintenant je peux déployer mes configurations sur n’importe quel ordinateur ou git, vcsh et mr sont installés.
|
||||
|
||||
Je procède comme suit :
|
||||
|
||||
``` shell
|
||||
#installation des prérequis
|
||||
sudo apt-get install git vcsh mr
|
||||
#configuration de mr
|
||||
git clone git@git.olivierdelort.net:colmaris/dotfiles-mr.git ~/.mrconfig
|
||||
#clonage
|
||||
mr checkout
|
||||
```
|
||||
|
||||
Et voilà en quelques minutes j’ai déployé ma configuration et je suis prêt à travailler. S’il m’arrive de faire des modifications je les livre et les pousse directement dans le dépôt concerné. Et sur mes autres ordinateurs il me suffit de faire une mise à jour avec la commande `mr update` pour qu’elles soient prises en comptent.
|
||||
|
||||
``` shell
|
||||
mr update
|
||||
mr update: /home/draconis/.config/vcsh/repo.d/apache-autoindex.git
|
||||
Already up-to-date.
|
||||
mr update: /home/draconis/.config/vcsh/repo.d/draconis-install.git
|
||||
Already up-to-date.
|
||||
mr update: /home/draconis/.config/vcsh/repo.d/emacs.git
|
||||
Already up-to-date.
|
||||
mr update: /home/draconis/.config/vcsh/repo.d/eso-theme.git
|
||||
Already up-to-date.
|
||||
mr update: /home/draconis/.config/vcsh/repo.d/motd-colmaris.git
|
||||
Already up-to-date.
|
||||
mr update: /home/draconis/.config/vcsh/repo.d/mrconfig.git
|
||||
Already up-to-date.
|
||||
mr update: /home/draconis/.config/vcsh/repo.d/mytheme-lightdm.git
|
||||
Already up-to-date.
|
||||
mr update: /home/draconis/.config/vcsh/repo.d/openbox.git
|
||||
Already up-to-date.
|
||||
mr update: /home/draconis/.config/vcsh/repo.d/terminator.git
|
||||
Already up-to-date.
|
||||
mr update: /home/draconis/.config/vcsh/repo.d/zsh.git
|
||||
Already up-to-date.
|
||||
mr update: finished (10 ok)
|
||||
```
|
||||
|
||||
### Conclusion
|
||||
|
||||
Depuis que j’utilise cette méthode je revis littéralement, je ne me soucis plus de savoir si j’ai ma clef usb à jour et avec moi. Tout est centralisé sur mon gitlab et j’ai mon github en sauvegarde. Je l’ai étendu sur d’autre projet sur lesquels je travaille.
|
|
@ -1,12 +0,0 @@
|
|||
+++
|
||||
title = "What is Hugo"
|
||||
date = "2019-07-01"
|
||||
+++
|
||||
|
||||
Hugo is a fast and modern static site generator written in Go, and designed to make website creation fun again.
|
||||
<!--more-->
|
||||
Hugo is a general-purpose website framework. Technically speaking, Hugo is a static site generator. Unlike systems that dynamically build a page with each visitor request, Hugo builds pages when you create or update your content. Since websites are viewed far more often than they are edited, Hugo is designed to provide an optimal viewing experience for your website’s end users and an ideal writing experience for website authors.
|
||||
|
||||
Websites built with Hugo are extremely fast and secure. Hugo sites can be hosted anywhere, including Netlify, Heroku, GoDaddy, DreamHost, GitHub Pages, GitLab Pages, Surge, Aerobatic, Firebase, Google Cloud Storage, Amazon S3, Rackspace, Azure, and CloudFront and work well with CDNs. Hugo sites run without the need for a database or dependencies on expensive runtimes like Ruby, Python, or PHP.
|
||||
|
||||
We think of Hugo as the ideal website creation tool with nearly instant build times, able to rebuild whenever a change is made.
|
|
@ -1,45 +0,0 @@
|
|||
+++
|
||||
title = "Introduction"
|
||||
date = "2019-08-03"
|
||||
+++
|
||||
|
||||
Hugo is an open-source project and lives by the work of its contributors. There are plenty of open issues, and we need your help to make Hugo even more awesome. You don't need to be a Go guru to contribute to the project's development.
|
||||
|
||||
<!--more-->
|
||||
|
||||
## Assumptions
|
||||
|
||||
This contribution guide takes a step-by-step approach in hopes of helping newcomers. Therefore, we only assume the following:
|
||||
|
||||
* You are new to Git or open-source projects in general
|
||||
* You are a fan of Hugo and enthusiastic about contributing to the project
|
||||
|
||||
## Install Go
|
||||
|
||||
The installation of Go should take only a few minutes. You have more than one option to get Go up and running on your machine.
|
||||
|
||||
If you are having trouble following the installation guides for Go, check out Go Bootcamp, which contains setups for every platform or reach out to the Hugo community in the Hugo Discussion Forums.
|
||||
|
||||
### Install Go From Source
|
||||
|
||||
Download the latest stable version of Go and follow the official Go installation guide.
|
||||
|
||||
Once you're finished installing Go, let's confirm everything is working correctly. Open a terminal---or command line under Windows--and type the following:
|
||||
|
||||
```
|
||||
go version
|
||||
```
|
||||
|
||||
You should see something similar to the following written to the console. Note that the version here reflects the most recent version of Go as of the last update for this page:
|
||||
|
||||
```
|
||||
go version go1.12 darwin/amd64
|
||||
```
|
||||
|
||||
Next, make sure that you set up your `GOPATH` as described in the installation guide.
|
||||
|
||||
You can print the `GOPATH` with `echo $GOPATH`. You should see a non-empty string containing a valid path to your Go workspace; for example:
|
||||
|
||||
```
|
||||
/Users/<yourusername>/Code/go
|
||||
```
|
77
hugo.toml
|
@ -1,9 +1,80 @@
|
|||
baseurl = "https://colmaris.fr"
|
||||
title = "colmaris"
|
||||
theme = "hugo-theme-console"
|
||||
theme = ["hugo-theme-console", "hugo-easy-gallery"]
|
||||
languageCode = 'fr-FR'
|
||||
defaultContentLanguage = "fr"
|
||||
defaultContentLang = "fr"
|
||||
pygmentsstyle = "nordic"
|
||||
pygmentscodefences = true
|
||||
pygmentscodefencesguesssyntax = true
|
||||
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
duplicateResourceFiles = false
|
||||
[markup.goldmark.extensions]
|
||||
definitionList = true
|
||||
footnote = true
|
||||
linkify = true
|
||||
linkifyProtocol = 'https'
|
||||
strikethrough = true
|
||||
table = true
|
||||
taskList = true
|
||||
[markup.goldmark.extensions.cjk]
|
||||
eastAsianLineBreaks = false
|
||||
eastAsianLineBreaksStyle = 'simple'
|
||||
enable = false
|
||||
escapedSpace = false
|
||||
[markup.goldmark.extensions.extras]
|
||||
[markup.goldmark.extensions.extras.delete]
|
||||
enable = false
|
||||
[markup.goldmark.extensions.extras.insert]
|
||||
enable = false
|
||||
[markup.goldmark.extensions.extras.mark]
|
||||
enable = false
|
||||
[markup.goldmark.extensions.extras.subscript]
|
||||
enable = false
|
||||
[markup.goldmark.extensions.extras.superscript]
|
||||
enable = false
|
||||
[markup.goldmark.extensions.passthrough]
|
||||
enable = false
|
||||
[markup.goldmark.extensions.passthrough.delimiters]
|
||||
block = []
|
||||
inline = []
|
||||
[markup.goldmark.extensions.typographer]
|
||||
apostrophe = '’'
|
||||
disable = false
|
||||
ellipsis = '…'
|
||||
emDash = '—'
|
||||
enDash = '–'
|
||||
leftAngleQuote = '«'
|
||||
leftDoubleQuote = '“'
|
||||
leftSingleQuote = '‘'
|
||||
rightAngleQuote = '»'
|
||||
rightDoubleQuote = '”'
|
||||
rightSingleQuote = '’'
|
||||
[markup.goldmark.parser]
|
||||
autoHeadingID = true
|
||||
autoHeadingIDType = 'github'
|
||||
wrapStandAloneImageWithinParagraph = true
|
||||
[markup.goldmark.parser.attribute]
|
||||
block = false
|
||||
title = true
|
||||
[markup.goldmark.renderHooks]
|
||||
[markup.goldmark.renderHooks.image]
|
||||
enableDefault = false
|
||||
[markup.goldmark.renderHooks.link]
|
||||
enableDefault = false
|
||||
[markup.goldmark.renderer]
|
||||
hardWraps = false
|
||||
unsafe = false
|
||||
xhtml = false
|
||||
|
||||
[taxonomies]
|
||||
tag = "tags"
|
||||
category = "categories"
|
||||
|
||||
|
||||
|
||||
[params]
|
||||
# Cutting off the page title to two chars for mobile (console-demo -> co)
|
||||
|
@ -24,3 +95,7 @@ defaultContentLang = "fr"
|
|||
[[params.navlinks]]
|
||||
name = "photographie/"
|
||||
url = "photos/"
|
||||
|
||||
[[params.navlinks]]
|
||||
name = "au-jardin/"
|
||||
url = "jardin/"
|
||||
|
|
34
layouts/render-link.html
Normal file
|
@ -0,0 +1,34 @@
|
|||
<a
|
||||
|
||||
{{ if or (strings.HasPrefix .Destination `http`) (strings.HasPrefix .Destination `#`) (strings.HasPrefix .Destination `/`) }}
|
||||
|
||||
href = "{{ .Destination | safeURL }}"
|
||||
|
||||
{{ else if strings.HasPrefix .Destination `mailto` }}
|
||||
|
||||
href = "mailto:{{ .Text }}"
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ with .Title}}
|
||||
|
||||
title = "{{ . }}"
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ if strings.HasPrefix .Destination "http" }}
|
||||
|
||||
target = "_blank"
|
||||
rel = "nofollow noopener noreferrer"
|
||||
|
||||
{{ else if strings.HasPrefix .Destination "mailto" }}
|
||||
|
||||
onClick = "javascript:window.open('mailto:{{ .Text }}', 'mail'); event.preventDefault()"
|
||||
|
||||
{{ end }}>
|
||||
|
||||
<span>
|
||||
{{ .Text }}
|
||||
</span>
|
||||
|
||||
</a>
|
BIN
static/img/expo-egypte/egypte-carriere-lumiere-1-thumb.jpg
Normal file
After Width: | Height: | Size: 54 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-1.jpg
Normal file
After Width: | Height: | Size: 593 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-10-thumb.jpg
Normal file
After Width: | Height: | Size: 39 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-10.jpg
Normal file
After Width: | Height: | Size: 830 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-11-thumb.jpg
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-11.jpg
Normal file
After Width: | Height: | Size: 996 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-12-thumb.jpg
Normal file
After Width: | Height: | Size: 105 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-12.jpg
Normal file
After Width: | Height: | Size: 567 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-13-thumb.jpg
Normal file
After Width: | Height: | Size: 75 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-13.jpg
Normal file
After Width: | Height: | Size: 604 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-14-thumb.jpg
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-14.jpg
Normal file
After Width: | Height: | Size: 717 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-15-thumb.jpg
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-15.jpg
Normal file
After Width: | Height: | Size: 742 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-16-thumb.jpg
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-16.jpg
Normal file
After Width: | Height: | Size: 604 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-17-thumb.jpg
Normal file
After Width: | Height: | Size: 65 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-17.jpg
Normal file
After Width: | Height: | Size: 579 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-18-thumb.jpg
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-18.jpg
Normal file
After Width: | Height: | Size: 456 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-19-thumb.jpg
Normal file
After Width: | Height: | Size: 85 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-19.jpg
Normal file
After Width: | Height: | Size: 530 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-2-thumb.jpg
Normal file
After Width: | Height: | Size: 108 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-2.jpg
Normal file
After Width: | Height: | Size: 656 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-20-thumb.jpg
Normal file
After Width: | Height: | Size: 82 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-20.jpg
Normal file
After Width: | Height: | Size: 571 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-21-thumb.jpg
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-21.jpg
Normal file
After Width: | Height: | Size: 392 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-22-thumb.jpg
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-22.jpg
Normal file
After Width: | Height: | Size: 674 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-23-thumb.jpg
Normal file
After Width: | Height: | Size: 70 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-23.jpg
Normal file
After Width: | Height: | Size: 674 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-24-thumb.jpg
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-24.jpg
Normal file
After Width: | Height: | Size: 798 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-25-thumb.jpg
Normal file
After Width: | Height: | Size: 50 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-25.jpg
Normal file
After Width: | Height: | Size: 909 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-26-thumb.jpg
Normal file
After Width: | Height: | Size: 104 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-26.jpg
Normal file
After Width: | Height: | Size: 852 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-27-thumb.jpg
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-27.jpg
Normal file
After Width: | Height: | Size: 850 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-28-thumb.jpg
Normal file
After Width: | Height: | Size: 65 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-28.jpg
Normal file
After Width: | Height: | Size: 690 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-29-thumb.jpg
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-29.jpg
Normal file
After Width: | Height: | Size: 740 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-3-thumb.jpg
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-3.jpg
Normal file
After Width: | Height: | Size: 848 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-30-thumb.jpg
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-30.jpg
Normal file
After Width: | Height: | Size: 746 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-31-thumb.jpg
Normal file
After Width: | Height: | Size: 77 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-31.jpg
Normal file
After Width: | Height: | Size: 868 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-32-thumb.jpg
Normal file
After Width: | Height: | Size: 61 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-32.jpg
Normal file
After Width: | Height: | Size: 774 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-33-thumb.jpg
Normal file
After Width: | Height: | Size: 65 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-33.jpg
Normal file
After Width: | Height: | Size: 790 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-34-thumb.jpg
Normal file
After Width: | Height: | Size: 58 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-34.jpg
Normal file
After Width: | Height: | Size: 555 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-35-thumb.jpg
Normal file
After Width: | Height: | Size: 56 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-35.jpg
Normal file
After Width: | Height: | Size: 665 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-36-thumb.jpg
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-36.jpg
Normal file
After Width: | Height: | Size: 569 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-37-thumb.jpg
Normal file
After Width: | Height: | Size: 47 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-37.jpg
Normal file
After Width: | Height: | Size: 710 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-38-thumb.jpg
Normal file
After Width: | Height: | Size: 46 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-38.jpg
Normal file
After Width: | Height: | Size: 727 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-39-thumb.jpg
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-39.jpg
Normal file
After Width: | Height: | Size: 556 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-4-thumb.jpg
Normal file
After Width: | Height: | Size: 60 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-4.jpg
Normal file
After Width: | Height: | Size: 585 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-40-thumb.jpg
Normal file
After Width: | Height: | Size: 72 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-40.jpg
Normal file
After Width: | Height: | Size: 687 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-41-thumb.jpg
Normal file
After Width: | Height: | Size: 53 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-41.jpg
Normal file
After Width: | Height: | Size: 606 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-42-thumb.jpg
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-42.jpg
Normal file
After Width: | Height: | Size: 894 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-43-thumb.jpg
Normal file
After Width: | Height: | Size: 68 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-43.jpg
Normal file
After Width: | Height: | Size: 630 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-44-thumb.jpg
Normal file
After Width: | Height: | Size: 69 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-44.jpg
Normal file
After Width: | Height: | Size: 410 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-45-thumb.jpg
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-45.jpg
Normal file
After Width: | Height: | Size: 840 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-46-thumb.jpg
Normal file
After Width: | Height: | Size: 49 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-46.jpg
Normal file
After Width: | Height: | Size: 891 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-47-thumb.jpg
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-47.jpg
Normal file
After Width: | Height: | Size: 1,010 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-48-thumb.jpg
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-48.jpg
Normal file
After Width: | Height: | Size: 695 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-49-thumb.jpg
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-49.jpg
Normal file
After Width: | Height: | Size: 697 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-5-thumb.jpg
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-5.jpg
Normal file
After Width: | Height: | Size: 476 KiB |
BIN
static/img/expo-egypte/egypte-carriere-lumiere-50-thumb.jpg
Normal file
After Width: | Height: | Size: 58 KiB |