From 5a43f9d2e025ad2cb8a0958c0e6906f849955508 Mon Sep 17 00:00:00 2001 From: daudix-UFO Date: Tue, 8 Aug 2023 21:45:14 +0300 Subject: [PATCH] feat: Rename images to web-friendly format --- _includes/footer.html | 4 ++-- ...023-07-15-migration-from-github-to-codeberg.md | 14 +++++++------- _posts/2023-07-24-chatgpt-and-file-renaming.md | 2 +- ...224850.png => pasted-image-20230715224850.png} | Bin ...225539.png => pasted-image-20230715225539.png} | Bin ...225826.png => pasted-image-20230715225826.png} | Bin ...225841.png => pasted-image-20230715225841.png} | Bin ...230017.png => pasted-image-20230715230017.png} | Bin ...230115.png => pasted-image-20230715230115.png} | Bin ...231347.png => pasted-image-20230715231347.png} | Bin 10 files changed, 10 insertions(+), 10 deletions(-) rename assets/posts/2023-07-15/{Pasted image 20230715224850.png => pasted-image-20230715224850.png} (100%) rename assets/posts/2023-07-15/{Pasted image 20230715225539.png => pasted-image-20230715225539.png} (100%) rename assets/posts/2023-07-15/{Pasted image 20230715225826.png => pasted-image-20230715225826.png} (100%) rename assets/posts/2023-07-15/{Pasted image 20230715225841.png => pasted-image-20230715225841.png} (100%) rename assets/posts/2023-07-15/{Pasted image 20230715230017.png => pasted-image-20230715230017.png} (100%) rename assets/posts/2023-07-15/{Pasted image 20230715230115.png => pasted-image-20230715230115.png} (100%) rename assets/posts/2023-07-15/{Pasted image 20230715231347.png => pasted-image-20230715231347.png} (100%) diff --git a/_includes/footer.html b/_includes/footer.html index 17a08cb..90a7dae 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -5,7 +5,7 @@ -

© {{ site.title }}, 2023

+

© {{ site.title }}, 2023

-

Website source

+

Website source

diff --git a/_posts/2023-07-15-migration-from-github-to-codeberg.md b/_posts/2023-07-15-migration-from-github-to-codeberg.md index dcd9c04..885b29c 100644 --- a/_posts/2023-07-15-migration-from-github-to-codeberg.md +++ b/_posts/2023-07-15-migration-from-github-to-codeberg.md @@ -129,35 +129,35 @@ _Personally I use [VSCodium](https://vscodium.com), fork of VSCode with Microsof Push all the changes and [Generate an Access Token](https://docs.codeberg.org/advanced/access-token), you need to generate token named `cbtoken` with the `repo` scope selected -![](../assets/posts/2023-07-15/Pasted image 20230715225539.png) +![](../assets/posts/2023-07-15/pasted-image-20230715225539.png) Then copy the resulted token and save it to a safe place, as it won't be shown again. Go to [Woodpecker](https://ci.codeberg.org) and navigate to _Repositories_ tab and add a new repository (`blog-source`) -![](../assets/posts/2023-07-15/Pasted image 20230715224850.png) +![](../assets/posts/2023-07-15/pasted-image-20230715224850.png) Navigate to _Settings_ and go to _Secrets_ tab -![](../assets/posts/2023-07-15/Pasted image 20230715225826.png) +![](../assets/posts/2023-07-15/pasted-image-20230715225826.png) -![](../assets/posts/2023-07-15/Pasted image 20230715225841.png) +![](../assets/posts/2023-07-15/pasted-image-20230715225841.png) Here create two secrets, `cbmail` and `cbtoken` `cbmail` should contain your Codeberg account email -![](../assets/posts/2023-07-15/Pasted image 20230715230017.png) +![](../assets/posts/2023-07-15/pasted-image-20230715230017.png) And `cbtoken` should contain the secret we saved earlier -![](../assets/posts/2023-07-15/Pasted image 20230715230115.png) +![](../assets/posts/2023-07-15/pasted-image-20230715230115.png) Make sure these two secrets have successfully created and make some changes in `blog-source` to trigger the CI, it should finish successfully. > If you don't want to trigger the CI (the change doesn't affect content for example) you can add `[CI SKIP]` to your commit message to skip the CI -![](../assets/posts/2023-07-15/Pasted image 20230715231347.png) +![](../assets/posts/2023-07-15/pasted-image-20230715231347.png) Now it's up to you to choose Jekyll theme and write something ;) diff --git a/_posts/2023-07-24-chatgpt-and-file-renaming.md b/_posts/2023-07-24-chatgpt-and-file-renaming.md index ed5731d..4b72f2d 100644 --- a/_posts/2023-07-24-chatgpt-and-file-renaming.md +++ b/_posts/2023-07-24-chatgpt-and-file-renaming.md @@ -7,7 +7,7 @@ toc: true ## Backstory -While writing and the [previous post](../posts/migration-from-github-to-codeberg.md) I ran into an "issue" that post file names had spaces in them and special characters like `:`, I could rename them manually but why not use script to do this automatically? +While writing and the [previous post](./2023-07-15-migration-from-github-to-codeberg.md) I ran into an "issue" that post file names had spaces in them and special characters like `:`, I could rename them manually but why not use script to do this automatically? ## The ~~programming~~ asking diff --git a/assets/posts/2023-07-15/Pasted image 20230715224850.png b/assets/posts/2023-07-15/pasted-image-20230715224850.png similarity index 100% rename from assets/posts/2023-07-15/Pasted image 20230715224850.png rename to assets/posts/2023-07-15/pasted-image-20230715224850.png diff --git a/assets/posts/2023-07-15/Pasted image 20230715225539.png b/assets/posts/2023-07-15/pasted-image-20230715225539.png similarity index 100% rename from assets/posts/2023-07-15/Pasted image 20230715225539.png rename to assets/posts/2023-07-15/pasted-image-20230715225539.png diff --git a/assets/posts/2023-07-15/Pasted image 20230715225826.png b/assets/posts/2023-07-15/pasted-image-20230715225826.png similarity index 100% rename from assets/posts/2023-07-15/Pasted image 20230715225826.png rename to assets/posts/2023-07-15/pasted-image-20230715225826.png diff --git a/assets/posts/2023-07-15/Pasted image 20230715225841.png b/assets/posts/2023-07-15/pasted-image-20230715225841.png similarity index 100% rename from assets/posts/2023-07-15/Pasted image 20230715225841.png rename to assets/posts/2023-07-15/pasted-image-20230715225841.png diff --git a/assets/posts/2023-07-15/Pasted image 20230715230017.png b/assets/posts/2023-07-15/pasted-image-20230715230017.png similarity index 100% rename from assets/posts/2023-07-15/Pasted image 20230715230017.png rename to assets/posts/2023-07-15/pasted-image-20230715230017.png diff --git a/assets/posts/2023-07-15/Pasted image 20230715230115.png b/assets/posts/2023-07-15/pasted-image-20230715230115.png similarity index 100% rename from assets/posts/2023-07-15/Pasted image 20230715230115.png rename to assets/posts/2023-07-15/pasted-image-20230715230115.png diff --git a/assets/posts/2023-07-15/Pasted image 20230715231347.png b/assets/posts/2023-07-15/pasted-image-20230715231347.png similarity index 100% rename from assets/posts/2023-07-15/Pasted image 20230715231347.png rename to assets/posts/2023-07-15/pasted-image-20230715231347.png