Blog

Adding WebPack Encore and TypeScript to Grav

I started this Grav Blog in 2016. It was a nice and easy way to get started and to set everything up. I got the LingonBerry theme and only changed a few lines in its CSS code to change some colors. This worked fine and was up for years. Recently I wanted to get back to my blog to add some more content, and so I looked…

Continue reading — Adding WebPack Encore and TypeScript to Grav

Creating a HoneyPot to avoid Spam in Symfony Forms

On one of the sites I have set up with a contact form there started to get quite a few automated spam messages. To avoid this I could add something like reCaptcha but first I'll try to take care of this on my own and not add more Google stuff to the page. My form was pretty simple: Based on my Message Entity: The form…

Continue reading — Creating a HoneyPot to avoid Spam in Symfony Forms

Traefik Middleware, redirect from www. to the simple URL

A lot of people are still used to a website needing to start with www. but this is not the case anymore. This has created a few issues in the past where I would deploy a site to https://my site.org but then when people would try to share the site they would mention it as https://www.my site.org. Making the site…

Continue reading — Traefik Middleware, redirect from www. to the simple URL

Quote Innovation

“Innovation is the outcome of a habit, not a random act. ” Sukant Ratnakar