diff options
| author | Doge <guiqiqi187@gmail.com> | 2021-05-11 03:30:08 +0800 | 
|---|---|---|
| committer | Doge <guiqiqi187@gmail.com> | 2021-05-11 03:30:08 +0800 | 
| commit | 8467083fdbc412e6c26b78a1e39b8d5b0356731b (patch) | |
| tree | a909a60faee7e46e83bf34362059d1e6f669e116 | |
| parent | 7343913f7d05e1c15d6e8fe1a78b0b481247b1ab (diff) | |
| download | chromate-8467083fdbc412e6c26b78a1e39b8d5b0356731b.tar.gz chromate-8467083fdbc412e6c26b78a1e39b8d5b0356731b.tar.bz2 chromate-8467083fdbc412e6c26b78a1e39b8d5b0356731b.zip | |
More enhancement for auto rss generator
| -rw-r--r-- | _config.yml | 4 | ||||
| -rw-r--r-- | readme.md | 5 | ||||
| -rw-r--r-- | scripts/feed.js | 1 | 
3 files changed, 7 insertions, 3 deletions
| diff --git a/_config.yml b/_config.yml index 1015b30..defe9bf 100644 --- a/_config.yml +++ b/_config.yml @@ -10,13 +10,13 @@ highlight:  navbar:    - ['mailto:privet@utc3.live', 'fa fa-paper-plane']    - ['https://github.com/guiqiqi/chromate', 'fa fa-github'] -  - ['/feed/', 'fa fa-rss'] +  - ['/feed.rss', 'fa fa-rss']  menubar:    - ['/about/', '关于']    - ['/archives/', '归档']  rss:    enable: true -  path: '/feed/' +  path: '/feed.rss'    config:      email: 'privet@utc3.live'      category: Education @@ -8,4 +8,9 @@ It has the following feature:  - Support for Podcasts: Without too much configuration, you can easily publish a Podcast.  - Dark mode support: Dark mode browsing on most browsers/operating systems. +If you want to open support for auto generating rss with podcasts, please install a plugin manually: +``` +npm install podcast --save +``` +  It is still under development. diff --git a/scripts/feed.js b/scripts/feed.js index f60ed90..943dd79 100644 --- a/scripts/feed.js +++ b/scripts/feed.js @@ -1,6 +1,5 @@  'use strict'; -const xml = require("xml");  const podcast = require("podcast");  hexo.extend.generator.register("feed", (locals) => { | 
