O'Reilly logo

Web Development Recipes, 2nd Edition by Chris Johnson, Mike Weber, Chris Warren, Brian P. Hogan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Recipe 29Creating a Simple Blog with Enfield

Problem

We want to create a blog, but our server resources are limited. We don’t have access to a database, and we aren’t able to run PHP code. This makes solutions such as WordPress and Drupal impossible. We need a way to build a blog that’s easy to manage and works around these barriers.

Ingredients

Solution

To build a blog that doesn’t require a database, we’ll use a static-site generator—a tool that helps us build static sites quickly by reusing layout code. One of the more popular static-site generators, Jekyll,[76] is designed around creating blogs. Jekyll is powerful and easy to use, but it requires the Ruby programming language, which can be difficult to install. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required