-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
hugo.yaml
81 lines (71 loc) · 2.77 KB
/
hugo.yaml
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
module:
hugoVersion:
extended: true
min: 0.110.0
params:
# The repo_id and category_id can be fetched on https://giscus.app/.
giscus:
# Client script endpoint.
endpoint: https://giscus.app/
# The GitHub repository, required.
repo: ""
# The GitHub repository ID, optional. We'll fetch the repo ID by GitHub REST API if omitted.
# It's recommend to specify it to save the build time.
repo_id: ""
# Discussion category, required.
category: General
# Discussion category ID, required, since GitHub doesn't provide REST API for discussions.
category_id: ""
# The mapping between the embedding page and the embedded discussion. Available options:
# pathname: giscus will search for a discussion whose title contains the page's pathname URL component.
# URL: giscus will search for a discussion whose title contains the page's URL.
# title: giscus will search for a discussion whose title contains the page's <title> HTML tag.
# og:title: giscus will search for a discussion whose title contains the page's <meta property="og:title"> HTML tag.
mapping: pathname
# Use strict title matching, avoid mismatches due to GitHub's fuzzy searching method when there are multiple discussions with similar titles.
strict_matching: true
# Theme. Available options:
# light: GitHub Light.
# light_high_contrast: GitHub Light High Contrast.
# light_protanopia: GitHub Light Protanopia & Deuteranopia.
# light_tritanopia: GitHub Light Tritanopia.
# dark: GitHub Dark.
# dark_high_contrast: GitHub Dark High Contrast.
# dark_protanopia: GitHub Dark Protanopia & Deuteranopia.
# dark_tritanopia: GitHub Dark Tritanopia.
# dark_dimmed: GitHub Dark Dimmed.
# transparent_dark: Transparent Dark.
# preferred_color_scheme: Preferred color scheme.
# an URL of external CSS. It may be unsafe, make sure you trust the author and provider of the CSS file.
theme: preferred_color_scheme
# The input position. Available options:
# top: above the comments.
# bottom: below the comments.
input_position: top
# Enable reactions for the main post.
reactions: true
# Load the comments lazily.
lazy_loading: true
# The languages mapping from site language to Giscus language.
# Since the Giscus doesn't support all languages and the language is case sensitive.
# Available languages:
# - ar
# - de
# - gsw
# - es
# - en
# - fr
# - id
# - it
# - ja
# - ko
# - pl
# - pt
# - ro
# - ru
# - tr
# - vi
# - zh-CN
# - zh-TW
languages_mapping:
en-us: en