Skip to main content

Eff Pee

blog
nikola
technology
Published

May 1, 2016

Nikola Tesla Corner by nicwest, on Flickr

This is my first post using Nikola, a static website generator.

Shortly after I started at NYU I put up a website using Drupal. I created a theme based on the department’s website by reading a lot of HTML source and reverse engineering.

I wanted to make it look like the department’s site so that it wouldn’t look like I had dropped in the latest CMS with its snazzy default theme. The natural order of website theme popularity is:

  1. A site comes out with a radically different design. Everyone who reads the site likes the style and dreams of having their content look like that.
  2. Someone makes it easy to produce websites that look the same way. People’s dreams come true.
  3. There goes the neighborhood: lots of low-quality websites pop up in the same style as the new one, tarnishing the appeal of the design.

I have seen this happen with Slashdot, PHP-Nuke, WordPress, MediaWiki (i.e., Wikipedia), and more.

The trouble was that I didn’t really like the department’s website that much (I still don’t like it that much, but we have at least updated the colors and the use of CSS). So I although my plan was faithfully executed, I was dissatisfied.

The other thing I discovered was that I didn’t have a lot of time to be a website manager, let alone a database admin. I didn’t want to undertake the multistep process of backing up, downloading new code, uploading, running update scripts, etc. I was probaby leaving some security holes open because I didn’t religiously update whenvever emergench bugfixes came out.

So my energy to work on my website sputtered. Then I heard that 75% of the websites in the US use WordPress. That seems to have been a made-up statistic, but it made me think again about adopting it. I had to create a new website for a program I run, so I picked GSTEM for the CMS.

What I discovered there was that WordPress can be confusing to manage too, especially if you don’t do it that often. And, either our department throttles database traffic for small faculty websites, or WordPress is slow for my needs. So I never got around to migrating.

Finally I’ve got some impetus to work more on my website. Most of my colleagues have much better websites, and it’s not because (as they would admit, I’m sure) they know more about web programming than me. It’s that they don’t worry about it, and just put up their content.

I was also inspired by the workshop at AIM I attended last week about a document workflow for math textbooks based on XML. Having clean source and scripts to generate fancy markup was something I toyed with many years ago. I also remembered talk about Jekyll and that got me looking around for static site generators. This is how I found Nikola.

What I need from a website:

So we’ll see how it goes with Nikola. I’m going to put these pages in a temporary place and see how it works with writing. If I’m sucessful I’ll spend the summer migrating the Drupal site over to WordPress, then importing into Nikola. Hopefully by the fall I’ll having something that I won’t be embarassed about.