The Project Euler API
I really like maths, computer science and riddles. Naturally, I have been a big fan of projecteuler.net for a long time now. It is a website with hundreds of mathematical riddles of increasing difficulty. For every problem, you need a good combination of maths and programming, although some problems can be solved with pen and paper only. I have even created projekteuler.de for crowdsourcing German translations of the problems. During the development of the website, I wanted to keep the number of problems as well as their titles and content up-to-date in order to allow early translation....
Multilingual dates in Hugo
Edit: Since Hugo version 0.87, it is possible to localize dates without the process described below, see the Release Notes. Once you set a language, dates are localized accordingly (see the official documentation). While building this website with Hugo, I wanted to show the date of posts in German or English. However, this is currently (Hugo version 0.61) not easily possible. Therefore, I want to present my solution here. The goal In my case, which will serve as the example, the website has two languages: German and English....
Hello world!
It is done - pfischbeck.de is online. I want to use this site to document my experiences, especially in the digital world, and share the gained knowledge. While looking for the right tools for such a site, I soon landed on Hugo, a Go framework for generating static websites. Using static websites, especially with Hugo, comes with several advantages: Fast generation of the whole website (few milliseconds) Simple deployment without dependencies on the server Built-in support for multilingual sites Extensive template support that is easily adjusted Easy post creation in markdown format I am pleased with my first experiences with this framework....