-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
109 lines (81 loc) · 4.07 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
# set `baseurl` to your root domain
# if you set it to "/" share icons won't work properly on production
baseurl = "https://toku345.com/" # Include trailing slash
title = "晴れ時々プロトタイピング"
author = "Fumitaka Tokumitsu"
copyright = "Copyright © 2020, Fumitaka Tokumitsu; all rights reserved."
# canonifyurls = true
paginate = 10
theme = "hugo-clarity"
disqusShortname = ""
DefaultContentLanguage = "ja"
# [languages]
# config/_default/languages.toml
# [menus]
# config/_default/menus/menu.xx.toml
[taxonomies]
category = "categories"
tag = "tags"
series = "series"
[markup]
[markup.goldmark]
[markup.goldmark.renderer]
hardWraps = false
unsafe = true # change to false to disable inclusion of rawHTML and math functions
xhtml = false
[markup.goldmark.extensions]
typographer = false
[markup.highlight]
codeFences = true
guessSyntax = true
hl_Lines = "--"
lineNoStart = 1
lineNos = true # always set to true # else line numbers won't show at all! even when you toggle them on in the UI
lineNumbersInTable = false # toggling this on (i.e to true) or deleting this line will break the code blocks functionality. Will
noClasses = false
# style = "monokai"
tabWidth = 2
[params]
author = "toku345"
twitter = "@toku345"
largeTwitterCard = false # set to true if you want to show a large twitter card image. The default is a small twitter card image
introDescription = "曇り時々プログラマー。人生デザイン実践中"
# description = "" # set your site's description here. will be use for home page content meta tags (seo). Alternatively set this description in your homepage content file i.e content/_index.md. Whatever is set in the latter will take precedence
# Google analytics Id
# ga_analytics = "XXXXXXXXXX"
# limit the number of taxonomies links shown on the sidebar of each page by default.
numberOfTagsShown = 14 # Applies for all other default & custom taxonomies. e.g categories, brands see https://gohugo.io/content-management/taxonomies#what-is-a-taxonomy
# will be used on share >> twitter, facebook, linkedin
fallBackOgImage = "images/icon.jpg"
# sets the maximum number of lines per codeblock. The codeblock will however be scrollable and expandable.
codeMaxLines = 7
# disable showing line numbers by default. Switch to `true` if you'd rather have them on.
codeLineNumbers = false
# directory(s) where your articles are located
mainSections = ["post"] # see config details here https://gohugo.io/functions/where/#mainsections
# center logo on navbar
centerLogo = false # Set to "true" for centering or "false" for left aligned.
logo = "logos/logo.png"
# Label Non inline images on an article body
figurePositionShow = false # toggle on or off globally
# you can toggle this behaviour on or off on per page using the same variable inside your articles frontmatter
figurePositionLabel = "Figure" # the text before image number e.g Figure 1.0
# Set the collapsed mobile navigation to either appear from the left or the right
mobileNavigation = "left" # if you prefer right change to 'right'
# some site owners want to decide how they would like their sites to be introduced users. These settings give you as a site owner to decide how the user will view your site for the first time.
# please note that you cannot enforce both modes at the same time. i.e by enforcing one mode, you priotise it over the other (by setting it to true). enforceDarkMode will be commented out
# please also not that mode toggle UI will remain in place. That way, if a user prefers darkmode, they can have their way.
enforceLightMode = false
# enforceDarkMode = false
# Text for the languages menu.
languageMenuName = "🌐"
# Title separator, default to |.
# titleSeparator = "|"
# Enable or disable comment globally. Default to true.
# comment = false
# Maximum number of recent posts.
# numberOfRecentPosts = 8
# Maximum number of featured posts.
# numberOfFeaturedPosts = 8
# Date format. Checkout https://gohugo.io/functions/format/#hugo-date-and-time-templating-reference for details.
dateFormat = "2006-01-02" # Default to "Jan 2, 2006".