This project contains the source, configuration, et c. use with Jekyll to generate glitchwrks.com. The Jekyll site is completely static, but does make use of several dynamic projects:
- site_services -- Sinatra app that provides hit counter services
- rails_services -- Rails app that provides many dynamic functions, such as the contact form
There are a number of custom plugins found in the _plugins directory. These include:
codeblock
formats blocks of source code, extends Jekyll's built-inhighlight
blocktextblock
formats blocks of fixed width plaintextcounter
generates a JavaScript include for counters from site_services -- Sinatra app that provides hit counter servicesdanger
generates an attention-getting notice on the pagelinked_image
places one or more image thumbnails on the page, with links to high-res versionscontact
puts a contact form link in, defaulting to "contact us" for link text
See some of the files in the _posts directory for the usage of these plugins.
This is the short shell script that uses rsync
to keep glitchwrks.com updated with the code Jekyll generates. It should work with most UNIX-like operating systems, and currently deploys to an OpenBSD machine.
I mostly use this project under Slackware Linux 14.2 with RVM for Ruby version management and bundler for gemset management. Current development Ruby is MRI 2.3.1p112
.
Since the generated site is static, none of the development dependencies are required on the production server.