douban plugin for Hexo.
$ npm install hexo-douban --save
You should copy the following text to the bottom of _config.yml
of your blog.
douban:
user: mythsman
book:
title: 'This is my book title'
quote: 'This is my book quote'
movie:
title: 'This is my movie title'
quote: 'This is my movie quote'
- user: Your douban Id . You can see it from the url of your douban homepage.For example, you should click on your "个人主页" and you can see your id from the url "https://www.douban.com/people/xxxxxx/".
- title: Your title in that page.
- quote: Your quote in that page.
If all the above is done , you can now check http://yourblog/books
and http://yourblog/movies
, and you will see the result.
If all the above is done , you can add them to the _config.yml
of your theme like this:
menu:
Home: /
Archives: /archives
Books: /books #This is your books page
Movies: /movies #This is your movies page
We just test the plugin in the following themes.
MIT