Hey! This really piqued my interest, could you explain more about the makefile part of this? I currently use Pandoc to convert a folder of .MD files into .HTML files with the same name, and have begun modifying the templates and making use of the YAML metadata you can add. I really like working with markdown like this, and it's perfect for Git.
It's pretty similar to your shell script but builds are incremental with no extra work. I went with awk for index generation and metadata. There's still plenty of room for improvement but it does most of what I want.
Here's an example of the kind of build script I use currently: https://github.com/tomhodgins/responsive.style/blob/master/s...
How would you build the contents of the /src folder with pandoc and your makefile?
Edit: for those looking for an example of the result of one of my Markdown -> Pandoc -> Git -> Static Hosting workflows, check out this page:
- Static HTML: https://responsive.style/techniques/child-element
- Markdown Source: https://raw.githubusercontent.com/tomhodgins/responsive.styl...