Skip to content

valantonini/wintersmith-feed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wintersmith-feed

Build Status npm npm

An rss feed generator for Wintersmith

Requires wintersmith-contents and typogr

npm install wintersmith-contents --save
npm install typogr --save
npm install wintersmith-feed --save
{
  "plugins": [
    "wintersmith-contents",
    "wintersmith-feed"
  ]
}

add to the require section in wintersmith's configuration file

{
  "require": {
    "typogr": "typogr"
  }
}

articles location can be configured in config.json. by default, it will use locals.name and locals.description for title and description respectively. Those can be overridden in the feed config.

{
  "feed": {
    "articles": "posts",
    "title": "my blog",
    "description": "software engineer"
  }
}

don't forget the meta tag in your layout for autodiscovery

link(rel='alternate', type='application/rss+xml', title='RSS Feed for my blog', href='/feed.xml')

About

RSS feed generator plugin for wintersmith

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published