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

KnP: fix publish FrozenError #187

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

khangpn
Copy link

@khangpn khangpn commented Jul 11, 2020

Hello,

I have just started using Octopress for my new Jekyll blog and I got

titlecase.rb:34:in `replace': can't modify frozen String: "" (FrozenError)

on publish a draft.
I went through the source code and I found that on converting a draft to post parse_template is called before Post::read_post_yaml. That's why the @options['title'] is empty and consequently caused the FrozenError.
I hope this helps.

Thank you!

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.

None yet

2 participants