HardCandy-Jekyll

一款清新 糖果色🍬 的 ‘Jekyll’ 主题。A candy-colored 🍬 ‘Jekyll’ theme.

MIT License

Stars
221

HardCandy-Jekyll

Preview

view demo

  • jekyll 3.8.1
  • 9
  • dispus `` Gitment
  • 13
  • 11

 `github`  `github.github.io`  `clone`   `HardCandy-Jekyll`  [](https://github.com/xukimseven/HardCandy-Jekyll)  `_config.yml`  `github`  `https://github.github.io` 

 `Jekyll` [](https://www.jekyll.com.cn/docs/quickstart/)

 `jekyll -v`  **jekyll**  `jekyll 3.x.x`  `jekyll 3.x.x`  

`gem install jekyll-paginate``sudo gem install jekyll-paginate`Jekyll

 `clone`  `HardCandy-Jekyll` `jekyll server`  `bundle exec jekyll serve` jekyll [http://localhost:4000](http://localhost:4000)  `HardCandy-Jekyll` 

warning

jekyll 3.8.1 jekyllnews

_config.yml

---
# Site settings 
title: 'your awesome title'
description: 'your web description'
keywords: 'your web keywords, another keywords'
url: 'https://abc.github.io' # your host
---

title title

description

keywords

url

 `markdown` markdown `_post` markdownmarkdown markdown[typora](https://www.typora.io)  windows mac OSX Linux 

YAML

layout: post
title:  "post title"
subtitle: 'post subtitle'
date:   2018-05-29 08:44:13
tags: html js css
description: ''
color: 'rgb(154,133,255)'
cover: ''

color

colorpost `rgb(154,133,255)` 

color `rgb`  `rgba`  ``  `#123456` 16

color `rgb(154,133,255)`  color 

cover

 `url` `url` 

# 
author: true
name: 'your awesome name'
NickName: 'your awesome nickname'
webtitle: 'your awesome webtitle'
bio: 'your awesome bio'
about: true
aboutyou: 'your introduction'
portraits: '/assets/profile.jpeg' # your portraits image file path
 ``  `` 

author

 `true`  `false`  true  true 

about

 `true`  `false`  aboutyou  true  aboutyou html

# SNS
SNS: true
SNS-icon: #['Facebook', 'weibo', 'qq', 'github', 'Dribbble', 'Twitter', 'instagram', 'weixin', 'Codepen']
  mail: 'mailto:[email protected]'
  weixin: '' # 
  qq: '' # qq or http://wpa.qq.com/msgrd?v=3&uin='QQ'&site=qq&menu=yes
  github: ''
  Codepen: ''
  weibo: ''
  instagram: ''
  Twitter: ''
  Dribbble: ''
  Facebook: ''
  Google: ''
  zhihu: ''
  juejin: ''
  twitch: ''
~~ 13  `#` ~~

 `SNS`   `true`  `false` 

2018/09/28

  • Codepen

---
layout: default
title: your awesome title
page-title: awesome page-title.
home-title: awesome home-title.
description: description
---
 `index.html`  `title` `page-title` `home-title`  `description`

# nav  
nav: #   4
  : '/'
  : '/tags.html'
  : '/timeline.html'
  : '/about.html'
  : '/friendLink.html'

# 
paginate: 2
paginatepath: ['page:num']
`gem install jekyll-paginate``sudo gem install jekyll-paginate`Jekyll

#  rouge
highlighter: rouge
# pygments: autumn\ default\ emacs\ friendly\ manni\ murphy\ pastie\ perldoc\ tango 
pygmentsTheme: 'default'
 jekyll3.0  `rouge`  `pygmentsTheme` 9
``` css
*{
 margin:0;
 padding:0;
}
```

2018/09/28

**** html

# 
friends:
  jekyll: 'https://www.jekyll.com.cn/'

# since
footer:
  since: 2018

#   disquslivereGitment
# disqus 
disqus: false
disqus_url: '' # https://abc.disqus.com/embed.js
# 
livere: true
livere_uid: 'MTAyMC8zNDI2OS8xMDgwNg==' # MTAyMC8zNDI2OS8xMDgwNg==
# Gitment OAuth Application
Gitment: false
Gitment_owner: ''  # github
Gitment_repo: ''  # github
client_id: ''  #  OAuth Application  client_id
client_secret: ''  #  OAuth Application  client_secret
 `true`  `false` 

dispus

Gitment

 ``  `livere_uid` 

# Share : weibo, qq, wechat, tencent, douban, qzone, linkedin, diandian, facebook, twitter, google
social-share: true
social-share-items: ['qq', 'wechat', 'weibo', 'twitter', 'facebook']
[Share.js](http://overtrue.github.io/share.js/)QQQQFacebookTwitterLinkedinGoogle+

 `social-share-items` 

#  baidu-urlurl
baidu: true
baidu-url: ''
#  google-IDID
google: false
google-ID: ''
 `baidu-url`  `google-ID`  `true`  `false`   

License

HardCandy-Jekyll is licensed underMIT.

Star