Skip to main content
All CollectionsKeystoneTemplates
Keystone: Using the blog template
Keystone: Using the blog template
Thomas K avatar
Written by Thomas K
Updated over 2 weeks ago

Blog Template Documentation

Summary

The blog template showcases a grid of blog articles, making it easy for visitors to browse and discover content. You can enhance this template by adding tag-based filtering to surface sub-categories within your blog.


Adding Simple Tag Filtering to a Blog Page

Create Metafield Definitions

  1. Open Settings and click Metafields.

  2. Click Collections.

  3. Click Add Definition.

  4. Set Name to Subtags.

  5. Set Namespace and Key to custom.subtags.

  6. Click Select Content Type and choose Single line text.

  7. Select List of values.

  8. Click Save.

Add Data to Collection Metafield

  1. Open the collection you’d like to add tag filtering to.

  2. Scroll to the Metafields area at the bottom.

  3. Enter a text value for each tag filter.

    • Note: There’s no need to include "All" as it will be the first link in the tag filtering.

    • Ensure each entry matches a tag present within your collection.

  4. Click Save.

Did this answer your question?