Skip to main content

Blog-awareness

  • Chapter
  • First Online:
Creating Blogs with Jekyll
  • 928 Accesses

Abstract

We have talked about a lot of concepts pertaining to Jekyll in the previous chapters, but all of them were presented in an isolated manner. In this chapter, we go through a simple Jekyll theme to learn how those ideas come together to create a static web site. A very in-depth overview of the code used in the theme along with helpful comments to understand that code are provided here. Our discussion is focused on blog-awareness, which is also the central theme of this chapter. This is the idea that Jekyll has built-in support for features that are needed in a blog such as permalinks, categories, pages, and custom layouts. In addition, these simple features can be further customized and configured in a number of ways to support new ideas. Being blog-aware makes it easier to add new features to Jekyll and inherit the same rules or layouts that apply to the rest of your blog. New pages or posts can be added seamlessly and they still follow the same fundamental rules and conventions. We show how a theme takes advantage of blog-awareness and more important, how this property makes Jekyll themes modular. This modularity, along with the theme configuration, allows for us to reycle working code and reuse it in different parts of a project. We spend the majority of our time in this chapter talking about how to download a Jekyll theme, how to extract it, and how to get ready to start editing. Finally, we methodically go through each file in a code editor and explain how the code works.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2016 Vikram Dhillon

About this chapter

Cite this chapter

Dhillon, V. (2016). Blog-awareness. In: Creating Blogs with Jekyll. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-1464-0_7

Download citation

Publish with us

Policies and ethics