kaushalmodi / hugo-atom-feed

Hugo theme component for ATOM feed custom Output Format
GNU General Public License v3.0
39 stars 13 forks source link

Queries related to Feedly #21

Open ajeetraina opened 3 years ago

ajeetraina commented 3 years ago

@kaushalmodi I have a Feedly link https://feedly.com/f/XXXXXX.atom which I want to put in one of the child pages. I followed your steps:

Clone this repo to /themes/hugo-atom-feed directory.

Now I have 2 themes:

 $ls
docsy       hugo-atom-feed

Modify config.toml

Hugo allows theme composition (and inheritance). The precedence is from left to right.
theme = ["hugo-atom-feed", "docsy"]

I didn't understand your 3rd step.

Add “ATOM” to all the Page Kinds for which you want to create ATOM feeds:

Where do I need to add this exactly?

kaushalmodi commented 3 years ago

Hugo will publish only what you specify for each page Kind. Just defining the template wouldn't automatically enable it. Did the steps work for you?

kaushalmodi commented 3 years ago

If it helps understand this better, Hugo enables HTML and few other types by default for all Kinds.

kaushalmodi commented 3 years ago

Where do I need to add this exactly?

In your site's config.toml

kaushalmodi commented 3 years ago

Check out the Hugo docs: https://gohugo.io/templates/output-formats/#output-formats-for-pages