question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Prose is mucking up YAML front-matter

See original GitHub issue

Every time I try to change one of my posts now, prose.io does three things, all of which cause trouble:

  1. published is coerced into a list.
  2. Prose’s publish button doesn’t change published to true, but rather adds "false" (with the quotes) to the newly-created list.
  3. The dates go from whatever they were before to {}.

Here is the “Revew your changes” view when I click the publish button on an unpublished post with no body, and then click the save button:

http://cl.ly/image/3m2R3E3K2k2C

Here’s the actual post:

https://raw.github.com/crucornell/crucornell.github.com/master/_posts/2012-08-15-blog.md

I actually don’t have to publish posts to get published coerced into a list and the date mangled - if I just open it up and click save it will do it.

Is anyone else getting this?

Issue Analytics

  • State:open
  • Created 10 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jarantacommented, Feb 4, 2016

Also experiencing this. Especially the date-mangling was problematic, since an invalid date will stop a previously working page from building in Jekyll.

0reactions
habicommented, Nov 15, 2017

Any update on this? Prose.io still removes the date when I edit a post, which then leads to a build error (…does not have a valid date in the YAML front matter). This is quite annoying…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Yaml frontmatter not parsing as documented - Stack Overflow
First your test.html file move to resources folder now follow this code $document = YamlFrontMatter::parseFile(resource_path('test.html')); ...
Read more >
Articles by Yaml Frontmatter's Profile | Medium Journalist | Muck Rack
Find Yaml Frontmatter's email address, contact information, LinkedIn, Twitter, other social media and ... Introducing Prose: A Content Editor for GitHub.
Read more >
Building a static website with Jekyll and GitHub Pages
Setting up Jekyll; Running a website locally. Mini cheatsheet. Tweaking the settings. Basic site settings via _config.yml; Where (and what) ...
Read more >
YAML Frontmatter - Zettlr Docs
Like Pandoc, Zettlr supports YAML frontmatters for your Markdown files. A YAML frontmatter is a series of meta variables that can be defined...
Read more >
https://docs.lib.purdue.edu/context/lib_fsdocs/art...
The HTML pages that make up a static site can be completely written by hand, ... characters from being saved in the file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found