A basic Jekyll site usually looks something like this:
.
├── _config.yml
├── _drafts
| ├── begin-with-the-crazy-ideas.textile
| └── on-simplicity-in-technology.markdown
├── _includes
| ├── footer.html
%YAML 1.1 # Reference card | |
# refer: http://yaml.org/refcard.html | |
--- | |
Collection indicators: | |
'? ' : Key indicator. | |
': ' : Value indicator. | |
'- ' : Nested series entry indicator. | |
', ' : Separate in-line branch entries. | |
'[]' : Surround in-line series branch. | |
'{}' : Surround in-line keyed branch. |
Google: https://developers.google.com/custom-search/ | |
https://developers.google.com/web-search/docs/ (已弃用) | |
Baidu: http://help.baidu.com/question?prod_en=search&class=500 | |
http://zhanzhang.baidu.com/site/index |
A basic Jekyll site usually looks something like this:
.
├── _config.yml
├── _drafts
| ├── begin-with-the-crazy-ideas.textile
| └── on-simplicity-in-technology.markdown
├── _includes
| ├── footer.html
VARIABLE | DESCRIPTION |
---|---|
layout |
If set, this specifies the layout file to use. Use the layout file name without the file extension. Layout files must be placed in the _layouts directory. |
permalink |
If you need your processed blog post URLs to be something other than the default /year/month/day/title.html then you can set this variable and it will be used as the final URL. |
published |
Set to false if you don’t want a specific post to show up when the site is generated. |
category categories |
Instead of placing posts inside of folders, you can specify one or more categories that the post belongs to. When the site is generated the post will act as though it had been set with these categories normally. Categories (plural key) can be specified as a YAML list or a space-separated string. |
tags |
Similar to categories, one or multiple tags can be added to a post. Also like categories, tags can be specified as a YAML list or a space- separated s |
highlighter: pygments
github: [Repository metadata]
For the content of the repository metadata object, see repository metadata on GitHub Pages.
The following sample information is exposed to Jekyll templates in the site.github
namespace:
{ | |
"installed_packages": | |
[ | |
"Alignment", | |
"AngularJS", | |
"ApacheConf.tmLanguage", | |
"BracketHighlighter", | |
"Color Highlighter", | |
"DocBlockr", | |
"Emmet", |
{ | |
"font_size": 11, | |
"ignored_packages": [], | |
"translate_tabs_to_spaces": true, | |
"tab_size": 2, | |
"highlight_line": true, | |
"trim_trailing_white_space_on_save": true, | |
"ensure_newline_at_eof_on_save": true, | |
"default_line_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议都要求要有GoAgent证书 FF下我在浏览器里导入好像没什么效果,该提示证书问题的照样提示 Chrome我没用,不太清楚 百度了一下,导入chrome导入是用命令的: certutil -d sql:$HOME/.pki/nssdb -A -t "C,," -n GoAgent -i '/home/wzhy90/GoAgent/local/CA.crt' 类似这个 我也试过这个,导入后重新打开终端,export https_proxy代理后git clone https协议还是提示证书错误 我发现它提示/etc/ssl/certs/ca-certificates.crt这个证书,我打开证书查看发现里面是一些系统内置的证书,OK,想法是把GoAgent的证书也写到这个证书里面