SEP 24: Case of frontmatter keys
Document frontmatter (explicit metadata) keys are currently written in lowercase (see Appendix: Lowercase below). Iām considering switching to uppercase keys (see Appendix: Uppercase for an example). The rationale is simply that when referencing keys in code/templates this would have the same visual effect as camelCasing ie, making the code easier to visually parse.
Appendix: Lowercase
uid: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXXXXX
title: A example document for this site
creator: Silas Jelley
created: 2021-08-31 21:39:46
updated: 2021-08-31 21:39:46
available: 2022-04-21 06:25:20
location: Nelson, New Zealand
slug: example
tags:
- meta
Appendix: Uppercase
UUID: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXXXXXX
Title: A example document for this site
Authors: Silas Jelley
Created: 2021-08-31 21:39:46
Updated: 2021-08-31 21:39:46
Published: 2022-04-21 06:25:20
Location: Nelson, New Zealand
Slug: example
Tags:
- meta