GithubHelp home page GithubHelp logo

fan's Introduction

Fan

这是一个深色主题,如梦幻般的星空,群星闪烁。

Preview

安装

git clone https://github.com/fan-lv/Fan.git themes/Fan

修改位于博客根目录下的_config.yml内的theme选项值为Fan

更新

cd themes/Fan
git pull

需要的依赖包

  • hexo-renderer-jade
  • hexo-renderer-stylus

问题

  • 如果报错 appId undefined,需要把 themes->_config.yml 中 algolia_search:enable 改成 false

说明

文章置顶

支持文章置顶功能,在需要置顶的文章(Markdown 文件)加入 top: 1,数值越大越靠前。

如:

title: xxx
author: xxx
tags:
  - xxx
categories:
  - xxx
date: xxx
top: 1

评论功能

目前支持 Gitment 评论。

使用方法:

  1. 在 config 文件中加入以下代码
    comments:
      gitment:
        owner: 'Your GitHub ID'
        repo: 'The repository to store your comments. Make sure you're repo's owner'
        client_id: 'GitHub client ID'
        client_secret: 'GitHub client secret'
    
  2. themes->_config.yml 中可以开启或关闭 comments
    # 评论
    comments:
        enable: true
    

License

MIT

fan's People

Contributors

fan-lv avatar

Watchers

 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.