kekePower

Having fun scripting and hacking Linux and Mageia

Generate - a ZSH script


Introduction

My Generate script is the engine behind this website. It creates everything based on templates.
It's not the prettiest layout or the prettiest hack, but it works for me although is still contains a few bugs that I have to work out.
It creates a set of static HTML files and this makes it a lot faster and more secure to serve compared to a full fledged CMS like, for example, Wordpress.

Now, I was thinking about sharing with you how all of this works, how the layout works and how you, too, can create your own website.


The first thing you need to do is to find a suitable layout template for your site. I googled free website templates and a lot of sites showed up.

The site is composed of 3 parts:
  1. The header
  2. The body or the content
  3. The footer


To view an example, you can type CTRL-u to see the source of this page.

Other things

Placeholder for other things