Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Special characters in heading / front matter

Started by Muut Archive 10 years ago · 2 replies · 751 views
10 years ago

How can I include a colon in the title of my article, without getting "Error: Invalid Frontmatter ....Unexpected characters..."? I have

TXT
title: "6:07am Sharp" for Orchestra

But the colon throws the error. Is there a way to escape the character?

10 years ago

The front matter is basic YAML. Those docs will explain all the various escaping options. In this case, just enclose the entire title in single quotes.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1359 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2955 9 years ago
Archive · by Muut Archive, 9 years ago
3 1121 9 years ago