A few weeks ago I decided to finally upgrade my 10+ year old website. Initially I planned to use a content management system (CMS) but eventually had to realize that this wouldn’t work with my current web-server due to technical difficulties. The PHP memory limit is set so low on the provider side that I wasn’t able to install a CMS.
The Solution - Static Site Generators (SSG)
In recent years static site generators have become more popular. And they have some benefits over a CMS which convinced me to go that route.
What is a static site generators and how does it work?
The basic idea: You create a traditional website template with HTML and CSS and put SSG variables in place of the content such as text, titles and images. Then you put the actual content in simple markdown or json files. Finally you run the SSG via command line and it automatically combines template and raw content files into static html pages.
Some of the benefits:
- Hosted anywhere. Meaning you can use GitHub to host your website for free and super reliable.
- Fast, the pages don’t have to be rendered, no database requests.
- Secure, again there’s just static pages without logins and databases
- Easy to backup and move from one place to another
Of course there are downsides with static pages but for a portfolio and blogs the benefits outweigh these.
Where to get a Static Site Generators?
There are many open source options available. The most popular one is Jekyll, written in Ruby and works great with GitHub pages. After some research I decided to use Hugo, which is written in Google’s Go Language, and seemed a bit faster, slicker and more modern than the other options. If you don’t want to get too much into the whole web development aspect, for all the SSGs there’s many free templates including example sites available. But don’t take my word and do your own research!
Tested my old macro rings on the new camera. The snow was just melting and I tried to catch some melting snow droplets. The shot with the water droplets on top of the leaf was set up inside with distilled water.
The perfect place to test your photography equipment. Don’t panic when the lens fogs up for the first few minutes, especially on a cold winter day. Just wait a bit and it’ll recover. Great playground to practice and improve your photography skills.
Winter trips around Switzerland.
Various photos from trips around Australia.
Sydney at Night Once a year there’s the festival of lights in Sydney including projections onto the Opera House and other buildings.
Before moving from Singapore to Australia I made a short trip to Hong Kong.
Chinese New Year 2012 The rain help with reflections on the street.