Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Friendly display of article having a damaged "front matter" #71

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

thenrio
Copy link

@thenrio thenrio commented Jan 24, 2011

Hello !

Having a damaged file under /articles prevents site from displaying '/'

TypeError at /
can't convert String into Hash

Damaged?

By damaged, I mean front matter does not parse to Hash using YAML.load

(I had a quick search on ticket 'convert' keyword, and did not find)

So here is a topic branch for this functionality

Why do I think it is useful ?

One mistake means no site

I made a demo with such an article ... (git checkout saved me after 30s of bewilderment)

What may be better ?

reduce list of article to undamaged articles (ignore damaged article)

Cheers

@ixti
Copy link

ixti commented Aug 10, 2011

That's a great proposal I think. The only I would like to see is more obvious method names and error messages
thenrio@3903d57#commitcomment-523641

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants