-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
115 lines (95 loc) · 2.49 KB
/
Copy pathconfig.toml
File metadata and controls
115 lines (95 loc) · 2.49 KB
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
114
115
baseURL = "https://francis.run/"
title = "Francis Du"
pygmentsstyle = "vs"
pygmentscodefences = true
pygmentscodefencesguesssyntax = true
googleAnalytics = "UA-169239941-1"
disqusShortname = "francis-run"
dataDir = "data"
contentDir = "content"
enableEmoji = true
enableGitInfo = true
enableInlineShortcodes = true
enableRobotsTXT = true
hasCJKLanguage = true
timeout = 600000
theme = ["hugo-shortcode-gallery"]
copyright = "© Copyright [Francis Du](https://twitter.com/francis_run) | [Ink](https://github.com/knadh/hugo-ink) theme on [Hugo](https://gohugo.io)"
# 允许原始 HTML
[markup.goldmark.renderer]
unsafe = true
# 忽略原始 HTML 警告
ignoreLogs = ['warning-goldmark-raw-html']
[params]
subtitle = "Blog"
description = "💻 Data Engineer | 🦀 Rustacean | 📷 Photographer | 🤖 Vibe Coder"
avatar = "https://avatars1.githubusercontent.com/u/25944814"
favicon = "img/icon.png"
title = "Francis Blog"
mode = "dark"
social_share = true
comment = true
# Keep hugo-shortcode-gallery's native jquery.lazy + Swipebox + JustifiedGallery stack.
# Use generated WebP derivatives, and keep tiny previews external instead of inlining Base64 per photo.
galleryRowHeight = 200
galleryRowMargins = 5
galleryImageResizeOptions = "1920x1920 webp q82 Lanczos"
galleryThumbnailResizeOptions = "720x720 webp q78 Lanczos"
galleryPreviewType = "blur"
galleryThumbnailHoverEffect = "enlarge"
galleryShowExif = true
galleryLoadJQuery = true
galleryEmbedPreview = false
gallerySwipeboxParameters = "removeBottomBarOnMobile: false"
[imaging.exif]
includeFields = ".*"
[pagination]
pagerSize = 10
[params.author]
name = "Francis Du"
[[menu.main]]
name = "Home"
url = "/"
weight = 1
[[menu.main]]
name = "Blogs"
url = "/blogs"
weight = 2
[[menu.main]]
name = "Tags"
url = "/tags"
weight = 3
[[menu.main]]
name = "Gallery"
url = "/gallery"
weight = 4
[[menu.main]]
name = "Red Note"
url = "/rednote"
weight = 5
[[menu.main]]
name = "About"
url = "/about"
weight = 6
[[params.social]]
name = "Github"
icon = "github"
url = "https://github.com/francis-du"
[[params.social]]
name = "Telegram"
icon = "send"
url = "https://t.me/francisdu"
[[params.social]]
name = "Twitter"
icon = "twitter"
url = "https://twitter.com/intent/follow?screen_name=francis_run"
[[params.social]]
name = "LinkedIn"
icon = "linkedin"
url = "https://www.linkedin.com/in/francis-du/"
[[params.social]]
name = "RSS"
icon = "rss"
url = "/index.xml"
[taxonomies]
tags = "tags"