Quantcast
Channel: [SOLVED] Eliminate xml suffix | Custom RSS URI
Browsing latest articles
Browse All 11 View Live

[SOLVED] Eliminate xml suffix | Custom RSS URI

Is there a way to hide the xml suffix from a Hugo feed? My current Tumblr feed is found at http://onedrawingperday.com/rss I have already configured my new Hugo site feed like this: [outputs] home = [...

View Article



Image may be NSFW.
Clik here to view.

[SOLVED] Eliminate xml suffix | Custom RSS URI

alexandros: [outputFormats] [outputFormats.RSS] mediatype = “application/rss” baseName = “rss” For future reference. What you can do is: [mediaTypes] [mediaTypes."application/customrss"] suffix = ""...

View Article

[SOLVED] Eliminate xml suffix | Custom RSS URI

Thank you! That is even better! Read full topic

View Article

Image may be NSFW.
Clik here to view.

[SOLVED] Eliminate xml suffix | Custom RSS URI

bep: [mediaTypes] [mediaTypes.“application/customrss”] suffix = “” delimiter = “” [outputFormats] [outputFormats.RSS] mediatype = “application/customrss” baseName = “rss” Like I said yesterday thanks...

View Article

[SOLVED] Eliminate xml suffix | Custom RSS URI

The RSS is a little special in the layouts department (I kept it this way to avoid breaking stuff), so when you redefine that output format you may end up with some surprises. What I suggest you do is...

View Article


[SOLVED] Eliminate xml suffix | Custom RSS URI

Also see https://gohugo.io/templates/output-formats/#output-formats-for-pages Read full topic

View Article

[SOLVED] Eliminate xml suffix | Custom RSS URI

Right. I understand. With the above in the site’s config.toml I was able to turn off Hugo’s internal RSS template. But no dice. The feed is not generated now at all. It gives me a 404. I cannot figure...

View Article

[SOLVED] Eliminate xml suffix | Custom RSS URI

If you have your site sourceo online, I can look at it. Read full topic

View Article


[SOLVED] Eliminate xml suffix | Custom RSS URI

Thanks @bep but I just made it! The solution was in the post of this thread: How to use the new Custom Output Formats - #5 by tutume I simply named the template list.customrss under /layouts/_default/...

View Article


[SOLVED] Eliminate xml suffix | Custom RSS URI

A final note just for aesthetic purposes. That CUSTOMRSS Output Format is a bit of an eyesore. So in config.toml I changed it to XML: [outputs] home = [ "HTML", "XML" ] [mediaTypes]...

View Article

Image may be NSFW.
Clik here to view.

[SOLVED] Eliminate xml suffix | Custom RSS URI

No I will not live with the missing xml declaration in my custom RSS feed! Naturally Go Templates showed its ugly teeth once again. As soon as I included <?xml version="1.0" encoding="utf-8"...

View Article
Browsing latest articles
Browse All 11 View Live




Latest Images