summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/src/pages/core-concepts/collections.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/docs/src/pages/core-concepts/collections.md b/docs/src/pages/core-concepts/collections.md
index edf4cf1fa..ef209e8a4 100644
--- a/docs/src/pages/core-concepts/collections.md
+++ b/docs/src/pages/core-concepts/collections.md
@@ -245,6 +245,7 @@ export async function createCollection() {
},
rss: {
title: 'My RSS Feed',
+ // if you want a full text feed, add your markup here (e.g. item.astro.html)
description: 'Description of the feed',
// (optional) add xmlns:* properties to root element
xmlns: {
@@ -260,7 +261,10 @@ export async function createCollection() {
description: item.description,
// enforce GMT timezone (otherwise it'll be different based on where it's built)
pubDate: item.pubDate + 'Z',
- // custom data is supported here as well
+ // link is required, shows up in RSS readers
+ link: '/collection/' + item.id
+ // (optional) custom data is supported here as well
+ customData: ``<id>${Astro.site}collection/${item.id}</id>``
}),
},
};
r/1032f0ca5311ccb14485f85ac0aa1619?s=13&d=retro' width='13' height='13' alt='Gravatar' /> Jorge Aparicio 2-4/+5 2019-05-01travis: disable builds on stableGravatar Jorge Aparicio 1-6/+6 2019-05-01ci: the singleton example has been removedGravatar Jorge Aparicio 1-8/+0 2019-05-01update the bookGravatar Jorge Aparicio 8-48/+20 2019-05-01test RFC 147Gravatar Jorge Aparicio 5-0/+93 2019-05-01update compile-fail testsGravatar Jorge Aparicio 35-179/+95 2019-05-01update compile-pass testsGravatar Jorge Aparicio 10-212/+107 2019-05-01update examplesGravatar Jorge Aparicio 23-235/+159 2019-05-01implement RFCs 147 and 155, etc.Gravatar Jorge Aparicio 11-2252/+2412 This commit: - Implements RFC 147: "all functions must be safe" - Implements RFC 155: "explicit Context parameter" - Implements the pending breaking change #141: reject assign syntax in `init` (which was used to initialize late resources) - Refactors code generation to make it more readable -- there are no more random identifiers in the output -- and align it with the book description of RTFM internals. - Makes the framework hard depend on `core::mem::MaybeUninit` and thus will require nightly until that API is stabilized. - Fixes a ceiling analysis bug where the priority of the system timer was not considered in the analysis. - Shrinks the size of all the internal queues by turning `AtomicUsize` indices into `AtomicU8`s. - Removes the integration with `owned_singleton`. 2019-04-21bors: do not merge PRs labeled S-blockedGravatar Jorge Aparicio 1-1/+2 2019-04-21v0.4.3Gravatar Jorge Aparicio 4-8/+31