diff --git a/content/post/bannieres.md b/content/post/bannieres.md index 4dda00afbca1ef4321790c5335ee3de96ba454d7..776bb57ba398f472d9fb9a9bd37b44b4cffdf95b 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 9d58087cd57c52b6380691897036fc1d6395a95e..c528c19685e564241e0c56e3cba905bcd190755d 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 bffa0d02d3ccf7df692f8a6cad73f15767e51dfd..c5fcc1ed640c43a6bcec40fa5924872978a0d453 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 d9b4c7441ece64689b71488d7496ccdcf65a9240..3f2b85f88f18e9dc190c82029b8c58877059346d 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 e948c86dfd1dccc00182f352b26152169d3a374a..ffbb9ec9ce24fdb57b3d99067fd92ef164ebd71e 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 930ef5c97b9b4e07a10b8f64035d9a850c045e8b..8cbb0b7f9a0ead61253a08a45b64c97820e23131 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 6d668ad7e97e7857c3aafc95bc52735fa7857f4a..d6cf933794d840b300457be9c28099501eb7f8f9 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 a723a454ab81f82505be23a1bfedc67f1c0dea16..edc5a05f9ea05587a7662ba362823b4d6f417525 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 129bdc4025c0295e8d99efa78637ce97bf672634..20b825ffeb609a1c6b953a78ea47fe4a085d3fd7 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.