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

Issues With Feed Icon #416

Open
moaatt2 opened this issue Dec 7, 2024 · 2 comments
Open

Issues With Feed Icon #416

moaatt2 opened this issue Dec 7, 2024 · 2 comments

Comments

@moaatt2
Copy link

moaatt2 commented Dec 7, 2024

I am trying to test adding an icon to my feed so I added the following to my config.yaml. I am using jekyll-feed 0.17.

feed:
  icon: /assets/images/icon.png

However the generated XML (less the entries) looks like this:

<feed>
  <generator uri="https://jekyllrb.com/" version="3.9.5">Jekyll</generator>
  <link href="http://0.0.0.0:4000/feed.xml" rel="self" type="application/atom+xml"/>
  <link href="http://0.0.0.0:4000/" rel="alternate" type="text/html"/>
  <updated>2024-12-06T20:35:16-05:00</updated>
  <id>http://0.0.0.0:4000/feed.xml</id>
  <title type="html">Your awesome title</title>
  <subtitle>
  Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
  </subtitle>
  <author>
    <name>****** *****</name>
    <email>test@test.ccom</email>
  </author>
</feed>

I don't see the icon anywhere. I would greatly appreciate any help in determining what is causing this.

You can see my testing environment here.

@ashmaroli
Copy link
Member

Hello @moaatt2, this feature is part of changes that have not been released yet.
However, you may still use them right away by pointing your Gemfile to this repository:

group :jekyll_plugins do
-   gem "jekyll-feed", "~> 0.17"
+   gem "jekyll-feed", github: "jekyll/jekyll-feed"
end

@moaatt2
Copy link
Author

moaatt2 commented Dec 8, 2024

Thank you for the advice @ashmaroli, do you know if this will work for publishing with GitHub Pages using the default pages build and deployment action?

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

No branches or pull requests

2 participants