-
Notifications
You must be signed in to change notification settings - Fork 21
/
config.toml
134 lines (116 loc) · 5.31 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
baseURL = "https://pi4j.com/"
languageCode = "en-us"
title = "Pi4J"
theme = "hugo-theme-learn"
publishDir = "public"
refLinksErrorLevel = "WARNING"
[markup.goldmark.renderer]
unsafe = true
# For search functionality
[outputs]
home = ["HTML", "RSS", "JSON"]
[params]
# Prefix URL to edit current page. Will display an "Edit this page" button on top right hand corner of every page.
# Useful to give opportunity to people to create merge request for your doc.
# See the config.toml file from this documentation site to have an example.
editURL = "https://github.com/Pi4J/pi4j.github.io/blob/main/content/"
# Author of the site, will be used in meta information
author = "Pi4J"
# Description of the site, will be used in meta information
description = "Java IO Library for the Raspberry Pi"
# Shows a checkmark for visited pages on the menu
showVisitedLinks = false
# Disable search function. It will hide search bar
disableSearch = false
# Javascript and CSS cache are automatically busted when new version of site is generated.
# Set this to true to disable this behavior (some proxies don't handle well this optimization)
disableAssetsBusting = false
# Set this to true to disable copy-to-clipboard button for inline code.
disableInlineCopyToClipBoard = false
# A title for shortcuts in menu is set by default. Set this to true to disable it.
disableShortcutsTitle = false
# If set to false, a Home button will appear below the search bar on the menu.
# It is redirecting to the landing page of the current language if specified. (Default is "/")
disableLandingPageButton = false
# When using mulitlingual website, disable the switch language button.
disableLanguageSwitchingButton = false
# Hide breadcrumbs in the header and only show the current page title
disableBreadcrumb = false
# If set to true, prevents Hugo from including the mermaid module if not needed (will reduce load times and traffic)
disableMermaid = false
# Specifies the remote location of the mermaid js
customMermaidURL = "https://unpkg.com/mermaid@8.8.0/dist/mermaid.min.js"
# Hide Next and Previous page buttons normally displayed full height beside content
disableNextPrev = true
# Order sections in menu by "weight" or "title". Default to "weight"
ordersectionsby = "weight"
# Change default color scheme with a variant one. Can be "red", "blue", "green".
themeVariant = "blue"
# Provide a list of custom css files to load relative from the `static/` folder in the site root.
# custom_css = ["css/foo.css", "css/bar.css"]
# Change the title separator. Default to "::".
titleSeparator = " - "
[imaging]
# Default resample filter used for resizing. Default is Box,
# a simple and fast averaging filter appropriate for downscaling.
# See https://github.com/disintegration/imaging
resampleFilter = "box"
# Default JPEG quality setting. Default is 75.
quality = 75
# Anchor used when cropping pictures.
# Default is "smart" which does Smart Cropping, using https://github.com/muesli/smartcrop
# Smart Cropping is content aware and tries to find the best crop for each image.
# Valid values are Smart, Center, TopLeft, Top, TopRight, Left, Right, BottomLeft, Bottom, BottomRight
anchor = "smart"
# Default background color.
# Hugo will preserve transparency for target formats that supports it,
# but will fall back to this color for JPEG.
# Expects a standard HEX color string with 3 or 6 digits.
# See https://www.google.com/search?q=color+picker
bgColor = "#ffffff"
[imaging.exif]
# Regexp matching the fields you want to Exclude from the (massive) set of Exif info
# available. As we cache this info to disk, this is for performance and
# disk space reasons more than anything.
# If you want it all, put ".*" in this config setting.
# Note that if neither this or ExcludeFields is set, Hugo will return a small
# default set.
includeFields = ""
# Regexp matching the Exif fields you want to exclude. This may be easier to use
# than IncludeFields above, depending on what you want.
excludeFields = ""
# Hugo extracts the "photo taken" date/time into .Date by default.
# Set this to true to turn it off.
disableDate = false
# Hugo extracts the "photo taken where" (GPS latitude and longitude) into
# .Long and .Lat. Set this to true to turn it off.
disableLatLong = false
[[menu.shortcuts]]
name = "<i class='fas more-tag fa-tags'></i> Tags"
url = "/tags"
weight = 5
[[menu.shortcuts]]
name = "<i class='fab more-tag fa-github'></i> GitHub project"
identifier = "github"
url = "https://github.com/Pi4J"
weight = 10
[[menu.shortcuts]]
name = "<i class='fab more-tag fa-mastodon'></i> Mastodon @pi4j@foojay.social"
identifier = "mastodon"
url = "https://foojay.social/@pi4j"
weight = 15
[[menu.shortcuts]]
name = "<i class='fab more-tag fa-linkedin'></i> LinkedIn @pi4j"
identifier = "linkedin"
url = "https://www.linkedin.com/company/pi4j/"
weight = 20
[[menu.shortcuts]]
name = "<i class='fab more-tag fa-github'></i> Pi4J V2 Discussions"
identifier = "discussions"
url = "https://github.com/Pi4J/pi4j-v2/discussions"
weight = 30
[[menu.shortcuts]]
name = "<i class='fab more-tag fa-slack'></i> Join our Slack"
identifier = "slack"
url = "https://join.slack.com/t/pi4j/shared_invite/zt-1ttqt8wgj-E6t69qaLrNuCMPLiYnBCsg"
weight = 35