Now ssg5 uses lowdown or markdown.pl by default to convert markdownfiles to html files. For that you can install lowdown. But I am a pandocuser already, so I modified the script to use pandoc, more on itlater.
I have been using pandoc for quite a while in order to make notesfrom markdown. So I modified the ssg5 script to use pandoc instead oflowdown or markdown.pl to generate html from md files. It is very simpleactually. The pandoc command is basically
I integrated a very simple script in the ssg5 script in order toimplement the pagination feature. The post list was generated and sortedby vim as discussed above. Then using simple bash commands likeawk, head and cat, The index pagewas divided with a specified number of posts per page. The code usedis
I do not use most of the features of jekyll and needed something more minimal.In the past, I have dabbled with werc, hugo, and guile-haunt.Eventually, I stumbled upon ssg5 which is a static site generator written in 180 lines of posix compliant shell.If you do not use markdown, ssg5 will only use unix coreutils to make your website with a common header and footer.Perfect!
To generate my rss feed, I use rssg.However, rssg requires a list of posts on the homepage.Unfortunately, ssg5 does not generate a list of posts and I had to hack together blogfeed.sh.Here is the output from blogfeed.sh: