blmayer@~ $ cat meta

content/ meta whoami

About this site

This website is generated using some thicks I find interesting, for example, in the index page the tree is created using a shell command, namely tree. The funny part is that this code is actually part of the HTML file, and the command is run on the build process. For some commands I included it before the output, for fun.

The main thing here is the template.sh script that injects shell commands directly into the file, so I can use simple programs to help creating the content. Do not use it in production, it is not secure, but fine for this simple website that I have control.

This shell script also can be found on my github:

template.sh

I hope you find this interesting, if so take a look at the source code on my GitHub account.


Here's an example:

blmayer@~ $ fortune | cowsay -W 32

 ________________________________
/ You worry too much about your  \
| job. Stop it. You are not paid |
\ enough to worry.               /
 --------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||