Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Need help with RSS feed and images in posts #362

Closed
cx48 opened this issue Aug 7, 2024 · 2 comments
Closed

Need help with RSS feed and images in posts #362

cx48 opened this issue Aug 7, 2024 · 2 comments

Comments

@cx48
Copy link

cx48 commented Aug 7, 2024

In config.toml I have feed_icon set to true. Do I need to do something else for RSS icon and link? I want to enable RSS

Another issue I'm facing is with Images. I have added all the images in static/img in my posts I'm trying to add images using markdown which is ![Image alt](/static/img/file) How can I add images correctly? This doesn't seem to work for me

@welpo
Copy link
Owner

welpo commented Aug 7, 2024

Hello!

To enable RSS, you need to configure Zola and tabi. The only tabi setting needed is feed_icon, which you've already set.

On the Zola side, in config.toml (before the extra section), set:

generate_feeds = true

For Zola 0.19.x. If you're using Zola 0.18.x, the setting is singular:

generate_feed = true

For the images, try ![Image alt](/img/file).

The static directory is not created on build, so the parent directory is /, not /static/.

Hope that helps!

@welpo
Copy link
Owner

welpo commented Aug 7, 2024

By the way, you might find this useful: https://www.getzola.org/documentation/content/overview/#asset-colocation

Particularly if you're going to use many images/content per post.

Repository owner locked and limited conversation to collaborators Aug 8, 2024
@welpo welpo converted this issue into discussion #363 Aug 8, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants