GithubHelp home page GithubHelp logo

bafdfgit / hexo-douban Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mythsman/hexo-douban

0.0 0.0 0.0 420 KB

A simple plugin for hexo that helps us generate pages for douban books and movies.

License: MIT License

JavaScript 48.27% HTML 51.73%

hexo-douban's Introduction

hexo-douban

douban plugin for Hexo.

npm Build Status Coverage Status NPM version npm Package quality

Installation

$ npm install hexo-douban --save

Options

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.

Show

If all the above is done , you can now check http://yourblog/books and http://yourblog/movies , and you will see the result.

Menu

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

Screenshot

We just test the plugin in the following themes.

hexo-theme-landscape

landscape

hexo-theme-next

next

hexo-theme-yilia

yilia

hexo-theme-indigo

indigo

Online demo

books

movies

Lisense

MIT

hexo-douban's People

Contributors

forvoid avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.