Giter VIP home page Giter VIP logo

hexo-theme-jane's Introduction

hexo-theme-jane

关于

这是一个极其简单的 hexo 主题,甚至说,她是不及格的。这完全是按照我自己的需求和想法来设计的一个主题,没有太多的功能,例如,没有搜索功能,没有海贼王和火影忍者,没有分享,也没有脸书和推特。因为,我只希望这仅仅是一个给自己记录文字的地方,所以,没有太多花俏的功能!

如果您也喜欢这样,欢迎您使用的我的主题!

安装

git clone https://github.com/hejianxian/hexo-theme-jane.git themes/jane

然后配置根目录的_config.yml文件(并非theme里的那个)

theme: jane

若要作为git子模块安装

git submodule add https://github.com/hejianxian/hexo-theme-jane.git themes/jane

关于git子模块

关于评论

新的 jane 主题使用了 gitment 评论系统,具体操作请看这里,若有任何问题,欢迎提 issue。

如果注册 OAuth App 成功后,需要修改主题文件,找到layout/_partial/article.ejs,拉到最底下:

// 请在这里正确地设置信息
var gitment = new Gitment({
  owner: '你的 github account',
  repo: '接收 issue 的仓库,这里只需要仓库名字',
  oauth: {
    client_id: '创建 oauth 成功后的 client_id',
    client_secret: '创建 oauth 成功后的 client_secret',
  },
})
gitment.render('comments')

编辑后,重新编译并发布即可看到效果。

tags

因为tags是单独一个页面展示,所以需要手动添加,输入以下命令就可以了

hexo new page tags

更新

cd themes/jane
git pull

License

MIT

hexo-theme-jane's People

Contributors

alex-fun avatar hejianxian avatar kvzl avatar maxujie avatar peakchen90 avatar stonecypher avatar thiswind 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.