jekyll-gitbook/_includes/metadata.json.tpl
HE, Tao 4c29410efa
Templates for homepage and markdown posts.
Signed-off-by: HE, Tao <sighingnow@gmail.com>
2019-04-28 19:16:39 +08:00

83 lines
2.4 KiB
Smarty

"config": {
"plugins": ["fontsettings", "highlight", "livereload", "lunr", "search", "sharing", "theme-default", "livereload"],
"styles": {
"ebook": "styles/ebook.css",
"epub": "styles/epub.css",
"mobi": "styles/mobi.css",
"pdf": "styles/pdf.css",
"print": "styles/print.css",
"website": "styles/website.css"
},
"pluginsConfig": {
"fontsettings": {
"family": "sans",
"size": 2,
"theme": "white"
},
"highlight": {},
"livereload": {},
"lunr": {
"ignoreSpecialCharacters": false,
"maxIndexSize": 1000000
},
"search": {},
"sharing": {
"all": ["facebook", "google", "twitter", "weibo", "instapaper"],
"facebook": true,
"google": false,
"instapaper": false,
"twitter": true,
"vk": false,
"weibo": false
},
"theme-default": {
"showLevel": false,
"styles": {
"ebook": "styles/ebook.css",
"epub": "styles/epub.css",
"mobi": "styles/mobi.css",
"pdf": "styles/pdf.css",
"print": "styles/print.css",
"website": "styles/website.css"
}
}
},
"theme": "default",
"author": "Tao He",
"pdf": {
"pageNumbers": true,
"fontSize": 12,
"fontFamily": "Arial",
"paperSize": "a4",
"chapterMark": "pagebreak",
"pageBreaksBefore": "/",
"margin": {
"right": 62,
"left": 62,
"top": 56,
"bottom": 56
}
},
"structure": {
"langs": "LANGS.md",
"readme": "README.md",
},
"variables": {},
"title": "{{site.title}}",
"language": "en",
"gitbook": "*"
},
"file": {
"path": "{{ page.path }}",
"mtime": "{{ page.date }}",
"type": "markdown"
},
"gitbook": {
"version": "{{site.url}}",
"time": "{{site.time}}"
},
"basePath": "{{site.url}}",
"book": {
"language": ""
}