6895f30ff3
Pandoc (and some other tools) have decided to end their YAML frontmatter with `...` instead of `---`. In the name of flexibility, this patch allows either to mark the end of YAML frontmatter. Example: ``` --- title: No place like home ... ```
13 lines
257 B
Text
13 lines
257 B
Text
---
|
|
layout: false
|
|
title: Pandoc likes trailing dots...
|
|
dotty_string: "..."
|
|
famous_quote: To be or not to be
|
|
popular_number: 42
|
|
...
|
|
|
|
# This is a document
|
|
|
|
<%= current_page.data.famous_quote %>
|
|
|
|
The meaning of life is <%= current_page.data.popular_number %>.
|