Skip to content

Bad date error reporting for frontmatters is inscrutable. #782

Open
@artemislena

Description

@artemislena

Given the following file as a post or page:

---
layout: default.liquid

title: Test
permalink: /2020/07
published_date: 2020-07-24
---
#Test!

This is a test. Lorem Ipsum Dolor Sit Amet.

cobalt build returns
Error: build command failed Info: caused by Failed to parse posts/2020/07/testpost.md Info: caused by premature end of input at line 1 column 7. Strangely, when copying the default post-1.md into said file and changing it so it is basically the same, it doesn't show this behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugNot as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions