tundra.sh
is written in shell and depends only on pandoc
pandoc
on unix-like systemsThis readme | Blog index | Blog post | Static page
Built and tested on Debian 10. To get the demo page up:
git clone https://github.com/frainfreeze/tundra.git
chmod a+rx ./tundra.sh
./tundra.sh -b && xdg-open index.html
NOTE: If you want to use this script on *BSD or macOS, please make sure you have the GNU implementation of
awk
andsed
installed.
There are two types of configuration: per project and per page. Per project: on top of tundra.sh
are configuration variables. You can use them to change page theme, markdown flavor etc.
Per page: pandoc
supports YAML blocks, this is self-explanatory example:
I recommend you to keep the block on the top of the file. See pandoc documentation for more details.
To change index page simply edit this readme or configure tundra.sh
to point at your index.md file. See configuration above. You can also use the --index
option to give a file to be used (defaults to README.md
).
To make new blog posts add source files to posts folder.
Run ./tundra.sh -h
to see available options.
Public domain.