mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-07 01:54:23 +00:00
246 lines
5.6 KiB
TOML
246 lines
5.6 KiB
TOML
# toml-docs-start main
|
|
[main]
|
|
separator = "-"
|
|
description = "Hinode is a clean documentation and blog theme for your Hugo site based on Bootstrap 5."
|
|
enableDarkMode = true
|
|
enableLanguageSelectionStorage = false
|
|
modes = ["light", "dark"]
|
|
canonifyAssetsURLs = false
|
|
endorse = true
|
|
footerBelowFold = false
|
|
loading = "lazy"
|
|
breakpoint = "md"
|
|
titleCase = false
|
|
[main.internalLinks]
|
|
validate = true
|
|
pretty = false
|
|
[main.externalLinks]
|
|
cue = false
|
|
tab = false
|
|
[main.build]
|
|
transpiler = "libsass"
|
|
# toml-docs-end main
|
|
|
|
# toml-docs-start images
|
|
[images]
|
|
[images.cloudinary]
|
|
host = "cloudinary"
|
|
[images.imagekit]
|
|
host = "imagekit"
|
|
[images.imgix]
|
|
host = "imgix"
|
|
# toml-docs-end images
|
|
|
|
# toml-docs-start videos
|
|
[videos]
|
|
[videos.cloudinary]
|
|
host = "cloudinary"
|
|
account = "demo"
|
|
[videos.vimeo]
|
|
host = "vimeo"
|
|
[videos.youtube]
|
|
host = "youtube"
|
|
# toml-docs-end videos
|
|
|
|
|
|
# toml-docs-start debugging
|
|
[debugging]
|
|
showJS = false
|
|
showSCSS = false
|
|
purgeHTMLComments = false
|
|
includeSVGOrigin = true
|
|
# toml-docs-end debugging
|
|
|
|
# toml-docs-start docs
|
|
[docs]
|
|
github = "https://github.com/gethinode/hinode"
|
|
release = "https://github.com/gethinode/hinode/releases/tag/"
|
|
checkVersion = false
|
|
# toml-docs-end docs
|
|
|
|
# toml-docs-start home
|
|
[home]
|
|
# sections = ["posts"]
|
|
fullCover = false
|
|
centerHeadline = false
|
|
style = ""
|
|
[home.feature]
|
|
orientation = "horizontal"
|
|
color = "primary"
|
|
width = 4
|
|
align = "start"
|
|
# toml-docs-end home
|
|
|
|
# toml-docs-start navigation
|
|
[navigation]
|
|
anchor = true
|
|
logo = "/img/logo_icon.svg"
|
|
color = "body"
|
|
fixed = true
|
|
overlay = false
|
|
overlayMode = "dark"
|
|
horizontal = false
|
|
offset = "5.5rem"
|
|
search = true
|
|
searchModal = false
|
|
breadcrumb = true
|
|
toc = true
|
|
sidebar = true
|
|
size = "md"
|
|
# toml-docs-end navigation
|
|
|
|
# toml-docs-start messages
|
|
[messages]
|
|
placement = "bottom-right"
|
|
# toml-docs-end messages
|
|
|
|
# toml-docs-start sharing
|
|
[sharing]
|
|
enabled = true
|
|
sort = "weight"
|
|
reverse = false
|
|
webshare = true
|
|
|
|
[[sharing.providers]]
|
|
name = "LinkedIn"
|
|
url = "https://www.linkedin.com/sharing/share-offsite/?url={url}"
|
|
icon = "fab linkedin"
|
|
weight = 10
|
|
|
|
[[sharing.providers]]
|
|
name = "Twitter"
|
|
url = "https://twitter.com/home?status={url}"
|
|
icon = "fab x-twitter"
|
|
weight = 20
|
|
|
|
[[sharing.providers]]
|
|
name = "Facebook"
|
|
url = "https://www.facebook.com/sharer.php?u={url}"
|
|
icon = "fab facebook"
|
|
weight = 30
|
|
|
|
[[sharing.providers]]
|
|
name = "WhatsApp"
|
|
url = "whatsapp://send?text={title}%20{url}"
|
|
icon = "fab whatsapp"
|
|
weight = 40
|
|
|
|
[[sharing.providers]]
|
|
name = "email"
|
|
url = "{url}"
|
|
icon = "fas link"
|
|
weight = 50
|
|
clipboard = true
|
|
# toml-docs-end sharing
|
|
|
|
# toml-docs-start sections
|
|
# [sections]
|
|
# [sections.posts]
|
|
# title = "Posts"
|
|
# sort = "date"
|
|
# reverse = true
|
|
# nested = true
|
|
# cols = 3
|
|
# color = ""
|
|
# padding = "0"
|
|
# header = "full"
|
|
# footer = "none"
|
|
# orientation = "stacked"
|
|
# style = "border-0 card-zoom card-body-margin"
|
|
# homepage = 3
|
|
# separator = true
|
|
# toml-docs-end sections
|
|
|
|
[favicon]
|
|
logo = "img/favicon.png"
|
|
sizes = [16, 32, 48]
|
|
|
|
# toml-docs-start theme-colors
|
|
[style]
|
|
primary = "#d43900"
|
|
secondary = "#6c757d"
|
|
success = "#198754"
|
|
info = "#0dcaf0"
|
|
warning = "#ffc107"
|
|
danger = "#dc3545"
|
|
light = "#f8f9fa"
|
|
dark = "#212529"
|
|
# toml-docs-end theme-colors
|
|
themeOpacity = "10"
|
|
darkModeShade = "20%"
|
|
darkModeTint = "40%"
|
|
# toml-docs-start font
|
|
themeFont = "Inter"
|
|
# themeFontPath = "https://fonts.googleapis.com/css2?family=Inter:wght@200;300;600&display=swap" # external path
|
|
themeFontPath = "/fonts" # local path
|
|
themeFontPreload = "/fonts/inter-v12-latin-regular.woff2"
|
|
fontSizeBase = "1rem" # assumes the browser default, typically '16px'
|
|
# toml-docs-end font
|
|
# toml-docs-start build
|
|
purge = false
|
|
# toml-docs-end build
|
|
|
|
[schema]
|
|
type = "Organization"
|
|
name = "Hinode"
|
|
locale = "en-US"
|
|
# twitter = "https://twitter.com/gethinode"
|
|
# linkedIn = ""
|
|
github = "https://github.com/gethinode/hinode"
|
|
section = "blog"
|
|
[schema.author]
|
|
name = "Mark Dumay"
|
|
# twitter = "https://twitter.com/markdumay"
|
|
linkedin = "https://www.linkedin.com/in/markdumay/"
|
|
github = "https://github.com/markdumay"
|
|
[schema.logo]
|
|
url = "img/logo512x512.png"
|
|
width = 512
|
|
height = 512
|
|
[schema.image]
|
|
url = "img/logo1280x640.png"
|
|
width = 1280
|
|
height = 640
|
|
|
|
[opengraph]
|
|
images = ["logo.png"]
|
|
locale = "en_US"
|
|
|
|
[links]
|
|
hinode = "https://gethinode.com"
|
|
|
|
# toml-docs-start headers
|
|
[headers]
|
|
[headers.netlify]
|
|
source = "netlify.toml"
|
|
# toml-docs-end headers
|
|
|
|
# toml-docs-start csp
|
|
[modules.hinode.csp]
|
|
style-src = ["www.youtube.com"]
|
|
font-src = ["fonts.gstatic.com"]
|
|
frame-src = [
|
|
"player.cloudinary.com",
|
|
"www.youtube-nocookie.com",
|
|
"www.youtube.com"
|
|
]
|
|
img-src = [
|
|
"data:",
|
|
"*.imgix.net",
|
|
"*.imagekit.io",
|
|
"*.cloudinary.com",
|
|
"i.ytimg.com"
|
|
]
|
|
# toml-docs-end csp
|
|
|
|
[modules.vimeo]
|
|
local = true
|
|
integration = "optional"
|
|
state = "async"
|
|
url = "https://player.vimeo.com/api/player.js"
|
|
|
|
[modules.vimeo.csp]
|
|
frame-src = ["player.vimeo.com"]
|
|
img-src = ["i.vimeocdn.com"]
|
|
script-src = ["player.vimeo.com"]
|