Posts
read more
Cloudflare Pages Functions
How to add dynamic content to the Pages
I planned that most of the web site should be static. I would like to have only some parts to have authentication or another dynamic features. Cloudflare pages can use Workers. If the project has directory ‘/functions’ Cloudflare use workers environment to execute the code from there. I could not really find examples how to use Pages functions with Hugo.
But Cloudflare is doing everything for us. Just add ‘/functions’ directory to the root of the project and push to the git. I created file functions/private/helloworld.js
Posts
read more
What Is This
About
This is the blog where I want to describe and classify some interesting for me setups or configurations.