Site Migration Issues and Solutions2016-01-30
After more than a decade of gathering and sharing my thoughts using a mix of wikis, Wordpress instances and other random solutions, consolidating them into a format that had long-term value, like plain text files, seemed like a great idea. Jekyll makes this easy, in large part because the content can then be easily converted to static sites that can be quickly deployed.
Here are some issues I’ve run into during this migration and the solutions I’ve found:
Dates and titles
The built-in filter converts dates to strings that using English month names, e.g. 29 Jan 2016. Given that some of the content on this site is not in English, I modified the code to make use of the more international ISO 8601 date format using these helpful directions.
Similarly, how YAML front matter variables are filtered was important since it changed the word case and stripped accented letters. I therefore need to add not only
post variables, but also
title variables where necessary.
I decide to use the Lato font family instead of the one used by the Hyde theme, PT Sans. That required including the appropriate CSS includes in the header and removing the older fonts to speed up performance. Another advantage is that Lato goes better with the vintage 1920s Art Deco logo in my opinion.
I decided to use Piwik, a free and open source web analytics solution, instead of the corporate solution. After installing it on piwik.sanfranciscan.org, I incorporated the necessary code snippet into the page fragments and config files using this as an example. These instructions did not include the
I’m looking forward to slowly consolidating the material I’ve created over the years into one place. I’m also finally using really great artwork I’ve found over the years, like the logo and the background image. It will not be a quick process, but I’m looking forward to it.