From 52b910a61a3ba318c0653ed95822c97ba7837cdb Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Fri, 12 May 2023 15:55:13 +0200 Subject: [PATCH] Move to page bundles --- .gitattributes | 3 + archetypes/posts.md | 58 +++++++++---------- config.yaml | 52 +++++++++-------- content/about.md | 27 +++++++++ .../posts/{about-me.md => about-me/index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + content/posts/hello-hugo.md | 57 ------------------ .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../posts/{pi-hole.md => pi-hole/index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + .../{sourcehut.md => sourcehut/index.md} | 1 + .../index.md} | 1 + .../index.md} | 4 +- content/posts/to-a-new-adventure/ovh_wall.jpg | 3 + .../index.md} | 1 + .../index.md} | 1 + .../index.md} | 1 + content/search.md | 9 +++ layouts/partials/extend_footer.html | 10 ++++ 46 files changed, 148 insertions(+), 112 deletions(-) create mode 100644 .gitattributes create mode 100644 content/about.md rename content/posts/{about-me.md => about-me/index.md} (97%) rename content/posts/{adding-time-to-my-blogs-statistics.md => adding-time-to-my-blogs-statistics/index.md} (97%) rename content/posts/{automate-bug-findings-with-git.md => automate-bug-findings-with-git/index.md} (96%) rename content/posts/{bitwarden-and-password-managers.md => bitwarden-and-password-managers/index.md} (97%) rename content/posts/{blog-platform-update-quick-note.md => blog-platform-update-quick-note/index.md} (94%) rename content/posts/{blog-statistics-part-2.md => blog-statistics-part-2/index.md} (97%) rename content/posts/{certificates-chain-correct-order.md => certificates-chain-correct-order/index.md} (93%) rename content/posts/{chowning-files-dockerfile-can-take-lot-space.md => chowning-files-dockerfile-can-take-lot-space/index.md} (96%) rename content/posts/{cleantoots-clean-your-toot-history.md => cleantoots-clean-your-toot-history/index.md} (96%) rename content/posts/{codingame-spring-challenge-2020-pacman.md => codingame-spring-challenge-2020-pacman/index.md} (98%) rename content/posts/{create-a-csr.md => create-a-csr/index.md} (93%) rename content/posts/{designing-and-3d-printing-a-wall-mount-for-my-isp-modem.md => designing-and-3d-printing-a-wall-mount-for-my-isp-modem/index.md} (97%) rename content/posts/{docker-images-layers-and-cache.md => docker-images-layers-and-cache/index.md} (97%) rename content/posts/{example-should-never-be-published.md => example-should-never-be-published/index.md} (94%) rename content/posts/{french-youtube-channel-recommendation.md => french-youtube-channel-recommendation/index.md} (93%) delete mode 100644 content/posts/hello-hugo.md rename content/posts/{how-to-subscribe.md => how-to-subscribe/index.md} (93%) rename content/posts/{how-use-pipx-pyenv.md => how-use-pipx-pyenv/index.md} (96%) rename content/posts/{i-needed-a-budget-with-four-rules.md => i-needed-a-budget-with-four-rules/index.md} (98%) rename content/posts/{im-starting-a-blog.md => im-starting-a-blog/index.md} (96%) rename content/posts/{lighten-your-python-image-docker-multi-stage-builds.md => lighten-your-python-image-docker-multi-stage-builds/index.md} (96%) rename content/posts/{migration-complete.md => migration-complete/index.md} (93%) rename content/posts/{my-setup-at-home-12-2021-update.md => my-setup-at-home-12-2021-update/index.md} (95%) rename content/posts/{my-setup-at-home.md => my-setup-at-home/index.md} (96%) rename content/posts/{optimize-large-django-migrations.md => optimize-large-django-migrations/index.md} (97%) rename content/posts/{pi-hole.md => pi-hole/index.md} (98%) rename content/posts/{pip-tools-for-python-dependencies-management.md => pip-tools-for-python-dependencies-management/index.md} (97%) rename content/posts/{poetry-python-dependencies-management.md => poetry-python-dependencies-management/index.md} (98%) rename content/posts/{raspberry-pi.md => raspberry-pi/index.md} (98%) rename content/posts/{reduce-your-page-load-time-with-htmx-in-less-than-an-hour.md => reduce-your-page-load-time-with-htmx-in-less-than-an-hour/index.md} (96%) rename content/posts/{releasing-my-works-into-the-public-domain.md => releasing-my-works-into-the-public-domain/index.md} (97%) rename content/posts/{replacing-my-synology-nas-with-a-self-built-server.md => replacing-my-synology-nas-with-a-self-built-server/index.md} (97%) rename content/posts/{setup-rtx-with-direnv-for-python.md => setup-rtx-with-direnv-for-python/index.md} (96%) rename content/posts/{sourcehut.md => sourcehut/index.md} (98%) rename content/posts/{synology-nas-stream-and-backup.md => synology-nas-stream-and-backup/index.md} (98%) rename content/posts/{to-a-new-adventure.md => to-a-new-adventure/index.md} (93%) create mode 100644 content/posts/to-a-new-adventure/ovh_wall.jpg rename content/posts/{upgraded-writefreely-quick-note.md => upgraded-writefreely-quick-note/index.md} (91%) rename content/posts/{using-your-yubikey-with-ssh-and-achieving-multifactor-authentication.md => using-your-yubikey-with-ssh-and-achieving-multifactor-authentication/index.md} (96%) rename content/posts/{youtube-on-apple-tv.md => youtube-on-apple-tv/index.md} (97%) create mode 100644 content/search.md create mode 100644 layouts/partials/extend_footer.html diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e6ce01f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +*.jpg filter=lfs diff=lfs merge=lfs -text +*.jpeg filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text diff --git a/archetypes/posts.md b/archetypes/posts.md index 3b9c6b3..a7059f1 100644 --- a/archetypes/posts.md +++ b/archetypes/posts.md @@ -2,37 +2,37 @@ title: "{{ replace .Name "-" " " | title }}" date: {{ .Date }} draft: true -# weight: 1 -# aliases: ["/first"] tags: [] -author: "Gabriel Augendre" +# weight: 1 +# aliases: ["/first"] +# author: "Gabriel Augendre" # author: ["Me", "You"] # multiple authors -showToc: true -TocOpen: false -hidemeta: false -comments: false -description: "Desc Text." -canonicalURL: "https://canonical.url/to/page" -disableShare: false -disableHLJS: false -hideSummary: false -searchHidden: true -ShowReadingTime: true -ShowBreadCrumbs: true -ShowPostNavLinks: true -ShowWordCount: true -ShowRssButtonInSectionTermList: true -UseHugoToc: true -cover: - image: "" # image path/url - alt: "" # alt text - caption: "" # display caption under cover - relative: false # when using page bundles set this to true - hidden: true # only hide on current single page -editPost: - URL: "https://github.com//content" - Text: "Suggest Changes" # edit text - appendFilePath: true # to append file path to Edit link +# showToc: true +# TocOpen: false +# hidemeta: false +# comments: false +# description: "Desc Text." +# canonicalURL: "https://canonical.url/to/page" +# disableShare: false +# disableHLJS: false +# hideSummary: false +# searchHidden: true +# ShowReadingTime: true +# ShowBreadCrumbs: true +# ShowPostNavLinks: true +# ShowWordCount: true +# ShowRssButtonInSectionTermList: true +# UseHugoToc: true +# cover: +# image: "" # image path/url +# alt: "" # alt text +# caption: "" # display caption under cover +# relative: false # when using page bundles set this to true +# hidden: true # only hide on current single page +# editPost: +# URL: "https://github.com//content" +# Text: "Suggest Changes" # edit text +# appendFilePath: true # to append file path to Edit link --- diff --git a/config.yaml b/config.yaml index 67080f0..5da050f 100644 --- a/config.yaml +++ b/config.yaml @@ -18,27 +18,28 @@ params: env: production # to enable google analytics, opengraph, twitter-cards and schema. title: "Gab's Notes" description: "My take on tech-related subjects (but not only)." - keywords: [blog, tech, golang, python, self-hosting] + keywords: [blog, tech, docker, golang, python, self-hosting] author: "Gabriel Augendre" # author: ["Me", "You"] # multiple authors - images: [""] + #images: [""] DateFormat: "2006-01-02" defaultTheme: auto # dark, light disableThemeToggle: false ShowReadingTime: true - ShowShareButtons: true - ShowPostNavLinks: true + ShowShareButtons: false + ShowPostNavLinks: false ShowBreadCrumbs: true ShowCodeCopyButtons: true ShowWordCount: true ShowRssButtonInSectionTermList: true UseHugoToc: true disableSpecial1stPost: false - disableScrollToTop: false + disableScrollToTop: true comments: false hidemeta: false hideSummary: false + hideFooter: true showtoc: false tocopen: false @@ -56,31 +57,21 @@ params: icon: /apple-touch-icon.png iconHeight: 35 - # profile-mode - profileMode: - enabled: false # needs to be explicitly set - title: ExampleSite - subtitle: "This is subtitle" - imageUrl: "" - imageWidth: 120 - imageHeight: 120 - imageTitle: my image - buttons: - - name: Posts - url: posts - - name: Tags - url: tags - # home-info mode homeInfoParams: - Title: "Hi there \U0001F44B" - Content: Welcome to my blog + Title: "Gab’s Notes" + Content: |- + My take on tech related subjects (but not only) socialIcons: - - name: stackoverflow - url: "https://stackoverflow.com/users/2758732/gabriel" + - name: email + url: "mailto:ga-blog@augendre.info" - name: github url: "https://github.com/Crocmagnon" + - name: cv + url: "https://cv-gabriel.augendre.info" + - name: stackoverflow + url: "https://stackoverflow.com/users/2758732/gabriel" - name: mastodon url: "https://fosstodon.org/@Crocmagnon" @@ -106,10 +97,18 @@ params: keys: ["title", "permalink", "summary", "content"] menu: main: + - identifier: about + name: about + url: /about/ + weight: 10 - identifier: tags name: tags url: /tags/ weight: 20 + - identifier: search + name: search + url: /search/ + weight: 30 # Read: https://github.com/adityatelange/hugo-PaperMod/wiki/FAQs#using-hugos-syntax-highlighter-chroma pygmentsUseClasses: true markup: @@ -121,4 +120,9 @@ markup: # lineNos: true # style: monokai +outputs: + home: + - HTML + - RSS + - JSON diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..7f6faaf --- /dev/null +++ b/content/about.md @@ -0,0 +1,27 @@ +--- +title: About me +ShowReadingTime: false +ShowBreadCrumbs: false +ShowPostNavLinks: true +ShowWordCount: false +--- + +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. + +[![A picture of Gabriel Augendre](/attachments/39/processed/)](/attachments/40/original/) +[![His usual avatar for online profiles, the dwarf from a medieval fantasy audio story named "Le Donjon de Naheulbeuk" (French)](/attachments/41/processed/)](/attachments/41/original/) +{: .profile } + +## Where to find me {#contact} + +| Code | Contact | +|-----------------------------------------------|--------------------------------------------------------------------| +| [Gitea](https://git.augendre.info/gaugendre) | Mastodon | +| [GitHub](https://github.com/Crocmagnon) | Email | +| [GitLab](https://gitlab.com/gaugendre) | | + +My resume is available as [a pdf](https://cv-gabriel.augendre.info) (in French) if you want to take a look. + +## Analytics +This website uses GoatCounter, a privacy respecting analytics tool. They are [publicly available](https://gc.gabnotes.org). + diff --git a/content/posts/about-me.md b/content/posts/about-me/index.md similarity index 97% rename from content/posts/about-me.md rename to content/posts/about-me/index.md index 6d98084..627c982 100644 --- a/content/posts/about-me.md +++ b/content/posts/about-me/index.md @@ -2,6 +2,7 @@ title: "About me" tags: ['Gabriel Augendre', 'blog', 'homepage'] date: 2020-05-12T11:29:02+00:00 +aliases: ["/about-me"] --- 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. diff --git a/content/posts/adding-time-to-my-blogs-statistics.md b/content/posts/adding-time-to-my-blogs-statistics/index.md similarity index 97% rename from content/posts/adding-time-to-my-blogs-statistics.md rename to content/posts/adding-time-to-my-blogs-statistics/index.md index 0058928..b89d8db 100644 --- a/content/posts/adding-time-to-my-blogs-statistics.md +++ b/content/posts/adding-time-to-my-blogs-statistics/index.md @@ -2,6 +2,7 @@ title: "Adding Time to my Blog's Statistics" tags: ['analytics', 'blog', 'self-hosting'] date: 2020-06-15T16:27:27+00:00 +aliases: ["/adding-time-to-my-blogs-statistics"] --- [![Two Grafana graphs: one to view the raw view counts evolving, the other to display the difference between two data points](/attachments/9/processed/)](/attachments/9/original/) diff --git a/content/posts/automate-bug-findings-with-git.md b/content/posts/automate-bug-findings-with-git/index.md similarity index 96% rename from content/posts/automate-bug-findings-with-git.md rename to content/posts/automate-bug-findings-with-git/index.md index e8b5640..d92d430 100644 --- a/content/posts/automate-bug-findings-with-git.md +++ b/content/posts/automate-bug-findings-with-git/index.md @@ -2,6 +2,7 @@ title: "Automate bug findings with git" tags: ['bisect', 'bugs', 'git'] date: 2021-12-22T22:08:07.191735+00:00 +aliases: ["/automate-bug-findings-with-git"] --- ## 🔍 Git bisect diff --git a/content/posts/bitwarden-and-password-managers.md b/content/posts/bitwarden-and-password-managers/index.md similarity index 97% rename from content/posts/bitwarden-and-password-managers.md rename to content/posts/bitwarden-and-password-managers/index.md index 01b6d82..ff57bdf 100644 --- a/content/posts/bitwarden-and-password-managers.md +++ b/content/posts/bitwarden-and-password-managers/index.md @@ -2,6 +2,7 @@ title: "Bitwarden and Password Managers" tags: ['free software', 'passwords', 'passwords manager'] date: 2020-06-05T15:10:47+00:00 +aliases: ["/bitwarden-and-password-managers"] --- [TL;DR](https://en.wiktionary.org/wiki/tl;dr): I use a password manager and you should too. [Bitwarden](http://bitwarden.com/) is a Free Software alternative. diff --git a/content/posts/blog-platform-update-quick-note.md b/content/posts/blog-platform-update-quick-note/index.md similarity index 94% rename from content/posts/blog-platform-update-quick-note.md rename to content/posts/blog-platform-update-quick-note/index.md index a3588b3..e0511e9 100644 --- a/content/posts/blog-platform-update-quick-note.md +++ b/content/posts/blog-platform-update-quick-note/index.md @@ -2,6 +2,7 @@ title: "Blog platform update - Quick note" tags: ['blog', 'self-hosting'] date: 2020-08-17T15:45:55+00:00 +aliases: ["/blog-platform-update-quick-note"] --- I just moved from Writefreely to a custom made blog engine. Writefreely is great but I wanted more control over every bit of the template and style and I couldn't easily achieve what I wanted. diff --git a/content/posts/blog-statistics-part-2.md b/content/posts/blog-statistics-part-2/index.md similarity index 97% rename from content/posts/blog-statistics-part-2.md rename to content/posts/blog-statistics-part-2/index.md index 50394c7..dd82d41 100644 --- a/content/posts/blog-statistics-part-2.md +++ b/content/posts/blog-statistics-part-2/index.md @@ -2,6 +2,7 @@ title: "Blog Statistics, Part 2" tags: ['analytics', 'blog', 'self-hosting'] date: 2020-06-26T15:34:46+00:00 +aliases: ["/blog-statistics-part-2"] --- In a [recent post](/adding-time-to-my-blogs-statistics), I talked about how I tracked my posts views over time using Grafana and InfluxDB. diff --git a/content/posts/certificates-chain-correct-order.md b/content/posts/certificates-chain-correct-order/index.md similarity index 93% rename from content/posts/certificates-chain-correct-order.md rename to content/posts/certificates-chain-correct-order/index.md index 839e47c..3304969 100644 --- a/content/posts/certificates-chain-correct-order.md +++ b/content/posts/certificates-chain-correct-order/index.md @@ -2,6 +2,7 @@ title: "Certificates chain correct order" tags: ['Certificates', 'OpenSSL', 'Quick Note', 'TLS'] date: 2022-08-04T09:35:07.590872+00:00 +aliases: ["/certificates-chain-correct-order"] --- Making honor to the name of this blog, here's a very quick note for my future self. diff --git a/content/posts/chowning-files-dockerfile-can-take-lot-space.md b/content/posts/chowning-files-dockerfile-can-take-lot-space/index.md similarity index 96% rename from content/posts/chowning-files-dockerfile-can-take-lot-space.md rename to content/posts/chowning-files-dockerfile-can-take-lot-space/index.md index cfc619d..26ad7e7 100644 --- a/content/posts/chowning-files-dockerfile-can-take-lot-space.md +++ b/content/posts/chowning-files-dockerfile-can-take-lot-space/index.md @@ -2,6 +2,7 @@ title: "Chowning files can take a lot of space in a Docker image" tags: ['Docker', 'ITSF', 'chown', 'history', 'layer', 'multi-stage builds'] date: 2021-03-02T16:21:06.172437+00:00 +aliases: ["/chowning-files-dockerfile-can-take-lot-space"] --- Today I learned that recursively changing the owner of a directory tree in a Dockerfile can result in some serious increase in image size. diff --git a/content/posts/cleantoots-clean-your-toot-history.md b/content/posts/cleantoots-clean-your-toot-history/index.md similarity index 96% rename from content/posts/cleantoots-clean-your-toot-history.md rename to content/posts/cleantoots-clean-your-toot-history/index.md index 0d4bf7c..b701190 100644 --- a/content/posts/cleantoots-clean-your-toot-history.md +++ b/content/posts/cleantoots-clean-your-toot-history/index.md @@ -2,6 +2,7 @@ title: "Cleantoots - Clean Your Toot History" tags: ['cleanup', 'history', 'mastodon', 'toots'] date: 2020-05-25T17:08:28+00:00 +aliases: ["/cleantoots-clean-your-toot-history"] --- Since I consider my messages on social media to be valid at the moment they're posted, I like to have them deleted after some time. When I still used Twitter, I also used a CLI tool called [cleantweets](https://github.com/magnusnissel/cleantweets) that helped with this. diff --git a/content/posts/codingame-spring-challenge-2020-pacman.md b/content/posts/codingame-spring-challenge-2020-pacman/index.md similarity index 98% rename from content/posts/codingame-spring-challenge-2020-pacman.md rename to content/posts/codingame-spring-challenge-2020-pacman/index.md index 17ed4d0..5cb317b 100644 --- a/content/posts/codingame-spring-challenge-2020-pacman.md +++ b/content/posts/codingame-spring-challenge-2020-pacman/index.md @@ -2,6 +2,7 @@ title: "CodinGame Spring Challenge 2020 - Pacman" tags: ['challenge', 'codingame', 'programming'] date: 2020-05-21T19:13:49+00:00 +aliases: ["/codingame-spring-challenge-2020-pacman"] --- I participated in the [latest CodinGame challenge](https://www.codingame.com/multiplayer/bot-programming/spring-challenge-2020) and quickly got out of the beginner's league. In this article, I'll explain my approach. diff --git a/content/posts/create-a-csr.md b/content/posts/create-a-csr/index.md similarity index 93% rename from content/posts/create-a-csr.md rename to content/posts/create-a-csr/index.md index 86d72e7..c52d121 100644 --- a/content/posts/create-a-csr.md +++ b/content/posts/create-a-csr/index.md @@ -2,6 +2,7 @@ title: "Create a CSR with SAN" tags: ['Certificates', 'OpenSSL', 'Quick Note', 'TLS'] date: 2022-12-20T13:56:56.467033+00:00 +aliases: ["/create-a-csr"] --- Another quick note today: how to generate a CSR for a basic certificate supported by modern browsers (includes `Subject Alternative Name`). diff --git a/content/posts/designing-and-3d-printing-a-wall-mount-for-my-isp-modem.md b/content/posts/designing-and-3d-printing-a-wall-mount-for-my-isp-modem/index.md similarity index 97% rename from content/posts/designing-and-3d-printing-a-wall-mount-for-my-isp-modem.md rename to content/posts/designing-and-3d-printing-a-wall-mount-for-my-isp-modem/index.md index 28f74e5..d3f7aad 100644 --- a/content/posts/designing-and-3d-printing-a-wall-mount-for-my-isp-modem.md +++ b/content/posts/designing-and-3d-printing-a-wall-mount-for-my-isp-modem/index.md @@ -2,6 +2,7 @@ title: "Designing and 3D Printing a Wall Mount for my ISP Modem" tags: ['3D printing', 'CAD', 'FreeCAD', 'Freebox', 'wall mounting'] date: 2020-08-13T21:38:37+00:00 +aliases: ["/designing-and-3d-printing-a-wall-mount-for-my-isp-modem"] --- I recently moved to a new apartment and now I have a little closet which contains the electrical board. It's also where the optical fiber comes in and so it's where I put my ISP-provided modem. diff --git a/content/posts/docker-images-layers-and-cache.md b/content/posts/docker-images-layers-and-cache/index.md similarity index 97% rename from content/posts/docker-images-layers-and-cache.md rename to content/posts/docker-images-layers-and-cache/index.md index c919dd9..399385d 100644 --- a/content/posts/docker-images-layers-and-cache.md +++ b/content/posts/docker-images-layers-and-cache/index.md @@ -2,6 +2,7 @@ title: "Docker images layers and cache" tags: ['Docker', 'cache', 'layer'] date: 2020-12-28T07:55:41.393608+00:00 +aliases: ["/docker-images-layers-and-cache"] --- In this post, we'll walk through Docker image layers and the caching around them from the point of view of a Docker user. I'll assume you're already familiar with Dockerfiles and Docker concepts in general. diff --git a/content/posts/example-should-never-be-published.md b/content/posts/example-should-never-be-published/index.md similarity index 94% rename from content/posts/example-should-never-be-published.md rename to content/posts/example-should-never-be-published/index.md index a9fb3bc..f61a3bf 100644 --- a/content/posts/example-should-never-be-published.md +++ b/content/posts/example-should-never-be-published/index.md @@ -2,6 +2,7 @@ title: "Demo post" tags: [] date: 2021-01-03T18:08:52.170212+00:00 +aliases: ["/example-should-never-be-published"] --- This is a paragraph and should look like it. It is probably left align, not justified. After all, we're on the web not in a book. diff --git a/content/posts/french-youtube-channel-recommendation.md b/content/posts/french-youtube-channel-recommendation/index.md similarity index 93% rename from content/posts/french-youtube-channel-recommendation.md rename to content/posts/french-youtube-channel-recommendation/index.md index 19ee63b..5baac1c 100644 --- a/content/posts/french-youtube-channel-recommendation.md +++ b/content/posts/french-youtube-channel-recommendation/index.md @@ -2,6 +2,7 @@ title: "Chat Sceptique (French YouTube Channel)" tags: [] date: 2020-06-21T10:18:08.406375+00:00 +aliases: ["/french-youtube-channel-recommendation"] --- Today's very quick post is a recommendation to a french YouTube channel. It's called [Chat Sceptique](https://www.youtube.com/channel/UCOuIgj0CYCXCvjWywjDbauw) and features a statistician popularizing many different topics related to statistics. diff --git a/content/posts/hello-hugo.md b/content/posts/hello-hugo.md deleted file mode 100644 index 2b3af66..0000000 --- a/content/posts/hello-hugo.md +++ /dev/null @@ -1,57 +0,0 @@ ---- -title: "Hello Hugo" -date: 2023-05-12T10:14:52+02:00 -draft: false -# weight: 1 -# aliases: ["/first"] -tags: ["initial", "hello"] - -author: "Gabriel Augendre" -# author: ["Me", "You"] # multiple authors -showToc: true -TocOpen: false -hidemeta: false -comments: false -description: "Desc Text." -canonicalURL: "https://canonical.url/to/page" -disableShare: false -disableHLJS: false -hideSummary: false -searchHidden: true -ShowReadingTime: true -ShowBreadCrumbs: true -ShowPostNavLinks: true -ShowWordCount: true -ShowRssButtonInSectionTermList: true -UseHugoToc: true -cover: - image: "" # image path/url - alt: "" # alt text - caption: "" # display caption under cover - relative: false # when using page bundles set this to true - hidden: true # only hide on current single page - appendFilePath: true # to append file path to Edit link ---- - -## Hello world - -This is an introduction post using **hugo**, a SSG written in *golang*. - -```python -def hello(name: str = "World") -> str: - return f"Hello, {name}" - -if __name__ == "__main__": - print(hello("Gabriel")) -``` - -```go -package main - -import "fmt" - -func main() { - fmt.Println("Hello, world") -} -``` - diff --git a/content/posts/how-to-subscribe.md b/content/posts/how-to-subscribe/index.md similarity index 93% rename from content/posts/how-to-subscribe.md rename to content/posts/how-to-subscribe/index.md index 796fd4a..7c84401 100644 --- a/content/posts/how-to-subscribe.md +++ b/content/posts/how-to-subscribe/index.md @@ -2,6 +2,7 @@ title: "How to subscribe" tags: [] date: 2020-05-14T10:18:31+00:00 +aliases: ["/how-to-subscribe"] --- This blog offers an [RSS](https://en.wikipedia.org/wiki/RSS) feed. diff --git a/content/posts/how-use-pipx-pyenv.md b/content/posts/how-use-pipx-pyenv/index.md similarity index 96% rename from content/posts/how-use-pipx-pyenv.md rename to content/posts/how-use-pipx-pyenv/index.md index 589aaec..f27bacc 100644 --- a/content/posts/how-use-pipx-pyenv.md +++ b/content/posts/how-use-pipx-pyenv/index.md @@ -2,6 +2,7 @@ title: "How to use pipx with pyenv" tags: ['pipx', 'pyenv', 'python'] date: 2020-12-30T08:40:58.362871+00:00 +aliases: ["/how-use-pipx-pyenv"] --- ## 👨🏻‍💻 TL;DR diff --git a/content/posts/i-needed-a-budget-with-four-rules.md b/content/posts/i-needed-a-budget-with-four-rules/index.md similarity index 98% rename from content/posts/i-needed-a-budget-with-four-rules.md rename to content/posts/i-needed-a-budget-with-four-rules/index.md index 0cb9e5a..12b1a7f 100644 --- a/content/posts/i-needed-a-budget-with-four-rules.md +++ b/content/posts/i-needed-a-budget-with-four-rules/index.md @@ -2,6 +2,7 @@ title: "I Needed a Budget, With Four Rules" tags: ['YNAB', 'budgeting', 'four rules', 'personal finances'] date: 2020-06-25T16:05:51+00:00 +aliases: ["/i-needed-a-budget-with-four-rules"] --- In January 2020, I discovered a budget app called You Need A Budget ([YNAB](https://youneedabudget.com/)). I've been using it since then and I'm very happy with it, here's why. diff --git a/content/posts/im-starting-a-blog.md b/content/posts/im-starting-a-blog/index.md similarity index 96% rename from content/posts/im-starting-a-blog.md rename to content/posts/im-starting-a-blog/index.md index 5448be9..011274c 100644 --- a/content/posts/im-starting-a-blog.md +++ b/content/posts/im-starting-a-blog/index.md @@ -2,6 +2,7 @@ title: "I'm starting a blog" tags: ['blog', 'introduction'] date: 2020-05-12T10:39:41.193174+00:00 +aliases: ["/im-starting-a-blog"] --- I came up across two posts recently that got me thinking: diff --git a/content/posts/lighten-your-python-image-docker-multi-stage-builds.md b/content/posts/lighten-your-python-image-docker-multi-stage-builds/index.md similarity index 96% rename from content/posts/lighten-your-python-image-docker-multi-stage-builds.md rename to content/posts/lighten-your-python-image-docker-multi-stage-builds/index.md index 0eded29..699b2a1 100644 --- a/content/posts/lighten-your-python-image-docker-multi-stage-builds.md +++ b/content/posts/lighten-your-python-image-docker-multi-stage-builds/index.md @@ -2,6 +2,7 @@ title: "Lighten your Python image with Docker multi-stage builds" tags: ['Docker', 'multi-stage builds', 'poetry', 'python'] date: 2021-01-02T10:37:29.021773+00:00 +aliases: ["/lighten-your-python-image-docker-multi-stage-builds"] --- In previous posts we talked about [poetry][poetry] and [Docker images layers][docker-cache] and I promised I would write about Docker multi-stage builds, so here we go! diff --git a/content/posts/migration-complete.md b/content/posts/migration-complete/index.md similarity index 93% rename from content/posts/migration-complete.md rename to content/posts/migration-complete/index.md index 37cd9b0..72918a5 100644 --- a/content/posts/migration-complete.md +++ b/content/posts/migration-complete/index.md @@ -2,6 +2,7 @@ title: "Migration complete" tags: ['blog', 'self-hosting'] date: 2020-11-11T07:38:24.261889+00:00 +aliases: ["/migration-complete"] --- I just moved this blog to my self-hosted server at home. Hopefully nothing is broken but if you see something strange or missing, please [contact me](/about-me/)! 😃 diff --git a/content/posts/my-setup-at-home-12-2021-update.md b/content/posts/my-setup-at-home-12-2021-update/index.md similarity index 95% rename from content/posts/my-setup-at-home-12-2021-update.md rename to content/posts/my-setup-at-home-12-2021-update/index.md index 82bb7ec..bf27e6c 100644 --- a/content/posts/my-setup-at-home-12-2021-update.md +++ b/content/posts/my-setup-at-home-12-2021-update/index.md @@ -2,6 +2,7 @@ title: "My Setup at Home (12/2021 update)" tags: ['devices', 'self-hosting'] date: 2021-12-28T09:33:00.205309+00:00 +aliases: ["/my-setup-at-home-12-2021-update"] --- In this post, I'm presenting my updated setup at home. The [previous version](/my-setup-at-home/) was from May 2020. diff --git a/content/posts/my-setup-at-home.md b/content/posts/my-setup-at-home/index.md similarity index 96% rename from content/posts/my-setup-at-home.md rename to content/posts/my-setup-at-home/index.md index 3d179ef..82c1309 100644 --- a/content/posts/my-setup-at-home.md +++ b/content/posts/my-setup-at-home/index.md @@ -2,6 +2,7 @@ title: "My Setup at Home" tags: ['self-hosting'] date: 2020-05-13T11:32:31+00:00 +aliases: ["/my-setup-at-home"] --- This post will serve as an introduction to others that will follow. I will try to remember to update this publication to add a reference to the new ones but I can't promise I won't forget. Meanwhile, feel free to use the tags at the end to scroll through related articles. diff --git a/content/posts/optimize-large-django-migrations.md b/content/posts/optimize-large-django-migrations/index.md similarity index 97% rename from content/posts/optimize-large-django-migrations.md rename to content/posts/optimize-large-django-migrations/index.md index e89bece..829fe3d 100644 --- a/content/posts/optimize-large-django-migrations.md +++ b/content/posts/optimize-large-django-migrations/index.md @@ -2,6 +2,7 @@ title: "Optimize large Django migrations" tags: ['Django', 'ITSF', 'python'] date: 2022-03-31T19:50:35.048724+00:00 +aliases: ["/optimize-large-django-migrations"] --- ## 📖 Backstory Today, while working on a project at [ITSF](https://itsf.io), I needed to add a new field to an existing model in a Django project. This field had to initially be computed from other values in the same model, so I couldn't use a constant default value for all the existing objects. diff --git a/content/posts/pi-hole.md b/content/posts/pi-hole/index.md similarity index 98% rename from content/posts/pi-hole.md rename to content/posts/pi-hole/index.md index 3151032..2d42078 100644 --- a/content/posts/pi-hole.md +++ b/content/posts/pi-hole/index.md @@ -2,6 +2,7 @@ title: "Pi Hole" tags: ['DNS', 'Raspberry Pi', 'self-hosting'] date: 2020-05-28T15:54:13+00:00 +aliases: ["/pi-hole"] --- !!! info "👴 Old post" I don't use Pi Hole anymore but this post should still be relevant. I've switched to [AdGuard](https://adguard.com/en/welcome.html). There is an easy to install Home Assistant addon available and it allows me to easily configure local-only DNS entries. diff --git a/content/posts/pip-tools-for-python-dependencies-management.md b/content/posts/pip-tools-for-python-dependencies-management/index.md similarity index 97% rename from content/posts/pip-tools-for-python-dependencies-management.md rename to content/posts/pip-tools-for-python-dependencies-management/index.md index dd35515..fa03847 100644 --- a/content/posts/pip-tools-for-python-dependencies-management.md +++ b/content/posts/pip-tools-for-python-dependencies-management/index.md @@ -2,6 +2,7 @@ title: "pip-tools for Python dependencies management" tags: ['dependencies', 'pip-tools', 'python'] date: 2023-03-02T13:07:26.381756+00:00 +aliases: ["/pip-tools-for-python-dependencies-management"] --- ## 📖 Story time diff --git a/content/posts/poetry-python-dependencies-management.md b/content/posts/poetry-python-dependencies-management/index.md similarity index 98% rename from content/posts/poetry-python-dependencies-management.md rename to content/posts/poetry-python-dependencies-management/index.md index a061085..3ec4e0a 100644 --- a/content/posts/poetry-python-dependencies-management.md +++ b/content/posts/poetry-python-dependencies-management/index.md @@ -2,6 +2,7 @@ title: "Poetry for Python dependencies management" tags: ['ITSF', 'dependencies', 'poetry', 'python'] date: 2020-12-30T20:44:05.549630+00:00 +aliases: ["/poetry-python-dependencies-management"] --- At [ITSF](https://itsf.io), teams using the same languages/frameworks regularly meet to share experience and decide on common guidelines. With the Python teams, we recently decided to change our dependencies management system to something more robust because we were not satisfied with `pip` alone. diff --git a/content/posts/raspberry-pi.md b/content/posts/raspberry-pi/index.md similarity index 98% rename from content/posts/raspberry-pi.md rename to content/posts/raspberry-pi/index.md index 45512e4..32327a6 100644 --- a/content/posts/raspberry-pi.md +++ b/content/posts/raspberry-pi/index.md @@ -2,6 +2,7 @@ title: "Raspberry Pi" tags: ['Raspberry Pi', 'backup', 'monitoring', 'self-hosting'] date: 2020-05-16T14:43:38+00:00 +aliases: ["/raspberry-pi"] --- !!! info "👴 Old post" This post has grown old and I now don't use my Raspberry Pi like this anymore. diff --git a/content/posts/reduce-your-page-load-time-with-htmx-in-less-than-an-hour.md b/content/posts/reduce-your-page-load-time-with-htmx-in-less-than-an-hour/index.md similarity index 96% rename from content/posts/reduce-your-page-load-time-with-htmx-in-less-than-an-hour.md rename to content/posts/reduce-your-page-load-time-with-htmx-in-less-than-an-hour/index.md index ad2d145..f5767a7 100644 --- a/content/posts/reduce-your-page-load-time-with-htmx-in-less-than-an-hour.md +++ b/content/posts/reduce-your-page-load-time-with-htmx-in-less-than-an-hour/index.md @@ -2,6 +2,7 @@ title: "Reduce your page load time with htmx in less than an hour" tags: ['Django', 'Javascript', 'frontend', 'programming', 'python'] date: 2022-09-26T11:49:45.812120+00:00 +aliases: ["/reduce-your-page-load-time-with-htmx-in-less-than-an-hour"] --- ## Presentation During DjangoCon EU 2022, a talk reminded me of [htmx](https://htmx.org/). As the authors put it: diff --git a/content/posts/releasing-my-works-into-the-public-domain.md b/content/posts/releasing-my-works-into-the-public-domain/index.md similarity index 97% rename from content/posts/releasing-my-works-into-the-public-domain.md rename to content/posts/releasing-my-works-into-the-public-domain/index.md index bda87a5..60ccd09 100644 --- a/content/posts/releasing-my-works-into-the-public-domain.md +++ b/content/posts/releasing-my-works-into-the-public-domain/index.md @@ -2,6 +2,7 @@ title: "Releasing my works into the public domain" tags: ['commons', 'free software', 'licensing'] date: 2022-01-02T15:40:02.921181+00:00 +aliases: ["/releasing-my-works-into-the-public-domain"] --- ## Context diff --git a/content/posts/replacing-my-synology-nas-with-a-self-built-server.md b/content/posts/replacing-my-synology-nas-with-a-self-built-server/index.md similarity index 97% rename from content/posts/replacing-my-synology-nas-with-a-self-built-server.md rename to content/posts/replacing-my-synology-nas-with-a-self-built-server/index.md index 9bae589..521516a 100644 --- a/content/posts/replacing-my-synology-nas-with-a-self-built-server.md +++ b/content/posts/replacing-my-synology-nas-with-a-self-built-server/index.md @@ -2,6 +2,7 @@ title: "Replacing my Synology NAS with a self-built server" tags: ['FreeBSD', 'FreeNAS', 'NAS', 'TrueNAS', 'self-hosting', 'server'] date: 2020-11-11T12:31:38.826817+00:00 +aliases: ["/replacing-my-synology-nas-with-a-self-built-server"] --- !!! info "👴 Old post" I don't use TrueNAS anymore but I still have this machine and I even upgraded the RAM to a more comfortable 56GB. diff --git a/content/posts/setup-rtx-with-direnv-for-python.md b/content/posts/setup-rtx-with-direnv-for-python/index.md similarity index 96% rename from content/posts/setup-rtx-with-direnv-for-python.md rename to content/posts/setup-rtx-with-direnv-for-python/index.md index 3619e29..736f18f 100644 --- a/content/posts/setup-rtx-with-direnv-for-python.md +++ b/content/posts/setup-rtx-with-direnv-for-python/index.md @@ -2,6 +2,7 @@ title: "Setup rtx with direnv for Python" tags: ['development', 'python', 'shell', 'virtualenv'] date: 2023-02-28T23:58:39.540937+00:00 +aliases: ["/setup-rtx-with-direnv-for-python"] --- ## 👨🏻‍💻 TL;DR diff --git a/content/posts/sourcehut.md b/content/posts/sourcehut/index.md similarity index 98% rename from content/posts/sourcehut.md rename to content/posts/sourcehut/index.md index b601c9e..ccb11f7 100644 --- a/content/posts/sourcehut.md +++ b/content/posts/sourcehut/index.md @@ -2,6 +2,7 @@ title: "Sourcehut" tags: ['GitHub alternative', 'git', 'software forge'] date: 2020-07-01T20:26:41+00:00 +aliases: ["/sourcehut"] --- !!! Info "🧓🏻 Old post" This post is quite old now. Since then, I've moved my git repositories to a self-hosted [gitea](https://gitea.io/) instance and I cancelled my subscription. I still stand behind this post though. Sourcehut is a solid git forge and keeps improving. diff --git a/content/posts/synology-nas-stream-and-backup.md b/content/posts/synology-nas-stream-and-backup/index.md similarity index 98% rename from content/posts/synology-nas-stream-and-backup.md rename to content/posts/synology-nas-stream-and-backup/index.md index 9dce6d4..71b793c 100644 --- a/content/posts/synology-nas-stream-and-backup.md +++ b/content/posts/synology-nas-stream-and-backup/index.md @@ -2,6 +2,7 @@ title: "Synology NAS: Stream & Backup" tags: ['NAS', 'Plex', 'Raspberry Pi', 'Synology', 'backup', 'self-hosting', 'streaming', 'time machine'] date: 2020-05-14T05:46:00+00:00 +aliases: ["/synology-nas-stream-and-backup"] --- This is the third issue of my #100DaysToOffload diff --git a/content/posts/to-a-new-adventure.md b/content/posts/to-a-new-adventure/index.md similarity index 93% rename from content/posts/to-a-new-adventure.md rename to content/posts/to-a-new-adventure/index.md index 898fbdc..9b2d365 100644 --- a/content/posts/to-a-new-adventure.md +++ b/content/posts/to-a-new-adventure/index.md @@ -2,13 +2,13 @@ title: "To a new adventure!" tags: ['Career', 'OVH', 'OVHcloud', 'Work'] date: 2023-03-24T11:01:05.142656+00:00 +aliases: ["/to-a-new-adventure"] --- After leaving ITSF in January, I spent February at Gatewatcher. The company is in Paris so the position was fully remote, with 2-3 days per month on site. Unfortunately and despite my hopes, it didn't work for me. After a month of job hunting, I'm happy to report that I'll be joining [OVHcloud](https://ovhcloud.com) in April! They have offices in Lyon so the remoteness shouldn't be an issue, though the people I'll be teaming up with are distributed in France and Canada. I've been hired as a software developer & site reliability engineer. I'll be mostly developing in Go and Python. -![OVHcloud logo on a wall, slightly blurry](/attachments/45/processed/) -{: .illustration } +![OVHcloud logo on a wall, slightly blurry](ovh_wall.jpg) During this month I met several other organizations. All of them had interesting projects to share and it was very rewarding to have the opportunity to discuss with them. diff --git a/content/posts/to-a-new-adventure/ovh_wall.jpg b/content/posts/to-a-new-adventure/ovh_wall.jpg new file mode 100644 index 0000000..7ba4b43 --- /dev/null +++ b/content/posts/to-a-new-adventure/ovh_wall.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bfd4797ecfab44e97967f2af23d9d9ce4e2b8ed48736c23599424fcd0632869d +size 125992 diff --git a/content/posts/upgraded-writefreely-quick-note.md b/content/posts/upgraded-writefreely-quick-note/index.md similarity index 91% rename from content/posts/upgraded-writefreely-quick-note.md rename to content/posts/upgraded-writefreely-quick-note/index.md index 9feab43..e60a430 100644 --- a/content/posts/upgraded-writefreely-quick-note.md +++ b/content/posts/upgraded-writefreely-quick-note/index.md @@ -2,6 +2,7 @@ title: "Upgraded writefreely - Quick Note" tags: [] date: 2020-05-15T17:27:49.451539+00:00 +aliases: ["/upgraded-writefreely-quick-note"] --- I upgraded [writefreely](https://github.com/writeas/writefreely) (the software that powers this blog) to get a fix making my #100DaysToOffload tags now clickable (they were previously not). So I'll stop adding the HundredDaysToOffload tag which was there as a temporary workaround. diff --git a/content/posts/using-your-yubikey-with-ssh-and-achieving-multifactor-authentication.md b/content/posts/using-your-yubikey-with-ssh-and-achieving-multifactor-authentication/index.md similarity index 96% rename from content/posts/using-your-yubikey-with-ssh-and-achieving-multifactor-authentication.md rename to content/posts/using-your-yubikey-with-ssh-and-achieving-multifactor-authentication/index.md index d9daa03..5cea0c6 100644 --- a/content/posts/using-your-yubikey-with-ssh-and-achieving-multifactor-authentication.md +++ b/content/posts/using-your-yubikey-with-ssh-and-achieving-multifactor-authentication/index.md @@ -2,6 +2,7 @@ title: "Using Your YubiKey With SSH and Achieving Multifactor Authentication" tags: ['ssh', 'yubikey'] date: 2020-05-18T19:07:08+00:00 +aliases: ["/using-your-yubikey-with-ssh-and-achieving-multifactor-authentication"] --- In my [introductory article](/im-starting-a-blog), I teased about using SSH with a YubiKey. Here's the post that expands on the idea. diff --git a/content/posts/youtube-on-apple-tv.md b/content/posts/youtube-on-apple-tv/index.md similarity index 97% rename from content/posts/youtube-on-apple-tv.md rename to content/posts/youtube-on-apple-tv/index.md index 5469d35..101fd7f 100644 --- a/content/posts/youtube-on-apple-tv.md +++ b/content/posts/youtube-on-apple-tv/index.md @@ -2,6 +2,7 @@ title: "YouTube on Apple TV" tags: ['apple tv', 'homepod', 'rant', 'youtube'] date: 2020-05-15T11:22:59+00:00 +aliases: ["/youtube-on-apple-tv"] --- Today's post will mostly be me ranting about the YouTube app on Apple TV. See, I have a pretty typical Apple user setup for my TV (and as you'll maybe learn in future posts, it's not only for the TV). I have: diff --git a/content/search.md b/content/search.md new file mode 100644 index 0000000..697b7c2 --- /dev/null +++ b/content/search.md @@ -0,0 +1,9 @@ +--- +title: "Search" # in any language you want +layout: "search" # is necessary +# url: "/archive" +# description: "Description for Search" +summary: "search" +placeholder: "placeholder text in search input box" +--- + diff --git a/layouts/partials/extend_footer.html b/layouts/partials/extend_footer.html new file mode 100644 index 0000000..b47bb02 --- /dev/null +++ b/layouts/partials/extend_footer.html @@ -0,0 +1,10 @@ +