From cbc70f4341add2afb064bdcf64f5434a879555f6 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Fri, 21 Oct 2022 22:34:37 +0200 Subject: [PATCH] try to have full links in rss to images --- content/posts/keyboards-and-open-source/index.md | 6 +++--- content/posts/planck-and-qmk/index.md | 4 ++-- themes/PaperMod/layouts/_default/_markup/render-image.html | 2 +- update-theme.sh | 3 ++- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/content/posts/keyboards-and-open-source/index.md b/content/posts/keyboards-and-open-source/index.md index a2f9851..af5608d 100644 --- a/content/posts/keyboards-and-open-source/index.md +++ b/content/posts/keyboards-and-open-source/index.md @@ -43,7 +43,7 @@ Here [VIA](https://caniusevia.com/) comes into the picture. For sure, it is an Electron based monster, but it provides a cross-platform UI for QMK based keyboards that allow on the fly configuration of at least the common things, like keymaps. And it provides trivial things like testing all your keys, which is not that unneeded, given I was too dumb to properly install all my hot-swap switches ;) -![VIA UI](images/keyboard-via.png "VIA UI") +![VIA UI](/posts/keyboards-and-open-source/images/keyboard-via.png "VIA UI") ## Actual Keyboard? @@ -74,14 +74,14 @@ At work I now have some [SA profile](https://www.keycaps.info/) set from Signatu Funny enough, shipping from US did take 4 weeks, even with air express, USPS seems to be not the fasted variant of travel. If others play with the idea to buy there, I must confess the quality is really good, but they are expensive, if you don't require exotic layouts like German, I would rather go with some cheaper sets, for US ANSI even the cheapest I tried out were ok, without obvious faults. -![Keychron Q1 Ice Cap Keycaps](images/keyboard-q1-work.jpg "Keychron Q1 Ice Cap Keycaps") +![Keychron Q1 Ice Cap Keycaps](/posts/keyboards-and-open-source/images/keyboard-q1-work.jpg "Keychron Q1 Ice Cap Keycaps") If you look a bit more around on the picture you will see I have still my good old Nokia rubber ducky, a sole survivor from the time Nokia owned Qt :P And no, I don't use a Mac, that is just one we use for our compile farm. At home I went with some [MT3 profile](https://matt3o.com/about-mt3-profile-and-devtty-set/) set without any legends, that is really cheap and funny enough did take only 4 days from US to Germany with standard UPS. -![Keychron Q1 MT3 /dev/tty Keycaps](images/keyboard-q1-home.jpg "Keychron Q1 MT3 /dev/tty Keycaps") +![Keychron Q1 MT3 /dev/tty Keycaps](/posts/keyboards-and-open-source/images/keyboard-q1-home.jpg "Keychron Q1 MT3 /dev/tty Keycaps") :=) And no, no second Nokia ducky at home. diff --git a/content/posts/planck-and-qmk/index.md b/content/posts/planck-and-qmk/index.md index 809a845..3c72037 100644 --- a/content/posts/planck-and-qmk/index.md +++ b/content/posts/planck-and-qmk/index.md @@ -30,7 +30,7 @@ Unlike for my tries with the Q1, this time I just went the plain QMK route, with The Planck board offers a nice platform for experiments, given the plain grid layer that allows really to freely shuffle all your keys and experiment with extreme layouts. -![Building the Planck keyboard](images/planck-building.webp "Building the Planck keyboard") +![Building the Planck keyboard](/posts/planck-and-qmk/images/planck-building.webp "Building the Planck keyboard") ## Install QMK on NixOS @@ -90,7 +90,7 @@ Below the state of a finalized Planck board with some more or less standard firs It even plays a nice startup sound on powering up. -![Finalized Planck keyboard](images/planck-final.webp "Finalized Planck keyboard") +![Finalized Planck keyboard](/posts/planck-and-qmk/images/planck-final.webp "Finalized Planck keyboard") My current keymap can be found on [GitHub](https://github.com/christoph-cullmann/qmk). diff --git a/themes/PaperMod/layouts/_default/_markup/render-image.html b/themes/PaperMod/layouts/_default/_markup/render-image.html index 1acb87d..1e5edbf 100644 --- a/themes/PaperMod/layouts/_default/_markup/render-image.html +++ b/themes/PaperMod/layouts/_default/_markup/render-image.html @@ -1 +1 @@ -{{ .Text }} +{{ .Text }} diff --git a/update-theme.sh b/update-theme.sh index 8a433e7..12d2a0d 100755 --- a/update-theme.sh +++ b/update-theme.sh @@ -2,5 +2,6 @@ rm -rf themes mkdir themes git clone https://github.com/adityatelange/hugo-PaperMod themes/PaperMod --depth=1 rm -rf themes/PaperMod/.git* -sed -i s@localStorage.setItem@//localStorage.setItem@g themes/PaperMod/layouts/partials/footer.html +sed -i 's@localStorage.setItem@//localStorage.setItem@g' themes/PaperMod/layouts/partials/footer.html +sed -i 's@safeURL@safeURL | absURL@g' themes/PaperMod/layouts/_default/_markup/render-image.html git add themes