-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.toml
113 lines (104 loc) · 3.26 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
baseURL = "https://blog.minecola.cloud/"
languageCode = "zh-tw"
defaultContentLanguage = "zh-tw"
title = "MineCola's Blog | 開發筆記 & 雜談"
theme = "tranquilpeak"
# Disqus 社群功能
# disqusShortname = ""
# Google 分析
googleAnalytics = "UA-161796118-1"
# 作者資訊
[author]
name = "MineCola"
bio = "朝向 DevOps 之路邁進的研究生,沿途常被各式各樣花枝招展的新技術吸引,把什麼都學什麼都碰的人生紀錄在這"
job = "MS Student, NTUST"
location = "Taipei, Taiwan"
picture = "/images/author/author.jpg"
email = "[email protected]"
# 連結格式
[permalinks]
post = "/:year/:month/:filename/"
# 產生分類頁面
[taxonomies]
tag = "tags"
category = "categories"
archive = "archives"
# SideBar 設定
[[menu.main]]
weight = 1
identifier = "archives"
name = "Archives"
pre = "<i class=\"sidebar-button-icon fa fa-lg fa-archive\"></i>"
url = "/archives"
[[menu.main]]
weight = 2
identifier = "categories"
name = "Categories"
pre = "<i class=\"sidebar-button-icon fa fa-lg fa-bookmark\"></i>"
url = "/categories"
[[menu.main]]
weight = 3
identifier = "tags"
name = "Tags"
pre = "<i class=\"sidebar-button-icon fa fa-lg fa-tags\"></i>"
url = "/tags"
[[menu.main]]
weight = 4
identifier = "about"
name = "About"
pre = "<i class=\"sidebar-button-icon fa fa-lg fa-question\"></i>"
url = "/#about"
[[menu.main]]
weight = 5
identifier = "home"
name = "Home"
pre = "<i class=\"sidebar-button-icon fa fa-lg fa-home\"></i>"
url = "/"
# 連結設定
[[menu.links]]
weight = 0
identifier = "github"
name = "GitHub"
pre = "<i class=\"sidebar-button-icon fa fa-lg fa-github\"></i>"
url = "https://github.com/tminecola"
# 參數設定
[params]
# 日期格式
dateFormat = "2006/01/02"
# 網站縮圖
favicon = "/favicon.png"
# 關鍵字
keywords = ["development", "開發", "devops", "backend", "technology"]
# 網站描述
description = "記載著一位開發者與他髒髒的雙手做過的事,偶爾會不小心卯起來認真寫技術筆記"
# 特殊字 High light
syntaxHighlighter = "prism.js"
# 文章隱藏 Side bar
clearReading = true
# 階層式標籤分類 (是否依據順序代表階層)
hierarchicalCategories = false
# 側邊攔顯示模式
sidebarBehavior = 1
# 封面照
coverImage = "images/sites/cover.jpg"
# 啟用相片廊 (特定標記的圖片會在文末用畫廊的方式顯示)
imageGallery = true
# 文章縮圖設定 (啟用/縮圖擺放位置/是否自動使用第一張圖片或封面作為縮圖)
thumbnailImage = true
thumbnailImagePosition = "right"
autoThumbnailImage = false
# 社群分享
[[params.sharingOptions]]
name = "Facebook"
icon = "fa-facebook-official"
url = "https://www.facebook.com/sharer/sharer.php?u=%s"
[[params.sharingOptions]]
name = "Twitter"
icon = "fa-twitter"
url = "https://twitter.com/intent/tweet?text=%s"
# Footer 作者版權宣告的連結
[params.footer]
copyright = "<a href=\"https://github.com/tminecola\">MineCola</a>"
# 避免阻擋原始 Html 標籤
[markup.goldmark.renderer]
unsafe= true