55# in the templates via {{ site.myvariable }}.
66
77# global settings
8- title : " jsdnhk@github active profile "
8+ title : " jsdn.hk "
9910- description : " jsdnhk@github personal site - 2020"
10+ description : " Simple Note"
11+ keywords : " about-me, personal-blog, quotes, contacts, geek, main-page, useful-links, hker"
12+ tagline : " Simple Note"
1113url : " https://jsdn.hk"
14+ language : en
1215github : [metadata]
16+ github_url : " https://github.com/"
1317github_username : " jsdnhk"
1418repository : " jsdnhk/jsdnhk.github.io"
15- # location: /var/lib/gems/2.5.0/gems/jekyll-theme-midnight-0.1.1
16- theme : " jekyll-theme-midnight"
1719timezone : " Asia/Hong_Kong"
18- analytics_account : " UA-3769691-28" # for google analytics
20+ analytics_account : " UA-3769691-28"
21+ disqus_shortname : jsdnhk
22+
23+ # not use default theme
24+ # location: /var/lib/gems/2.5.0/gems/jekyll-theme-midnight-0.1.1
25+ # theme: "jekyll-theme-midnight"
1926
2027# build settings
21- exclude : ["etc", "scripts", "vendor", "Gemfile", "Gemfile.lock", "Rakefile", "README.md", "package.json", "node_modules"]
28+ collections_dir : collections
29+ exclude : ["etc", "scripts", "vendor", "Gemfile*", "package.json*", "Rakefile", "node_modules", ".idea"]
2230profile : true
2331strict_front_matter : true
32+
33+ # enable GFM
34+ kramdown :
35+ input : GFM
36+ hard_wrap : false
37+ math_engine_opts :
38+ preview : true
2439plugins :
2540 - jekyll-feed
2641 - jekyll-redirect-from
@@ -30,5 +45,55 @@ plugins:
3045 - jemoji
3146 - jekyll-mentions
3247
48+ # default permalink is assigned to the posts
49+ blog_baseurl : " /blog/"
50+ permalink : /blog/:year:month:day
51+
3352# front matter defaults settings
3453excerpt_separator : " <!--end-->"
54+ defaults :
55+ # collections
56+ - scope :
57+ path : " "
58+ type : " pages"
59+ values :
60+ layout : page
61+ title :
62+ title_image :
63+ title_display : false
64+ footer_quote :
65+ sitenav :
66+ tags :
67+ categories :
68+ - scope :
69+ path : " *.md"
70+ type : " pages"
71+ values :
72+ layout : page_md
73+ # posts
74+ - scope :
75+ path : " collections/_posts/"
76+ type : " posts"
77+ values :
78+ layout : post
79+ display : true
80+ comment : false
81+ - scope :
82+ path : " collections/_posts/test"
83+ type : " posts"
84+ values :
85+ display : false
86+ # assets
87+ - scope :
88+ path : " assets/videos/bg"
89+ values :
90+ video_bg : true
91+
92+ # Site-scope variables
93+ path_header_image :
94+ h1 : " /assets/images/oxygen/48x48/"
95+ h2 : " /assets/images/oxygen/48x48/"
96+ h3 : " /assets/images/oxygen/32x32/"
97+ h4 : " /assets/images/oxygen/32x32/"
98+ h5 : " /assets/images/oxygen/22x22/"
99+ h6 : " /assets/images/oxygen/22x22/"
0 commit comments