From 8ae7b3f8ab6d3e8bde83ae9c4ee21b7a7f0e8a46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Witz?= <regis.witz@free.fr> Date: Wed, 2 Mar 2022 19:02:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20date=20des=20articles=20+=20tags?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- content/post/bannieres.md | 4 ++-- content/post/citations.md | 2 +- content/post/code-source.md | 4 +++- ...-20-photoswipe-gallery-sample.md => galleries.md} | 12 ++++++------ content/post/maths.md | 7 +++++-- content/post/premier-post.md | 2 +- content/post/syntaxe-markdown.md | 10 +++++++--- content/post/troisieme-post.md | 2 +- content/post/un-autre-post.md | 2 +- 9 files changed, 27 insertions(+), 18 deletions(-) rename content/post/{2017-03-20-photoswipe-gallery-sample.md => galleries.md} (85%) diff --git a/content/post/bannieres.md b/content/post/bannieres.md index 4dda00a..776bb57 100644 --- a/content/post/bannieres.md +++ b/content/post/bannieres.md @@ -1,8 +1,8 @@ --- title: Bannières subtitle: En utilisant une ou plusieurs images -date: 2021-03-09 -tags: ["example", "bigimg"] +date: 2022-03-01 +tags: ["exemple", "images"] bigimg: [{src: "img/triangle.jpg"}, {src: "img/sphere.jpg"}, {src: "img/hexagon.jpg"}] --- diff --git a/content/post/citations.md b/content/post/citations.md index 9d58087..c528c19 100644 --- a/content/post/citations.md +++ b/content/post/citations.md @@ -1,7 +1,7 @@ --- title: Citer subtitle: ... ou ne pas citer ? -date: 2021-02-13 +date: 2022-01-11 tags: ["shakespeare", "markdown"] --- diff --git a/content/post/code-source.md b/content/post/code-source.md index bffa0d0..c5fcc1e 100644 --- a/content/post/code-source.md +++ b/content/post/code-source.md @@ -1,12 +1,14 @@ --- title: Citer du code machine subtitle: En utilisant Hugo ou Pygments -date: 2021-03-08 +date: 2022-02-22 tags: ["exemple", "code"] --- Vous pouvez aussi citer du code machine, par exemple du [Python](https://fr.wikipedia.org/wiki/Python_(langage)) ou du [R](https://fr.wikipedia.org/wiki/R_(langage)). +<!--more--> + Ci-dessous, un extrait de code en langage R, cité en le délimitant avec ` ``` `. ```r diff --git a/content/post/2017-03-20-photoswipe-gallery-sample.md b/content/post/galleries.md similarity index 85% rename from content/post/2017-03-20-photoswipe-gallery-sample.md rename to content/post/galleries.md index d9b4c74..3f2b85f 100644 --- a/content/post/2017-03-20-photoswipe-gallery-sample.md +++ b/content/post/galleries.md @@ -1,16 +1,16 @@ --- title: Photoswipe Gallery Sample subtitle: Making a Gallery -date: 2017-03-20 -tags: ["example", "photoswipe"] +date: 2022-03-20 +tags: ["exemple", "images"] --- Beautiful Hugo adds a few custom shortcodes created by [Li-Wen Yip](https://www.liwen.id.au/heg/) and [Gert-Jan van den Berg](https://github.com/GjjvdBurg/HugoPhotoSwipe) for making galleries with [PhotoSwipe](http://photoswipe.com) . {{< gallery caption-effect="fade" >}} - {{< figure thumb="-thumb" link="/img/hexagon.jpg" >}} - {{< figure thumb="-thumb" link="/img/sphere.jpg" caption="Sphere" >}} - {{< figure thumb="-thumb" link="/img/triangle.jpg" caption="Triangle" alt="This is a long comment about a triangle" >}} + {{< figure thumb="-thumb" link="img/hexagon.jpg" >}} + {{< figure thumb="-thumb" link="img/sphere.jpg" caption="Sphere" >}} + {{< figure thumb="-thumb" link="img/triangle.jpg" caption="Triangle" alt="This is a long comment about a triangle" >}} {{< /gallery >}} {{< load-photoswipe >}} @@ -36,4 +36,4 @@ For full details please see the [hugo-easy-gallery GitHub](https://github.com/li - All the [features/parameters](https://gohugo.io/extras/shortcodes) of Hugo's built-in `figure` shortcode work as normal, i.e. src, link, title, caption, class, attr (attribution), attrlink, alt - `{{</* gallery caption-effect="fade" */>}}` will fade in captions for all figures in this gallery instead of the default slide-up behavior - Many gallery styles for captions and hover effects exist; view the [hugo-easy-gallery GitHub](https://github.com/liwenyip/hugo-easy-gallery/) for all options -- Call `{{</* load-photoswipe */>}}` **once** anywhere you want on each page where you want to use PhotoSwipe \ No newline at end of file +- Call `{{</* load-photoswipe */>}}` **once** anywhere you want on each page where you want to use PhotoSwipe diff --git a/content/post/maths.md b/content/post/maths.md index e948c86..ffbb9ec 100644 --- a/content/post/maths.md +++ b/content/post/maths.md @@ -1,11 +1,14 @@ --- -title: Citer des formules mathématiques +title: Formules mathématiques subtitle: En utilisant KaTeX -date: 2021-03-05 +date: 2022-02-20 tags: ["exemple", "math"] --- Des formules mathématiques complexes peuvent être affichées en utilisant le module KaTeX. + +<!--more--> + Vous pouvez insérer une formule directement dans le texte, en utilisant la syntaxe `\\( ... \\)`, comme ceci : \\( E = mc^2 \\). Vous pouvez afficher des formules plus volumineuses en les encadrant de `$$` ou de `\\[...\\]`, comme ceci : diff --git a/content/post/premier-post.md b/content/post/premier-post.md index 930ef5c..8cbb0b7 100644 --- a/content/post/premier-post.md +++ b/content/post/premier-post.md @@ -1,6 +1,6 @@ --- title: Premier article! -date: 2020-01-05 +date: 2022-01-05 --- Voici mon premier article, comme c'est excitant ! diff --git a/content/post/syntaxe-markdown.md b/content/post/syntaxe-markdown.md index 6d668ad..d6cf933 100644 --- a/content/post/syntaxe-markdown.md +++ b/content/post/syntaxe-markdown.md @@ -1,11 +1,15 @@ --- title: Langage Markdown subtitle: Introduction à la syntaxe -date: 2021-02-20 -tags: ["exemple", "markdown"] +date: 2022-02-20 +tags: ["exemple", "markdown", "images"] --- -Vous pouvez écrire directement du [Markdown](https://fr.wikipedia.org/wiki/Markdown), et il sera automatiquement converti en une page web. N'hésitez pas à [prendre 5 minutes pour apprendre la syntaxe du langage Markdown](http://markdowntutorial.com/fr/) ; cela vous apprendra comment mettre du texte *en italiques* ou **en gras**, comment définir des titres de différents niveaux, comment construire des tables, et ainsi de suite. +Vous pouvez écrire directement du [Markdown](https://fr.wikipedia.org/wiki/Markdown), et il sera automatiquement converti en une page web. + +<!--more--> + +N'hésitez pas à [prendre 5 minutes pour apprendre la syntaxe du langage Markdown](http://markdowntutorial.com/fr/) ; cela vous apprendra comment mettre du texte *en italiques* ou **en gras**, comment définir des titres de différents niveaux, comment construire des tables, et ainsi de suite. **Ceci est du texte en gras** diff --git a/content/post/troisieme-post.md b/content/post/troisieme-post.md index a723a45..edc5a05 100644 --- a/content/post/troisieme-post.md +++ b/content/post/troisieme-post.md @@ -1,7 +1,7 @@ --- title: Encore un autre subtitle: Mais celui-ci a un sous-titre! -date: 2021-01-19 +date: 2022-01-10 --- Remarquez les méta-données au début du fichier correspondant à chaque article. diff --git a/content/post/un-autre-post.md b/content/post/un-autre-post.md index 129bdc4..20b825f 100644 --- a/content/post/un-autre-post.md +++ b/content/post/un-autre-post.md @@ -1,6 +1,6 @@ --- title: Un autre article -date: 2020-01-15 +date: 2022-01-07 --- Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ipsum purus, elementum vitae lectus quis, lacinia lobortis elit. Ut sapien leo, pretium et risus eget, venenatis condimentum magna. Maecenas dapibus ex a consectetur iaculis. Nullam lobortis erat ex, et interdum velit commodo quis. Donec sollicitudin, nisl non porta facilisis, augue dolor rhoncus lorem, at varius nibh mi ut elit. Phasellus vitae dignissim augue. Pellentesque quis sapien eu nulla auctor consequat. Mauris porttitor non justo ac interdum. Donec ut nisl diam. Mauris odio dui, lobortis quis odio viverra, ultrices dignissim justo. Quisque sed ante sed risus ornare dapibus. Praesent et enim vitae mauris maximus faucibus et non mauris. Morbi id imperdiet leo, gravida tempor ligula. Suspendisse eleifend dapibus nisl. Curabitur vel vestibulum tortor, sit amet ultricies mauris. Sed eget mattis magna. -- GitLab