Why use Jekyll for your website?
As a web developer (or not) building websites is easy. The thing is once you create a website that’s just the start of the project NOT the end. The technology you choose to build your website should be based on a variety of diffrent factors. One important consideration should always be trying to reduce effort. The problem with websites lie in maintaining many websites. When the number of sites you manages is in the dozens or hundreds this maintenance becomes a burden. This is where using a static site generator like Jekyll can help you.
Many devlopers use open source software like Drupal, WordPress, Joomla, TYPO3, etc. If your website is powered by one of these technologies you’ll have to regularly apply updates and/or security patches. While there are solutions like Pagely’s automatic updates of WordPress nothing is fool proof (i.e. updates could break custom code thus causing rework of existing functionality). Jekyll doesn’t require regular codebase updates or security patches because your website is generated and output as HTML and CSS.
Hosting is another common issue with websites. While most hosting is relatively inexpensive, it can be a pain to deal with the complexity from different hosting environments and regardless it’s an added responsiblity. Jekyll has an advantage here in its simplicity. GitHub Pages are powered by Jekyll, so you can easily deploy your site using GitHub. Additionally, you can use a custom domain name. Also, there are intergrations with Github and hosting providers like Digital ocean.
Jekyll isn’t perfect and you’ll have to assess the needs of your project and post project maintenance. However, it’s something to consider if you need to create mostly static sites, brochure sites or simple blogs. You can create a blog with featurees like permalinks and categories or leverage custom layouts in your static or brochure websites. Jekyll does have some quirks like it requires blog post files to be named according to the following format:
However, you can be clever and refine the Jekyll permalink for a friendly URL structure to help with SEO or elminate the need for 301 redirects. Nevertheless, Jekyll requires very little effort and is simple to use. Easy to write markup goes in and static sites come out waiting to be deployed.