xdeb.org

Posts

My Zen Hugo theme now uses css grid

I have released the css grid version of my Zen theme for Hugo. This site have been using it for a couple of month. Read more at Layout with CSS grid and flex, it’s really nice. With the resent release of Microsoft Edge 16 there is support for css grid in all the major browsers.

Take control of my own attention

I like to be in control of most aspects of my own life. I want to make conscious decision on what I spend my attention on. Companies, services, media and gadgets compete for our attention, it even have a name the attention economy.

Layout with CSS grid and flex, it's really nice

This site is now using CSS grid layout and it’s a real pleasure to work with. This is part of the Zen Hugo theme and you find the code at frjo/hugo-theme-zen at grid. CSS grid is supported in resent versions of Chrome, Firefox and Safari.

A HTML5+PHP+JavaScript contact form with spam protection

Setting out to create a simple contact form turned out to involve more work than I anticipated. I need it for one of my new static sites. The examples I found was to old, lacking spam protection and/or relied on multiple/large libraries.

Make Hugo generate a JSON search index and JSON Feed

Hugo introduced custom output formats in version 0.20 and here I will be using it to generate two different JSON outputs for my site. First a search index that can be used with various search solutions. Second a JSON Feed, a new alternative for RSS feeds.

Security camera with Raspberry Pi

Some tulips eating animals gave rise to the need of a security camera system. One could have bought a ready made system but that’s boring and as recent events show, their security is often abysmal. Much better to build my own system and I have been mening to play with the Raspberry Pi computers.

Migrating xdeb.org from Drupal to Hugo

xdeb.org is now generated with Hugo, the static site generator that I wrote about in my last post Using Hugo for a simple web site and porting the Drupal Zen theme. One less Drupal site to keep updated. Now it’s “only” the content I need to add and update here.

Using Hugo for a simple web site and porting the Drupal Zen theme

A couple of years ago static web site generators was the next big thing. I have been meaning to try one out and last week I had the opportunity. I went to Top Open-Source Static Site Generators - StaticGen to see what the options where nowadays.

My first 2 minutes on a server - letting Ansible do the work

After reading articles like My First 5 Minutes On A Server by Bryan Kennedy and My First 10 Minutes On a Server by Cody Littlewood I was inspired to write up how I setup a new server. There are no special tricks in the way I setup servers to make them secure.