hexo-theme-believe version2.0 说明文档
来源:互联网 发布:idc数据机房 编辑:程序博客网 时间:2024/06/07 07:57
hexo-theme-believe
这个主题取名believe.希望选用这个主题的人永远相信美好的事情即将发生。
A simple theme for Hexo named believe. :point_right: Demo :point_left:
Version 2.1
- 加入不蒜子统计
- add 项目页
Version 2.0
- add cover-header
- add photos page
- fixed bugs
ScreenShot
Usage
In the
root
directory:$ git clone https://github.com/th720309/hexo-theme-believe.git$ npm install --save hexo-renderer-sass
Change the
theme
property in theconfig.yml
file.# theme: landscapetheme: hexo-theme-believe
Run:
hexo server
Configuration
# basictitle: believesubtitle: 笔直向前,说到做到favicon: /favicon.ico#logologo: http://oct3pmpde.bkt.clouddn.com/timg.jpg# duoshuo-commentduoshuo_shortname: highlight: enable: true line_number: false auto_detect: false tab_replace:# nav #nav: - id: 首页 url: . icon: home - id: 归档 url: archives icon: archive - id: 关于 url: about icon: user - id: 项目 url: project icon: folder-open - id: 相册 url: photo icon: photo - id: 留言 url: guestbook icon: edit - id: one url: one icon: bicycle - id: RSS url: atom.xml icon: send# photophoto: - title: url: - title: url: - title: url: - title: url: # hexo-renderer-sassnode_sass: outputStyle: nested precision: 5 sourceComments: false# Default post titledefault_post_title: Untitled# socialsocial: github: https://github.com/th720309 weibo: http://weibo.com/th0527 twitter: https://twitter.com facebook: https://facebook.comfooter: Powered by <a href="https://hexo.io/">Hexo</a> with Theme <a href="http://www.tianhao.site/blog">believe</a>
Features
How to add comment field in your article?
编辑站点的 config.yml ,添加 duoshuo_shortname 字段,设置如下
# duoshuo-comment duoshuo_shortname: 此处为你的多说帐号
How to set cover in home page?
# cover cover_img: http://oct3pmpde.bkt.clouddn.com/back.jpg cover_avator: http://oct3pmpde.bkt.clouddn.com/avator.jpg cover_info: 欢迎来到我的博客</br>by:th是个小屁孩
How to add baiduanalysis in your website?
# baiduanalysis(用于百度站长工具验证所有权的ID) (sample)baiduanalysis: https://hm.baidu.com/hm.js?c0451e16533956173997b85f7a8de666
How to customize page footer?
编辑站点的 _config.yml,添加
footer: 你要自定义的内容(支持HTML标签) # 举例: # footer: Powered by <a href="https://hexo.io/">Hexo</a> with Theme <a href="http://www.tianhao.site/blog">believe</a>
最近看到好多同学使用了这个主题,遇到一些问题,我统一回复一下。
相册页和项目页
找到hexo文件夹,找到source文件夹,添加文件夹命名为photo,文件夹内添加index.md文件,index.md文件内输入
--- layout: photo title: 相册 date: 2017-02-08 09:40:04 type: "photo" ---
编辑config.yml内的photo,对应照片的title和url.
同理,项目页的创建要找到hexo文件夹,找到source文件夹,添加文件夹命名为project,文件夹内添加index.md文件,index.md文件内输入
--- layout: project title: 项目 date: 2017-03-10 09:40:04 type: "project" ---
编辑config.yml内的project,对应项目的title和url与sub,language.
留言和关于页
许多同学添加了这两个页面后发现没有显示,not found 404, 原因是未添加内容。找到hexo文件夹,找到source文件夹,添加对应名称文件夹,文件夹内添加index.md文件,index.md文件内输入markdown格式文档,便可以显示出来相对应的专页了。如下所示:
---layout: posttitle: 关于我 type: abouttag: 关于---## **About Me**关于我,一个未来的小小程序员,茫茫宇宙中的一粒小石子。目前就读于大连交通大学,一个苦逼的理工男。凭借着一点点的兴趣已经走过了三个年头,现在已经是大四的老油条,但总的来说还是一个小屁孩,哈哈。## **About Blog**平时喜欢写写博客,之前一直在CSDN记录一些算法题和一些完成的小作品,这次借助hexo+Github page 搭建了这个博客,打算写写个人的一些感悟影评什么的,当然可能也会有一些IT类的文章,谁让我是苦逼理工男(逃)。## **Contact Me**新浪微博:[点击进入我的新浪微博(可以加个关注哈哈)](http://weibo.com/th0527)知乎:[点击进入我的知乎](https://www.zhihu.com/people/tian-hao-69-26)Github: [点击进入我的github(欢迎fork me)](https://github.com/th720309)CSDN : [点击进入我的CSDN](http://blog.csdn.net/u013775952)
0 0
- hexo-theme-believe version2.0 说明文档
- hexo-theme-believe 说明文档
- Dinic Template Version2.0
- C#程序设计语言Version2.0简介
- Hexo配置文件详细说明
- Hexo-Theme-Buer主题修改介绍
- github博客主题 hexo-theme-yilia
- Solr5.0说明文档
- HM15.0说明文档
- theme 颜色说明
- swift Tips(version2.0+ xcode7.0+)
- C#程序设计语言Version2.0简介(zz)
- python之小说下载器version2.0
- 奖客富翁系统Version2.0
- IPMI version2.0 学习笔记3
- 文档说明
- 说明文档
- PC Camera开发日志(十)------ Version2.0时代到来
- 【并发】java线程内存模型,线程、工作内存、主内存
- 《Objective-C编程全解》 读书笔记 五章 基于引用计数的内存管理
- Spring+Mybatis之多数据源配置
- 关于APP接口
- MySQL数据库设计规范
- hexo-theme-believe version2.0 说明文档
- DSP6778硬件仿真时,程序直接运行,无法进行断点设置仿真问题。
- 正则表达式(判断是否为数字)
- 关于PHP实现扫码登录
- 浅析char*和char c[]
- 加密算法
- 精通gulp构建工具常用插件 原创
- is it a tree
- Omi命令行界面omi-cli发布