Adding dynamic content to HUGO
This website is build using Hugo, a framework to generate static websites from markdown-files. This means that after the compile-step, there are only pure HTML-files, which can just be hosted on any webserver. While this has several advantages in terms of eg. speed, debugability, search engine optimization and much more, a big disadvantage is that there is no straightforward way to include dynamic content. As everything is unchanged from the compilation on, allowing for content dependent on user input or from real-time data, or just including content generated from other web frameworks such as Python’s flask or Django, is not easy. However, thanks to Javascript, it is absolutely possible to incorporate such dynamic content, as I have done for example in my CV, which is generated with my custom CV-Generator.
[Read More]