May 29, 2020

About This Site

Why I developed this site, what tools I use, and the process I follow

Goals and Intentions


The main aim of this site is to serve as a web development playground where I can practice and document what I learn. This site also advocates for open-source web development and supports the open-source community.


There are many ways to achieve a project’s goals. I believe that the best one should reflect the values of the creator. Every project needs to start with a declaration of intentions or guiding principles. The guiding principles for this site are:

1. Minimalism:

Everything we put on the site must support our goals. We will often remove what is no longer relevant (less is more). Both the code and the content will follow the DRY principle.

2. Form Follows Function:

We will favor a design that emphasizes content. Images should not be just decoration but must add value to the message. We will use mostly text, ample white space, bullets, bold and highlighted text for readability.

3. Privacy:

Visitors’ right to privacy is a primary concern. Visitors will be able to come and go as they please without being tracked. The site will be non-transactional, non-commercial, and will have no ulterior motive beyond documenting the author’s web development journey and support the open-source community.

4. Open Source:

The site must be developed with open-source tools and technologies. It must honor the original intent of the creators of the WWW: to bring people and ideas together through a free, decentralized and open system.

5. Life-Long Learning:

We are a work in progress. Websites are no different: they are always under construction. As I learn new skills I will use them to make this site better.


Static vs. Dynamic:

I decided to make the site static instead of using a database-driven tool like Wordpress. This is the simplest, fastest and most secure set up. Static sites are ideal for blogs and small-to-medium sites where content doesn’t change based on user input.

To create the site I use a static site generator, which is a program that combs through one or more folders containing content files usually written in Markdown, converts them to HTML, and places them in a special folder that you can then deploy to the open web using any web hosting service.

Static site generators can be written in any programming language. The most popular ones are JavaScript, Python, Ruby and Go.


I decided to use Hugo, a static site generator written in Go that prides itself of being the world’s fastest framework for building websites. Hugo enjoys active community support, so the likelihood of having to deal with stale dependencies in the future is very small. Of all the platforms I’ve used so far, Hugo has been the fastest and most reliable.

Look and Feel:

I chose not to use third-party themes because most of them are bloated with useless features-which would run against my minimalist approach, and because I believe that a website should reflect the style of the person creating it. That’s why I use a hand-coded CSS style sheet optimized for speed, that provides a look and feel similar to a text editor from the early days of computing.

No Analytics:

Since my aim is to respect visitors’ privacy and remain non-commercial, this site doesn’t run Google Analytics or any other tracking software. There are also no affiliate links. Links to the books I review point to the author’s page or to Indiebound, not to Amazon. This site is continuously monitored by the EFF Privacy Badger browser extension to verify no tracking tools are present.

Secure HTTPS:

The site is served over HTTPS (secure HTML) to ensure all traffic is encrypted. You may notice the lock icon next to the URL in the address bar:


The site is hosted in Github Pages: it’s easy, reliable and free, and comes with HTTPS and custom domain support. Github Pages is a great solution for static sites and personal webites. As you may know, Microsoft acquired Github in 2018. While I try to stay away from Big Tech solutions, I am making this exception because Microsoft is showing support for the open-source community. If this changes I will move my site to a virtual private server at Digital Ocean, as I’ve done in the past.

My Hugo Site Setup Process

After installing Go and Hugo I created the skeleton for a new site by going to my command line and typing:

hugo new site mysite

This command creates a folder in your computer called mysite and populates it with several other folders, the most important of which are:

  • content which holds your content files
  • layouts which holds your different page templates, and
  • static which holds static assets such as images, style sheets and JavaScript files.

Under the content folder, I created two subfolders for the two types of content I wanted to display on my site:

  • post: Things I write (blog posts, book reviews, etc.)
  • project: A portfolio of my coding projects

All content files are written in Markdown.

To control the layout I created three _default templates inside the layouts folder:

  1. single.html to display single pages (same template for blog posts, projects and notes)
  2. list.html to display any collection of posts, projects, notes, etc. I chose to display just titles and dates.
  3. li.html to display the title and date of each individual post or project.

Also in the layouts folder I created an index.html file, which contains the code for the home page of the site.

Finally, I created two partials templates: header.html and footer.html that can be called from the other templates. These two templates contain information common to all pages of the site.

That’s basically it.

When I’m adding content to the site, I run hugo server to open a development server in localhost:1313 where I can see all my changes in real time. Once I’m finished editing I simply run the command hugo, and the static files are created and placed in a public folder that I can then deploy to Github Pages using Git.


As of May 10, 2020, I am documenting all significant changes to this site in a changelog.

Closing Comments

The site’s source files are open-source. In the spirit of sharing, you may fork the repository and use the code for your site. Just add your own content and pictures.

Content licensed under CC0-1.0 | Code licensed under GNU GPLv3