Giter VIP home page Giter VIP logo

hexo-blog's Introduction

借用HexoNext搭建的个人博客,代码库放在Github Pages并绑定了自己申请的域名,欢迎来踩~

基础功能

  • 基本配置(_config.yml文件配置)
  • 设置网站icon
  • 侧边栏Home、About、Tags、Categories、Archives、Rss、links等模块
  • 底部显示建站时间和图标的修改
  • 设置第三方JS库
  • 来必力评论系统
  • 不蒜子统计访客量、文章阅读量
  • 文章字数、文章阅读时长、网站总字数
  • 站内搜索功能
  • DaoVoice在线联系

个性化功能

  • 设置字体
  • 设置代码高亮主题
  • 设置小型代码块颜色
  • 左上角的Github样式
  • 添加顶部加载条
  • 点击出现小爱心效果
  • 修改文章链接文本样式
  • 修改文章底部标签样式
  • 文章末尾统一添加“文本结束”标记
  • 版权信息
  • 文章置顶并显示置顶图标

有待完善功能

  • 打赏
  • 浮动宠物
  • 文章分享
  • SEO(搜搜索引擎优化)
  • ......

如何部署

//假如你已经配置好了node和git环境
$ git clone https://github.com/xiyoung/hexo-blog.git
$ cd hexo-blog
$ npm install
$ npm install -g hexo-cli
$ hexo server
访问:http://localhost:4000/

注意

由于来必力评论系统和DaoVoice在线联系需要到他们各自平台注册,然后生成对应的id

所以贴上二者的正确获取姿势:

  • 来必力:

    1. 登陆 来必力 注册获取,这里要注意,这个韩国的系统注册啥的真的太慢了,所以要记住不要耐不住关闭页面或者狂刷新,耐心等待就好。
    2. 注册后点击导航上边的安装,选择免费的city版本,点击现在安装后填入网站的一些信息就可以获取到安装代码,第一行div中的data-uid属性值就是你的来必力 id。
    3. 复制上边的id,在主题配置文件(/themes/_config.yml)里面搜索livere_uid,替换掉笔者的来必力id即可。另外可以点击用户头像进入管理界面个性化你的评论系统。
  • DaoVoice:

    1. 首先去注册,这里需要邀请码,贴一个5ea4435c,或者直接点击邀请码的链接。注册后就可以查看你的app_id
    2. 复制app_id,在主题配置文件(/themes/_config.yml)里面搜索daovoice_app_id,替换掉笔者的daovoice_app_id即可。具体样式设计可以在 应用设置-->聊天设置 后边改。

hexo-blog's People

Stargazers

 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.