I have a fairly large number of posts that are imported from other services and have no titles. My first idea to handle this was to use a custom tag and then show "untitled post" for these posts.
Unfortunately, it looks really silly on the archive page when there are several "untitled" posts in a row. My second idea to get the first X chars from the post and use that as the title, but is it possible to get the first X chars in some way?
And before anyone suggest using the name of the file, my posts are stored in folders with images and are all called "index.md" which means that I get an archive full of "index" which looks even more silly that "untitled post" ๐
The title generator should eventually fall back to using the first sentence of a post โ this sounds like it's not happening on your site โ would you be willing to share a link to it here or over email so I can look at the specifics?
Answered a year ago ยท Improve this answerWe resolved this over email โ the title generator was using the file name
Answered a year ago ยท Improve this answer