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

title: blank interacts badly with jekyll-feed, etc. #2923

Open
2 tasks done
sim642 opened this issue Dec 29, 2024 · 5 comments
Open
2 tasks done

title: blank interacts badly with jekyll-feed, etc. #2923

sim642 opened this issue Dec 29, 2024 · 5 comments
Labels

Comments

@sim642
Copy link
Contributor

sim642 commented Dec 29, 2024

Have you checked that your issue isn't already filed?

  • I read through FAQ and searched through the past issues, none of which addressed my issue.
  • Yes, I have checked that this issue isn't already filed.

Bug description

If title: blank is used, then RSS feed from jekyll-feed literally has "blank" as title.

How to reproduce the bug

See https://alshedivat.github.io/al-folio/feed.xml.

al-folio's default behavior is to explicitly construct a different title for the header with title: blank:

title: blank # the website title (if blank, full name will be used instead)

But no other jekyll plugin knows this and literally uses "blank" as the title.

Error messages and logs

No response

What operating system are you using?

Linux, Not applicable (e.g. you're using GitHub Pages or other hosting)

Where are you seeing the problem on?

Running locally without Docker, Deployed site

More info

No response

@sim642 sim642 added the bug label Dec 29, 2024
@george-gca
Copy link
Collaborator

The only solution to this that I can think of would be to manually set the title. Do you have any suggestion?

@sim642
Copy link
Contributor Author

sim642 commented Dec 30, 2024

I don't have a solution. The current blank is special because it also makes the first name bold, which a manually set title wouldn't. Maybe HTML is allowed in the title field, but I'm also not sure if plugins like jekyll-feed like that either.

@george-gca
Copy link
Collaborator

How does the plugins handle if the title is empty?

@sim642
Copy link
Contributor Author

sim642 commented Jan 9, 2025

I haven't checked, but what's for sure is that they won't compose the various name component fields like al-folio does for the header and <title>.

jekyll-feed also supports the name field as an alternative, so it might be possible to work around with name: Full Name also added to the configuration.
Not sure if any other plugins also use the title field or offer such alternatives.

@george-gca
Copy link
Collaborator

Can you check also how the plugins handle if the title have html, like <strong>? If the plugin handles well, switching to use html might be a solution.

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

No branches or pull requests

2 participants