-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
[Bug] weblog.lol: titleless post pseudo-title generation #630
Comments
Edited OP because the bug here might be different than originally described. |
I think I have it where it should be now, but please let me know how things look on your end. Prior to the adjustment just now, I had it set to only look at the first paragraph for some reason. I updated this to factor in the entire post, and I think this is providing the ideal results — but let me know what you think! |
It is working, yep. Thanks. One stray bug: it's smooshing the first and second words together. You can see that in the slug here. |
Oh wait. Weirder bug. See the tag page. I am not sure what's happening there, really. |
I think this is finally sorted out the way it should be. Let me know if you’re still seeing anything weird, though! |
Only remaining weird thing (autocorrect: word thigh) is the |
Doh. Scratch that. Rebuild got rid of that. |
Bug Description
Not sure if this is a bug, per se, or a request to change the behavior. The titleless post process seems to be generating its pseudo-titles and slugs just from the first paragraph of the post body. Personally, I think the function should continue until it hits the value of the
Titleless title length:
setting.ETA: This might be a different bug. The posts I'm seeing this happen on are posts where my first sentence is a single word followed by a colon. And they are being treated as if the word and colon are the title, because I have them in my
Excerpt:
front matter.For example:
Steps to Reproduce
Post a titleless blog post with a first paragraph of just one word, followed by a blockquote, get a pseudo-title and slug of one word.
The text was updated successfully, but these errors were encountered: