jaywcjlove / hexoThemeKacper

hexo theme

Home Page:http://JSLite.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hexoThemeKacper

这个是一个hexo.io 的主题,本人生性懒惰,所以主题基于 landscape 主题更改的。so...

Preview

JSLite.io

Installation

Install

$ git clone https://github.com/jaywcjlove/hexoThemeKacper.git themes/hexoThemeKacper

hexoThemeKacper requires Hexo 3.0 and above.

Update

cd themes/hexoThemeKacper
git pull

Enable

Modify theme setting in _config.yml to hexoThemeKacper.

Usage

Theme configuration example

/themes/_config.yml 说明

# Header
menu: #导航栏连接
  Home: /  
  API: /API 
  Tags: /tags
  # Category: /category
  Archives: /archives #/archives #归档页面URL 自定义页面标题: /自定义页面URL
  About: /about
  Github: https://github.com/JSLite/JSLite

rss: /atom.xml #rss地址  默认即可

#feed:
#  type: atom       #feed 类型 (atom/rss2)
#  path: /atom.xml   #rss 路径
#  limit: 20        #在 rss 中最多生成的文章数(0显示所有)


#icon http://fontawesome.io/
#首页显示
article_index:
  -  title: 低廉学习成本低
     content: 与jQuery有着类似的api模仿jQuery的语法规范并不是100%的覆盖如果你会用jQuery那么你也会用JSLiteicon: icon-book
  -  title: 快执行并下载
     content: JSLite通用库只有5-10k没有大量的兼容代码在先进浏览器里面跑起来没有负担为了减小代码量提高性能组件再插件化兼容iOS3+ / android2.1+icon: icon-bolt
  -  title: 为未来web做打算
     content: 让**再次和世界同步拥抱现代浏览器未来总会接触到移动端开发还好移动端开发环境还不算恶劣icon: icon-lab
  -  title: Github # Github这里比较特殊
     content: JSLite/JSLite # github 仓库地址,例如https://github.com/jaywcjlove/hexoThemeKacper 这里就填写  jaywcjlove/hexoThemeKacper
     icon: icon-github-alt



# Content
excerpt_link: Read More  #阅读更多的文字显示
fancybox: true  #开启fancybox效果 


# Miscellaneous #社交网络和统计连接地址
baidu_analytics: //hm.baidu.com/hm.js?fe2c7555911b8560db5e56121c5d5960 
favicon: /css/favicon.ico
logo: /css/logo.png

TAGS && Category && API && About

设置这三个菜单需要你在 source 建立三个页面

source/tags/index.md
source/category/index.md
source/API/index.md
source/about/index.md

tags

layout: tags
title: "tags"
---

Category

layout: category
title: "categories"
---

API

title: "JSLite.io"
date: 2015-04-05 05:37:40
type: "API"
---

About

title: "关于我"
date: 2015-04-02 01:36:59
description: "关于我"
type: "about"
---

前端开发工程师。敏捷实践者。目前就职于hotpu,生活在上海。

<!--more--> 

注意翻页

因为本主题没有做翻页的功能。所以在博客跟目录 _config.yml 文件中要设置 per_page: 0 ,设置为 0 显示所有文章

per_page: 0
pagination_dir: page

多说评论

注册你自己的多说账号 duoshuo 替换你在根目录_config.yml 中的 duoshuo short_name 的值,没有在里面设置

duoshuo_shortname: your short_name

协议

MIT

About

hexo theme

http://JSLite.io

License:Other


Languages

Language:CSS 62.6%Language:JavaScript 37.4%