Updates internal links to use Hugo's ref shortcode
Replaces hardcoded URLs with Hugo's `ref` shortcode for internal links. This ensures that links are automatically updated when the site structure changes, preventing broken links and improving maintainability.
This commit is contained in:
@@ -16,6 +16,6 @@ It all began with a request from a very dear friend of mine to take a look at so
|
||||
|
||||
This stationery shop had an internet point that had become a haven for all things evil—hell itself—and every virus AVG could possibly detect… Not to mention the spider web/Gordian knot/death trap that was their cable system. That’s where I started, by getting my hands on that setup (I’m not calling it a horror only because, after reading Lovecraft, I know it could have been worse—even if it came close…) and offering on-call tech support.
|
||||
|
||||
From this experience came the stories in the series [What Did You Just Do, Sorry?](/series/horror-stories/) (now called Horror stories), an irregularly scheduled column depending on what happens to me.
|
||||
From this experience came the stories in the series [What Did You Just Do, Sorry?]({{< ref "/series/horror-stories" >}}) (now called Horror stories), an irregularly scheduled column depending on what happens to me.
|
||||
|
||||
Personally, I hope it doesn’t happen often—but I know from experience that [Murphy](https://it.wikipedia.org/wiki/Legge_di_Murphy) is always lurking, in pleasant company with the [FuckUp Fairy](http://www.soft-land.org/storie/fsckup).
|
||||
|
||||
@@ -32,7 +32,7 @@ So I write a tool for check all the point: [Server Grimoire](https://github.com/
|
||||
|
||||
## How to work?
|
||||
|
||||
It is a terminal app, so work all into your console. All the configs and the data are into two *dotfiles*, one called *.servergrimoire_config* and *.servergrimoire_data* (config and data respectively) and can be backup like all [dotfiles](/tags/dotfiles/).
|
||||
It is a terminal app, so work all into your console. All the configs and the data are into two *dotfiles*, one called *.servergrimoire_config* and *.servergrimoire_data* (config and data respectively) and can be backup like all [dotfiles]({{< ref "tags/dotfiles" >}}).
|
||||
|
||||
So for start I need to register some urls like google and amazon for example
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ series:
|
||||
- Tech News
|
||||
---
|
||||
|
||||
This post is a follow up to one of my old post: [Microsoft buy Atom, Electron and Open Source](/post/2018/microsoft-buy-atom-electron-and-open-source).
|
||||
This post is a follow up to one of my old post: [Microsoft buy Atom, Electron and Open Source]({{< ref "/post/2018/microsoft-buy-atom-electron-and-open-source" >}}).
|
||||
|
||||
## We start at the beginning
|
||||
|
||||
@@ -26,7 +26,7 @@ This story start with a tweet. I was scrolling on *Twitter* in June 2018 and I s
|
||||
|
||||
So I search more and find the [official blog's post](https://blogs.microsoft.com/blog/2018/06/04/microsoft-github-empowering-developers/) of the acquisition.
|
||||
|
||||
After reading it and some more research I write a [post](/post/2018/microsoft-buy-atom-electron-and-open-source).
|
||||
After reading it and some more research I write a [post]({{< ref "/post/2018/microsoft-buy-atom-electron-and-open-source" >}}).
|
||||
|
||||
## The big questions
|
||||
|
||||
|
||||
@@ -28,14 +28,14 @@ series:
|
||||
## The story so far
|
||||
|
||||
Some time ago I wrote a post about _lazy loading_ and _WebP_ in _Hugo_ [^1] and how I implemented it.
|
||||
[^1]: Fundor333 - [Hugo With Lazy Loading and Webp](/post/2021/hugo-with-lazy-loading-and-webp/)
|
||||
[^1]: Fundor333 - [Hugo With Lazy Loading and Webp]({{< ref "post/2021/hugo-with-lazy-loading-and-webp" >}})
|
||||
|
||||
When you add image in your Hugo's site you also launch some script for some image optimization.
|
||||
Some problems come from the custom script for the build, were you need to have other code install in your machine or wherever you compile your static site.
|
||||
|
||||
It was a good implementation and a fast one but some time after I find a better way to implement better way to serve img in a static site, so I wrote a new article [^2] where I describe the implementation with a "Hugo's way" with a internal pipeline.
|
||||
|
||||
[^2]: Fundor333 - [Generate WebP and AVIF with Hugo](/post/2021/webp-and-avif-with-hugo-generator/)
|
||||
[^2]: Fundor333 - [Generate WebP and AVIF with Hugo]({{< ref "post/2021/webp-and-avif-with-hugo-generator" >}})
|
||||
|
||||
In this implementation I combine as find in a blog post [^5] the _srv_ html tag [^src-tag] in the _picture_ tag [^picture-tag] without the Avif format file[^avif]
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ and I find I do the same thing and some more. I generate a default cover because
|
||||
|
||||
## How I generate the post?
|
||||
|
||||
When I write a post I launch a [makefile command](/post/2021/the-team-makefile/) and it launch two command for me:
|
||||
When I write a post I launch a [makefile command]({{< ref "post/2021/the-team-makefile" >}}) and it launch two command for me:
|
||||
|
||||
1. Generate a new post with hugo new
|
||||
2. Generate a cover with my python script
|
||||
|
||||
@@ -75,7 +75,7 @@ First are the data structure: json, with the name of the file is an hash of the
|
||||
}
|
||||
```
|
||||
|
||||
For example this is my data for [this post](https://fundor333.com/photos/2025/square-square-square-and-square/). I choose Json because I can make check on it and it is a beautiful format for data
|
||||
For example this is my data for [this post]({{< ref "photos/2025/square-square-square-and-square" >}}). I choose Json because I can make check on it and it is a beautiful format for data
|
||||
|
||||
### The Scraper script
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ So I think a dev must share knowledge in the web. Somebody help people on StackO
|
||||
In the last _X_ years[^1] I understand the important of blogging and why a dev or a coder need to write a blog/newsletter/magazine about what is doing[^2] and how big time sink is developing and maintaining a custom blog so I have this question:
|
||||
|
||||
[^1]: Where _X_ is a big but not too big number
|
||||
[^2]: This is also explained in one of my [old post](https://fundor333.com/post/2020/good-developer-must-be-blogger/)
|
||||
[^2]: This is also explained in one of my [old post]({{< ref "photos/2025/square-square-square-and-square" >}})
|
||||
|
||||
> For sharing Dev/Coding experiences is better Medium or StackOverflow?[^3]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user