This is the old source code to my old academic website when I was a PhD student at McGill, which I wrote, used, and maintained for more than two years. I blogged about it here, here, and here. The idea was simple:
- write webpages in markdown and convert them to html with pandoc,
via the wrapper script
md2html-with-tracking.sh
- push all files to the McGill server with rsync, via the wrapper script
push-website.sh
- and, of course, version control everything with git
I've since migrated to Jekyll and GitHub Pages, which renders most of this code obsolete. But I'm keeping this repository up because I still think it's a simple and easy method, which others might find useful. And who knows, maybe I'll return to this method one day (for example, if Jekyll gets abandoned or GitHub Pages shuts down).
This code (e.g. css, html, Bash scripts) is licensed under a Creative Commons Attribution 4.0 International License. That means you're free to use (copy, adapt, etc.) any part of the code that you like; just make sure to link back here and to link to the license.