Quantcast
Channel: Creating a single-purpose RSS feed
Viewing all articles
Browse latest Browse all 8

Creating a single-purpose RSS feed

$
0
0

Thank you! Let me check if I understand. I’ll focus just on the penguins feed as an example. If I can get this working I’m sure I can do the other one too. I’ll take the following steps:

  1. Create content/penguins.md with the following contents:

    date: 2018-03-19
    layout: penguins
    outputs:
    - rss
  2. Create layouts/penguins/list.xml with contents like the following:
    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> ... {{ range first 20 .Site.Menus.penguins }} ...

But how do I get Hugo to render this single page penguins.md with the list layout template? I’m not sure about that.

Read full topic


Viewing all articles
Browse latest Browse all 8

Trending Articles