I haven’t written here for a very long time, and my activity was limited to the annual update of the copyright notice. Due to the Hugo update, I was forced to refresh the site and update the content here.
Template Change
To change the template, I performed the following steps:
- Removed the old template with my modifications
hugo-dusk
. - Added the new template
PaperMod
to thethemes
directory. - Migrated the
config.toml
file tohugo.yaml
.
Configuration
After changing the template, I had to adjust the site configuration. I made the following changes in the hugo.yaml
file:
- Updated the
params
section with new settings available in thePaperMod
template. - Added new configuration sections that allow better content and site appearance management.
Articles in English
Another new feature on the site is articles in English. To add support for multiple languages, I made the following changes:
- Added the
languages
section in thehugo.yaml
file:
languages:
pl:
languageName: "Polski"
weight: 1
en:
languageName: "English"
weight: 2
- All articles were duplicated and their names changed from
*.md
to*.en.md
- These articles were translated using AI tools.
Thanks to these changes, the site is now available for both Polish and English-speaking users.
I hope you will like these changes and that they will make it easier to use the site, and I hope to publish more content here.