• Skip to primary navigation
  • Skip to main content
  • Skip to footer

lawsie

The long-term storage silo of a human mind

  • Andrew Culture
  • Beat Motel Podcast
  • Observations
  • Consumer Info
  • Tech
  • Music Consumption
  • Musician Stuff
  • Graveyard
  • Buy me a pint
Home » blog » Using multiple words in Jekyll category names

Using multiple words in Jekyll category names

Published February 23, 2018 by lawsie Leave a Comment

How to use multiple words in Jekyll categories

If you are using categories in your Jekyll front matter then it’s incredibly useful to be able to use multiple words. By default Jekyll will treat multiple words with spaces between them as different keywords. For example this post would be assigned two categories: troubleshooting and Jekyll. If you’re using a category archive plugin this splitting causes problems.

The answer is blissfully simple. All you need to do is wrap multiple word category names in square brackets.

For example, this post is in the [Troubleshooting Jekyll] category.

Last Updated on February 23, 2023

Filed Under: jekyll Tagged With: jekyll, Troubleshooting Jekyll

Have you found this content useful?

Buy me a pint

This website isn't packed with obnoxious advertising but it does cost money to keep alive. Every little donation is a big help!

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Footer

Copyright © 2023 · Site wholly owned by Andrew Laws Associates Ltd | SEO by Yeseo

  • Home
  • About me
  • Andrew Culture
  • Buy me a pint
  • Privacy Policy
  • Contact me