mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
2e362042c2
* feat(rss): add option to remove the trailing slash * Apply suggestions from code review Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> * suggestions --------- Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
303 B
303 B
@astrojs/rss |
---|
minor |
Added trailingSlash
option to control whether or not the emitted URLs should have trailing slashes.
import rss from '@astrojs/rss';
export const get = () => rss({
trailingSlash: false
});
By passing false
, the emitted links won't have trailing slashes.