Fixing Hugo on Cloudflare

Do you want to update your Hugo website on Cloudflare to use the latest version ? And you just did that and got a wierd error version 'GLIBC_2.33' not found (required by hugo) ? 19:27:47.373 Installing Hugo 0.152.2 19:27:48.269 hugo: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by hugo) 19:27:48.270 hugo: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by hugo) 19:27:48.270 hugo: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by hugo) 19:27:48.270 hugo: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by hugo) 19:27:48.274 Failed: build command exited with code: 1 19:27:49.294 Failed: error occurred while running build command The solution is simple: ...

December 10, 2025 · 1 min · Alex Popescu

Unleashing the Power of Hugo: Integrating Config Parameters with JavaScript

The Challenge: Using a config.yml Parameter in a JavaScript File Lately, I found myself in a predicament. I wanted to use a config.yml parameter in a JavaScript file, and apparently, it’s not that easy since most .js files are static as far as Hugo is concerned. Why would you like to do that? Well, let’s say you have a separate JavaScript file for Google Analytics that needs to be loaded at page start/end, but you don’t want to hardcode the Google Analytics ID. ...

April 20, 2023 · 2 min · Alex Popescu