setFeedTemplate

Function

Sets the feed template for a given feed format and version. Always use this function to update feed templates rather than interacting with the feeds configuration object directly.

Parameters

Parameter Type Default Notes
opts Required ISetFeedTemplateOptions

Returns

a new feeds configuration object with the updated template

Record<stringany>

Function defined in common/src/sites/feeds/setFeedTemplate.ts:21