Skip to main content

Front Matter

·104 words·1 min

Here is an example of the front matter used across the site.

  • tags adds the tags on articles
  • featured will add the article to the featured section of the homepage
  • draft will hide the article from the homepage
  • heroStyle will change the way an image is displayed at the top of the article. Options are basic, big, background, thumbAndBackground

Here’s an example for the photo shortcode:

---
title: photo shortcode
summary: how to use the photo shortcode
date: 2025-10-01
tags:
  - dev
  - about
  - shortcodes
showHero: true
heroStyle: big # background
showAuthor: true
showAuthorsBadges: true
authors:
  - "andrew"
featured: false
draft: false
---
Author
Andrew Wyllie
Systems and Network Programming