From e93fc58adfcdfbce721fb5f6606233d2df3ff9dc Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sun, 21 May 2023 14:21:08 +0200 Subject: [PATCH] Fix images in about page --- content/about/index.md | 27 +++++++++++++++++++++++++++ layouts/partials/extend_head.html | 3 +++ layouts/shortcodes/unsafe.html | 1 + 3 files changed, 31 insertions(+) create mode 100644 layouts/partials/extend_head.html create mode 100644 layouts/shortcodes/unsafe.html diff --git a/content/about/index.md b/content/about/index.md index 88ecd03..fdb830b 100644 --- a/content/about/index.md +++ b/content/about/index.md @@ -6,11 +6,38 @@ ShowReadingTime: false ShowBreadCrumbs: false ShowPostNavLinks: true ShowWordCount: false +custom_css: >- + .pictures { + display: flex; + justify-content: space-evenly; + flex-wrap: wrap; + } + + .pictures a { + box-shadow: 0 0; + } + + .pictures img { + max-width: 200px; + min-width: 100px; + max-height: 200px; + min-height: 100px; + padding: 1rem; + flex-shrink: 1; + flex-grow: 0; + padding: 0; + } --- I'm Gabriel, a Go and Python software developer at [OVHcloud](https://www.ovhcloud.com/) (Lyon, France) and [FOSS](https://en.wikipedia.org/wiki/Free_and_open-source_software) enthusiast. +{{< unsafe >}} +

+{{< /unsafe >}} {{< img src="39.jpg" alt="A picture of Gabriel Augendre" >}} {{< img src="41.jpg" alt="His usual avatar for online profiles, the dwarf from a medieval fantasy audio story named 'Le Donjon de Naheulbeuk' (French)" >}} +{{< unsafe >}} +

+{{< /unsafe >}} ## Where to find me {#contact} diff --git a/layouts/partials/extend_head.html b/layouts/partials/extend_head.html new file mode 100644 index 0000000..5bf0344 --- /dev/null +++ b/layouts/partials/extend_head.html @@ -0,0 +1,3 @@ +{{ if .Params.custom_css }} + +{{ end }} \ No newline at end of file diff --git a/layouts/shortcodes/unsafe.html b/layouts/shortcodes/unsafe.html new file mode 100644 index 0000000..88c822a --- /dev/null +++ b/layouts/shortcodes/unsafe.html @@ -0,0 +1 @@ +{{ .Inner }} \ No newline at end of file