Generating static pages and blogs with Jekyll

Text Monster

Article from Issue 151/2013
Author(s):

Most people starting a blog will almost automatically turn to WordPress, which calls for PHP, a database, and regular security updates … and thus a lot of attention. With the small Jekyll template engine, you can avoid all that.

Even with a powerful server, it makes sense to compile an Internet site from static pages, whether to reduce load on the server for high-traffic pages or to minimize the risk of attacks.

Maintaining all the subpages by hand, however, can become a Sisyphean task. At this point, template engines can help. They generate a complete Internet site consisting of only static pages from the text content and a layout template. To change the layout of the entire site, you only need to replace the HTML template – without touching each page individually.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Table of Contents: 151

    The Nepomuk semantic desktop has matured with the KDE 4 series. We look at how you can use Nepomuk to structure information about the files, folders, and applications on your system. Then, discover Qt build tool Qmake, social media data mining, and the e-commerce services of eBay and Amazon.

  • Workspace: PivotX

    Check out this full-featured solution for your personal or business blog.

  • Perl – Security Snapshots

    When the Perlmeister is on the road, he likes to know what's going on at home. Armed with just two scripts, he draws on the Tumblr API to store snapshots cyclically from his home security camera.

  • Perl — Responsive Web Design

    Make your blog look good on both desktop monitors and modern smartphones with high-resolution graphics by adding CSS and media queries to change the layout on the fly.

  • Workspace: Raspberry Pi Server

    With the help of the applications we describe, Raspberry Pi can perform a wide range of server duties.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

News