feat: add init config
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
description: ""
|
||||
date: {{ .Date }}
|
||||
draft: false
|
||||
weight: 0
|
||||
enableToc: true
|
||||
tocLevels: ["h2", "h3", "h4"]
|
||||
---
|
|
@ -0,0 +1,13 @@
|
|||
---
|
||||
author: "Hugo Authors"
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
description: ""
|
||||
date: {{ .Date }}
|
||||
draft: false
|
||||
weight: 0
|
||||
tags:
|
||||
-
|
||||
image: "" # relative path to the static folder. The image is in the root/static/images folder.
|
||||
enableToc: true
|
||||
tocLevels: ["h2", "h3", "h4"]
|
||||
---
|
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
title: "{{ replace .Name "-" " " | title }}"
|
||||
description: ""
|
||||
date: {{ .Date }}
|
||||
draft: false
|
||||
weight: 0
|
||||
collapsible: true
|
||||
---
|
|
@ -0,0 +1,46 @@
|
|||
baseURL = "http://mtf.wiki"
|
||||
title = "MtF Wiki"
|
||||
theme = "zdoc"
|
||||
|
||||
defaultContentLanguage = "zh-CN"
|
||||
defaultContentLanguageInSubdir = true
|
||||
hasCJKLanguage = true
|
||||
|
||||
copyright = "©{year}, All Rights Reserved"
|
||||
timeout = 10000
|
||||
enableEmoji = true
|
||||
paginate = 13
|
||||
rssLimit = 100
|
||||
|
||||
googleAnalytics = ""
|
||||
|
||||
disableKinds = ["taxonomyTerm"]
|
||||
|
||||
[markup]
|
||||
[markup.goldmark]
|
||||
[markup.goldmark.renderer]
|
||||
hardWraps = true
|
||||
unsafe = true
|
||||
xHTML = true
|
||||
[markup.highlight]
|
||||
codeFences = true
|
||||
lineNos = true
|
||||
lineNumbersInTable = true
|
||||
noClasses = false
|
||||
[markup.tableOfContents]
|
||||
endLevel = 4
|
||||
ordered = false
|
||||
startLevel = 2
|
||||
|
||||
[outputs]
|
||||
home = ["HTML", "RSS", "SearchIndex"]
|
||||
|
||||
[outputFormats]
|
||||
[outputFormats.SearchIndex]
|
||||
mediaType = "application/json"
|
||||
baseName = "index"
|
||||
isPlainText = true
|
||||
notAlternative = true
|
||||
|
||||
[taxonomies]
|
||||
tag = "tags"
|
|
@ -0,0 +1,11 @@
|
|||
[en]
|
||||
title = "MtF Wiki"
|
||||
languageName = "English"
|
||||
weight = 1
|
||||
contentdir = "content/en"
|
||||
|
||||
[zh-CN]
|
||||
title = "MtF Wiki"
|
||||
languageName = "简体中文"
|
||||
weight = 2
|
||||
contentdir = "content/zh-CN"
|
|
@ -0,0 +1,17 @@
|
|||
[[main]]
|
||||
identifier = "docs"
|
||||
name = "Docs"
|
||||
url = "docs"
|
||||
weight = 1
|
||||
|
||||
[[main]]
|
||||
identifier = "updates"
|
||||
name = "Updates"
|
||||
url = "updates"
|
||||
weight = 2
|
||||
|
||||
[[main]]
|
||||
identifier = "blog"
|
||||
name = "Blog"
|
||||
url = "blog"
|
||||
weight = 3
|
|
@ -0,0 +1,17 @@
|
|||
[[main]]
|
||||
identifier = "docs"
|
||||
name = "Docs"
|
||||
url = "docs"
|
||||
weight = 1
|
||||
|
||||
[[main]]
|
||||
identifier = "updates"
|
||||
name = "Updates"
|
||||
url = "updates"
|
||||
weight = 2
|
||||
|
||||
[[main]]
|
||||
identifier = "blog"
|
||||
name = "Blog"
|
||||
url = "blog"
|
||||
weight = 3
|
|
@ -0,0 +1,77 @@
|
|||
logo = true
|
||||
logoText = "MtF Wiki"
|
||||
logoType = "short" # long, short
|
||||
description = "MtF Wiki."
|
||||
|
||||
themeOptions = ["light", "dark"]
|
||||
|
||||
useFaviconGenerator = true # https://www.favicon-generator.org/
|
||||
|
||||
enableTocSwitch = true
|
||||
enableLandingBackground = false
|
||||
enableSearch = true
|
||||
enableSearchHighlight = true
|
||||
enableLangChange = true
|
||||
enableDarkMode = true
|
||||
enableBreadcrumb = true
|
||||
enableBlogBreadcrumb = true
|
||||
enableEditBtn = false
|
||||
enableToc = true
|
||||
enableMenu = true
|
||||
enableNavbar = true
|
||||
enableFooter = true
|
||||
showPoweredBy = true
|
||||
|
||||
tocLevels = ["h2", "h3", "h4"]
|
||||
paginateWindow = 1
|
||||
taxoPaginate = 13
|
||||
taxoGroupByDate = "2006" # "2006-01": group by month, "2006": group by year
|
||||
|
||||
github = "https://github.com/mtf-wiki/MtF-Wiki"
|
||||
|
||||
# comment
|
||||
enableComment = false
|
||||
disqus_shortname = ""
|
||||
commento = false
|
||||
|
||||
[gitment] # Gitment is a comment system based on GitHub issues. see https://github.com/imsun/gitment
|
||||
owner = "" # Your GitHub ID
|
||||
repo = "" # The repo to store comments
|
||||
clientId = "" # Your client ID
|
||||
clientSecret = "" # Your client secret
|
||||
|
||||
[utterances] # https://utteranc.es/
|
||||
owner = "" # Your GitHub ID
|
||||
repo = "" # The repo to store comments
|
||||
|
||||
[gitalk] # Gitalk is a comment system based on GitHub issues. see https://github.com/gitalk/gitalk
|
||||
owner = "" # Your GitHub ID
|
||||
repo = "" # The repo to store comments
|
||||
clientId = "" # Your client ID
|
||||
clientSecret = "" # Your client secret
|
||||
|
||||
# Valine.
|
||||
# You can get your appid and appkey from https://leancloud.cn
|
||||
# more info please open https://valine.js.org
|
||||
[valine]
|
||||
enable = false
|
||||
appId = '你的appId'
|
||||
appKey = '你的appKey'
|
||||
notify = false # mail notifier , https://github.com/xCss/Valine/wiki
|
||||
verify = false # Verification code
|
||||
avatar = 'mm'
|
||||
placeholder = '说点什么吧...'
|
||||
visitor = false
|
||||
|
||||
[changyan]
|
||||
changyanAppid = "" # Changyan app id # 畅言
|
||||
changyanAppkey = "" # Changyan app key
|
||||
|
||||
[livere]
|
||||
livereUID = "" # LiveRe UID # 来必力
|
||||
|
||||
# Isso: https://posativ.org/isso/
|
||||
[isso]
|
||||
enable = false
|
||||
scriptSrc = "" # "https://isso.example.com/js/embed.min.js"
|
||||
dataAttrs = "" # "data-isso='https://isso.example.com' data-isso-require-author='true'"
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -0,0 +1,23 @@
|
|||
[toc-label]
|
||||
other = "此页上的内容"
|
||||
|
||||
[tooltip-written]
|
||||
other = "写于"
|
||||
|
||||
[tooltip-modified]
|
||||
other = "修改于"
|
||||
|
||||
[tooltip-reading-time]
|
||||
other = "阅读时间"
|
||||
|
||||
[summary-dateformat]
|
||||
other = "2006年01月02日"
|
||||
|
||||
[reading-time]
|
||||
other = "min read"
|
||||
|
||||
[single-writtenBy]
|
||||
other = "撰写者"
|
||||
|
||||
[edit-this-page]
|
||||
other = "编辑此页面"
|
|
@ -0,0 +1 @@
|
|||
|
After Width: | Height: | Size: 6.9 KiB |
After Width: | Height: | Size: 9.4 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 40 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 5.3 KiB |
After Width: | Height: | Size: 5.5 KiB |
After Width: | Height: | Size: 6.9 KiB |
After Width: | Height: | Size: 7.5 KiB |
After Width: | Height: | Size: 9.3 KiB |
After Width: | Height: | Size: 3.1 KiB |
After Width: | Height: | Size: 3.2 KiB |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 3.9 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 4.6 KiB |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 6.9 KiB |
After Width: | Height: | Size: 7.3 KiB |
After Width: | Height: | Size: 21 KiB |
After Width: | Height: | Size: 3.6 KiB |
|
@ -0,0 +1 @@
|
|||
|
After Width: | Height: | Size: 11 KiB |
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"manifest_version": 2,
|
||||
"name": "MtF Wiki",
|
||||
"short_name": "MtF Wiki",
|
||||
"version": "1.0.0",
|
||||
"default_locale": "zh-CN",
|
||||
"description": "MtF Wiki",
|
||||
"start_url": "https://mtf.wiki",
|
||||
"icons": [
|
||||
{
|
||||
"src": "favicon/android-icon-36x36.png",
|
||||
"sizes": "36x36",
|
||||
"type": "image/png",
|
||||
"density": "0.75"
|
||||
},
|
||||
{
|
||||
"src": "favicon/android-icon-48x48.png",
|
||||
"sizes": "48x48",
|
||||
"type": "image/png",
|
||||
"density": "1.0"
|
||||
},
|
||||
{
|
||||
"src": "favicon/android-icon-72x72.png",
|
||||
"sizes": "72x72",
|
||||
"type": "image/png",
|
||||
"density": "1.5"
|
||||
},
|
||||
{
|
||||
"src": "favicon/android-icon-96x96.png",
|
||||
"sizes": "96x96",
|
||||
"type": "image/png",
|
||||
"density": "2.0"
|
||||
},
|
||||
{
|
||||
"src": "favicon/android-icon-144x144.png",
|
||||
"sizes": "144x144",
|
||||
"type": "image/png",
|
||||
"density": "3.0"
|
||||
},
|
||||
{
|
||||
"src": "favicon/android-icon-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"density": "4.0"
|
||||
},
|
||||
{
|
||||
"src": "favicon/android-icon-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"density": "4.0"
|
||||
}
|
||||
],
|
||||
"theme_color": "#0071bc",
|
||||
"background_color": "#fff",
|
||||
"display": "standalone"
|
||||
}
|