mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-07 18:14:28 +00:00
Compare commits
206 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
dac09afbba | ||
![]() |
a35e59df3d | ||
![]() |
51b80d8820 | ||
![]() |
28c12e61e9 | ||
![]() |
c2d4782375 | ||
![]() |
4aa5723235 | ||
![]() |
6d602df62d | ||
![]() |
336f32b4a4 | ||
![]() |
1792ee527d | ||
![]() |
d750dcfb5a | ||
![]() |
448ebdbaad | ||
![]() |
7b8152d84e | ||
![]() |
df00db0447 | ||
![]() |
658a02798e | ||
![]() |
7329fdf3f9 | ||
![]() |
34550a3e00 | ||
![]() |
b88b17642d | ||
![]() |
ecb06164e0 | ||
![]() |
a4d9638cc1 | ||
![]() |
c8af80ab86 | ||
![]() |
1e06f4ef2c | ||
![]() |
3cfe1c296b | ||
![]() |
2b32c3c8fc | ||
![]() |
efa1ae2076 | ||
![]() |
35c869b729 | ||
![]() |
ccbc9b24d5 | ||
![]() |
680614d446 | ||
![]() |
93f6acd70d | ||
![]() |
8d761aa5d7 | ||
![]() |
9df7f951c6 | ||
![]() |
0bf7671675 | ||
![]() |
43a285db86 | ||
![]() |
f982b0f9d4 | ||
![]() |
669dfec6af | ||
![]() |
05ea55d73d | ||
![]() |
e64fdee0ea | ||
![]() |
90ef36d39a | ||
![]() |
d4321cea30 | ||
![]() |
9fd3781c25 | ||
![]() |
ed833307f8 | ||
![]() |
a73268fea6 | ||
![]() |
413082a23d | ||
![]() |
2b15ff26dc | ||
![]() |
42db5b3f9b | ||
![]() |
d3e58591be | ||
![]() |
5c9187a5ed | ||
![]() |
1db2652304 | ||
![]() |
003f9a329c | ||
![]() |
c7bed9de24 | ||
![]() |
1de5aa70da | ||
![]() |
eb51223fa8 | ||
![]() |
4b732c02f8 | ||
![]() |
3193ff6e0d | ||
![]() |
d66f8eef93 | ||
![]() |
9bb9bb580a | ||
![]() |
c29b43866a | ||
![]() |
e3d88bdf37 | ||
![]() |
a35db80260 | ||
![]() |
3d19b57d5e | ||
![]() |
3bd8f99678 | ||
![]() |
a01c726de4 | ||
![]() |
fe74653749 | ||
![]() |
c143634c4a | ||
![]() |
58e0946636 | ||
![]() |
d2dd3a32d0 | ||
![]() |
045dfd5a13 | ||
![]() |
ecab03d15c | ||
![]() |
6972f71077 | ||
![]() |
92c87629a0 | ||
![]() |
a0dd30d2c7 | ||
![]() |
50c6c80d8a | ||
![]() |
548ba82abe | ||
![]() |
31e47ad940 | ||
![]() |
f04f5719ec | ||
![]() |
8ab0d2fb1e | ||
![]() |
9f83f33afd | ||
![]() |
e9789a420c | ||
![]() |
8459665fcf | ||
![]() |
75083fe543 | ||
![]() |
d5d29bab37 | ||
![]() |
46d2e57e4b | ||
![]() |
8a0658e931 | ||
![]() |
9be5b22911 | ||
![]() |
71181905c3 | ||
![]() |
61a00fd205 | ||
![]() |
71c2e4f5c6 | ||
![]() |
14c05f62ad | ||
![]() |
712634ec57 | ||
![]() |
d8070914f9 | ||
![]() |
8006143d3f | ||
![]() |
b56516b77b | ||
![]() |
ac6a47e528 | ||
![]() |
d6f86a0a4c | ||
![]() |
d950555d75 | ||
![]() |
231425dbdf | ||
![]() |
2cccbc499a | ||
![]() |
92572a21bc | ||
![]() |
261c174739 | ||
![]() |
fbdfd10969 | ||
![]() |
2c2cd595c1 | ||
![]() |
2b6fc61628 | ||
![]() |
40096611cf | ||
![]() |
937b16ca60 | ||
![]() |
64d7ff5d93 | ||
![]() |
b7fb5bee75 | ||
![]() |
63d7d4de85 | ||
![]() |
035387d8c1 | ||
![]() |
f7c5769817 | ||
![]() |
6853a455cb | ||
![]() |
190f849b5a | ||
![]() |
1165ffffe0 | ||
![]() |
214812b750 | ||
![]() |
20f1a87d8b | ||
![]() |
66f904c7fb | ||
![]() |
cdf9d39242 | ||
![]() |
98c53ccd6d | ||
![]() |
5409aa7a63 | ||
![]() |
10a69d6bfd | ||
![]() |
705967641a | ||
![]() |
a5b49bdf70 | ||
![]() |
44d46f92c9 | ||
![]() |
78a2caf728 | ||
![]() |
7f5bebacab | ||
![]() |
b95ce558a6 | ||
![]() |
e75533a0ae | ||
![]() |
19a45b4399 | ||
![]() |
e08178cfce | ||
![]() |
b24c6bc21f | ||
![]() |
d1e06588a5 | ||
![]() |
13fb13ec10 | ||
![]() |
ccca047155 | ||
![]() |
7443319ad9 | ||
![]() |
db4ba8babe | ||
![]() |
c7c03ebc8c | ||
![]() |
4bd1578724 | ||
![]() |
ecd16fa3cc | ||
![]() |
3ef8a16e18 | ||
![]() |
3fc30b9941 | ||
![]() |
8fb9610c84 | ||
![]() |
dc88861a43 | ||
![]() |
871edd7aa4 | ||
![]() |
b172a5021a | ||
![]() |
9ddd1983d0 | ||
![]() |
2f00f07a2f | ||
![]() |
c043f26268 | ||
![]() |
99d689a323 | ||
![]() |
ec7275913b | ||
![]() |
255456447b | ||
![]() |
004940d9bc | ||
![]() |
6b39b028fb | ||
![]() |
9a83550378 | ||
![]() |
792443c4cf | ||
![]() |
3d52162925 | ||
![]() |
80b28f7557 | ||
![]() |
43eebdf53f | ||
![]() |
b5062fe687 | ||
![]() |
51aa15266b | ||
![]() |
19f638a129 | ||
![]() |
aa2e5ca6f4 | ||
![]() |
04eea0db71 | ||
![]() |
4645f4ee7c | ||
![]() |
bb6421c70b | ||
![]() |
622c6ee1c0 | ||
![]() |
f1befb05cc | ||
![]() |
e146e3a559 | ||
![]() |
068e773ab0 | ||
![]() |
3ae91a78a1 | ||
![]() |
6627446961 | ||
![]() |
d4fd6ece60 | ||
![]() |
a746fd147c | ||
![]() |
d0410af879 | ||
![]() |
314f1a0ca4 | ||
![]() |
066c5ce8eb | ||
![]() |
bba9629f54 | ||
![]() |
d2d59ec3ef | ||
![]() |
c080be2872 | ||
![]() |
3c17234b33 | ||
![]() |
16884abcba | ||
![]() |
2abbe4f6de | ||
![]() |
c6f9de0a64 | ||
![]() |
39f104fa5f | ||
![]() |
437ad0dbf7 | ||
![]() |
2eb354d941 | ||
![]() |
5a7f46bca4 | ||
![]() |
0bc37ff426 | ||
![]() |
0d24f85e13 | ||
![]() |
d067171ba2 | ||
![]() |
09e649d432 | ||
![]() |
87c7bd4238 | ||
![]() |
19734f6a1f | ||
![]() |
12a5ebad9f | ||
![]() |
1b964777a4 | ||
![]() |
f910d1bbbb | ||
![]() |
86461c9739 | ||
![]() |
a730255eb6 | ||
![]() |
e940cc9931 | ||
![]() |
3a70d25f2e | ||
![]() |
9e72e5fe73 | ||
![]() |
561bdcac28 | ||
![]() |
11cd2bb167 | ||
![]() |
45a71fc1d1 | ||
![]() |
3f5c10319b | ||
![]() |
e4331c8ce7 | ||
![]() |
6166615629 | ||
![]() |
27c15b4e36 | ||
![]() |
c99e8c83d1 |
2
LICENSE
2
LICENSE
@@ -1,6 +1,6 @@
|
|||||||
MIT License
|
MIT License
|
||||||
|
|
||||||
Copyright (c) 2024 Mark Dumay
|
Copyright (c) 2022-2025 Mark Dumay
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
@@ -1,9 +1,12 @@
|
|||||||
/* eslint-disable */
|
/* eslint-disable */
|
||||||
{{- if site.Params.main.enableLanguageSelectionStorage -}}
|
{{- if site.Params.main.enableLanguageSelectionStorage -}}
|
||||||
|
{{- $folder := (urls.Parse site.BaseURL).Path | default "/" -}}
|
||||||
|
|
||||||
(() => {
|
(() => {
|
||||||
'use strict'
|
'use strict'
|
||||||
|
|
||||||
|
const folder = '{{ $folder }}'
|
||||||
|
|
||||||
// Function to get the selected language from local storage
|
// Function to get the selected language from local storage
|
||||||
function getLanguage () {
|
function getLanguage () {
|
||||||
return getLocalStorage('selectedLanguage', document.documentElement.lang, 'functional')
|
return getLocalStorage('selectedLanguage', document.documentElement.lang, 'functional')
|
||||||
@@ -22,17 +25,37 @@
|
|||||||
window.location.href = href
|
window.location.href = href
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
window.location.href = '/' + language + '/'
|
let target = folder + language + '/'
|
||||||
|
if (window.location.href !== target) {
|
||||||
|
window.location.href = target
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Event listener for language selection
|
// Event listener for language selection
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const storedLanguage = getLanguage()
|
// override stored language when query string contains force is true
|
||||||
const languageItems = document.querySelectorAll('#language-selector .dropdown-item')
|
let params = new URLSearchParams(document.location.search)
|
||||||
|
let force = params.get('force')
|
||||||
|
if (force !== null && force.toLowerCase() == 'true') {
|
||||||
|
setLanguage(document.documentElement.lang)
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if (languageItems.length > 0) {
|
// continue with regular code
|
||||||
|
const storedLanguage = getLanguage()
|
||||||
|
const languageItems = document.querySelectorAll('#language-selector[data-translated=true] .dropdown-item')
|
||||||
|
|
||||||
|
const link = document.querySelector("link[rel='canonical']")
|
||||||
|
let alias = ''
|
||||||
|
if (link !== null) {
|
||||||
|
alias = link.getAttribute('href')
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((alias !== '') && (window.location.href !== alias)) {
|
||||||
|
window.location.href = alias
|
||||||
|
} else if (languageItems.length > 0) {
|
||||||
// Redirect if the stored language differs from the active language
|
// Redirect if the stored language differs from the active language
|
||||||
if ((storedLanguage) && (document.documentElement.lang !== storedLanguage)) {
|
if ((storedLanguage) && (document.documentElement.lang !== storedLanguage)) {
|
||||||
languageItems.forEach(item => {
|
languageItems.forEach(item => {
|
||||||
@@ -54,10 +77,8 @@
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Redirect to the localized homepage
|
// overrule the current stored language when no translation is available
|
||||||
const defaultLang = '{{ site.LanguageCode | default site.Language.Lang }}'
|
setLanguage(document.documentElement.lang)
|
||||||
let language = storedLanguage ? storedLanguage : defaultLang
|
|
||||||
window.location.href = '/' + language + '/'
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})()
|
})()
|
||||||
|
@@ -14,23 +14,22 @@ function webShareAPI (title, description, link) {
|
|||||||
.catch((error) => console.log('Error sharing', error))
|
.catch((error) => console.log('Error sharing', error))
|
||||||
}
|
}
|
||||||
|
|
||||||
const shareBtn = document.getElementById('btn-webshare')
|
const shareButtons = document.querySelectorAll('[data-sharing-url]')
|
||||||
|
shareButtons.forEach(btn => {
|
||||||
if (shareBtn !== null) {
|
|
||||||
if (navigator.share) {
|
if (navigator.share) {
|
||||||
const title = shareBtn.getAttribute('data-sharing-title')
|
const title = btn.getAttribute('data-sharing-title')
|
||||||
const description = shareBtn.getAttribute('data-sharing-description')
|
const description = btn.getAttribute('data-sharing-description')
|
||||||
const url = shareBtn.getAttribute('data-sharing-url')
|
const url = btn.getAttribute('data-sharing-url')
|
||||||
|
|
||||||
// show button if it supports webShareAPI
|
// show button if it supports webShareAPI
|
||||||
shareBtn.style.display = 'block'
|
btn.style.display = 'block'
|
||||||
shareBtn.addEventListener('click', () =>
|
btn.addEventListener('click', () =>
|
||||||
webShareAPI(title, description, url)
|
webShareAPI(title, description, url)
|
||||||
)
|
)
|
||||||
} else {
|
} else {
|
||||||
// hide button if host does not support Web Share API
|
// hide button if host does not support Web Share API
|
||||||
shareBtn.style.display = 'none'
|
btn.style.display = 'none'
|
||||||
}
|
}
|
||||||
}
|
})
|
||||||
|
|
||||||
{{- end -}}
|
{{- end -}}
|
@@ -25,6 +25,8 @@ strong {
|
|||||||
$black: #000 !default;
|
$black: #000 !default;
|
||||||
$btn-toggle-color: $black !default;
|
$btn-toggle-color: $black !default;
|
||||||
|
|
||||||
|
$card-color: var(--bs-body-color);
|
||||||
|
|
||||||
$carousel-dark-indicator-active-bg: #fff !default;
|
$carousel-dark-indicator-active-bg: #fff !default;
|
||||||
$carousel-dark-caption-color: #fff !default;
|
$carousel-dark-caption-color: #fff !default;
|
||||||
$carousel-dark-control-icon-filter: invert(0) grayscale(100) !default;
|
$carousel-dark-control-icon-filter: invert(0) grayscale(100) !default;
|
||||||
|
@@ -1,4 +1,8 @@
|
|||||||
.nav-tabs > .nav-link.active {
|
.nav-tabs .nav-tabs {
|
||||||
|
border: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-tabs .nav-link.active {
|
||||||
border-bottom-color: var(--bs-body-bg) !important;
|
border-bottom-color: var(--bs-body-bg) !important;
|
||||||
border-bottom-style: solid !important;
|
border-bottom-style: solid !important;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
@@ -12,13 +16,13 @@
|
|||||||
column-gap: var(--#{$prefix}nav-callout-gap) !important;
|
column-gap: var(--#{$prefix}nav-callout-gap) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-callout > .tab-content {
|
.nav-callout + .tab-content {
|
||||||
background-color: var(--#{$prefix}nav-callout-bg);
|
background-color: var(--#{$prefix}nav-callout-bg);
|
||||||
padding: 2 * $spacer;
|
padding: 2 * $spacer;
|
||||||
margin-top: 0 !important;
|
margin-top: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-callout > .nav-link {
|
.nav-callout .nav-link {
|
||||||
display: flex;
|
display: flex;
|
||||||
text-align: start;
|
text-align: start;
|
||||||
vertical-align: text-top;
|
vertical-align: text-top;
|
||||||
@@ -27,7 +31,7 @@
|
|||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-callout > .nav-link.active {
|
.nav-callout .nav-link.active {
|
||||||
background-image: linear-gradient(to top right, var(--#{$prefix}nav-callout-bg) 50%, transparent 0);
|
background-image: linear-gradient(to top right, var(--#{$prefix}nav-callout-bg) 50%, transparent 0);
|
||||||
background-size: 50% (3 * $spacer);
|
background-size: 50% (3 * $spacer);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
@@ -53,7 +57,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-callout > .accordion-item {
|
.nav-callout .accordion-item {
|
||||||
margin-top: 2 * $spacer;
|
margin-top: 2 * $spacer;
|
||||||
margin-bottom: 2 * $spacer;
|
margin-bottom: 2 * $spacer;
|
||||||
border: none;
|
border: none;
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
# toml-docs-start main
|
# toml-docs-start main
|
||||||
title = "Hinode"
|
title = "Hinode"
|
||||||
copyright = "Copyright © 2024 Mark Dumay."
|
copyright = "Copyright © 2022 - 2025 Mark Dumay."
|
||||||
enableGitInfo = true
|
enableGitInfo = true
|
||||||
# toml-docs-end main
|
# toml-docs-end main
|
||||||
|
|
||||||
@@ -116,8 +116,7 @@ home = ["HTML", "RSS", "REDIR", "netlify", "server"]
|
|||||||
[module]
|
[module]
|
||||||
[module.hugoVersion]
|
[module.hugoVersion]
|
||||||
extended = true
|
extended = true
|
||||||
min = "0.134.0"
|
min = "0.136.3"
|
||||||
max = ""
|
|
||||||
[[module.mounts]]
|
[[module.mounts]]
|
||||||
source = "archetypes"
|
source = "archetypes"
|
||||||
target = "archetypes"
|
target = "archetypes"
|
||||||
@@ -139,6 +138,11 @@ home = ["HTML", "RSS", "REDIR", "netlify", "server"]
|
|||||||
[[module.mounts]]
|
[[module.mounts]]
|
||||||
source = "static"
|
source = "static"
|
||||||
target = "static"
|
target = "static"
|
||||||
|
# ensures main package.json is always available, even when using workspaces
|
||||||
|
# in workspaces, the package.json is pointing to the first imported module
|
||||||
|
[[module.mounts]]
|
||||||
|
source = "package.json"
|
||||||
|
target = "assets/data/package-hinode.json"
|
||||||
[[module.mounts]]
|
[[module.mounts]]
|
||||||
source = "netlify.toml"
|
source = "netlify.toml"
|
||||||
target = "assets/config/netlify.toml"
|
target = "assets/config/netlify.toml"
|
||||||
|
@@ -12,6 +12,7 @@
|
|||||||
breakpoint = "md"
|
breakpoint = "md"
|
||||||
[main.internalLinks]
|
[main.internalLinks]
|
||||||
validate = true
|
validate = true
|
||||||
|
pretty = false
|
||||||
[main.externalLinks]
|
[main.externalLinks]
|
||||||
cue = false
|
cue = false
|
||||||
tab = false
|
tab = false
|
||||||
@@ -219,7 +220,6 @@
|
|||||||
font-src = ["fonts.gstatic.com"]
|
font-src = ["fonts.gstatic.com"]
|
||||||
frame-src = [
|
frame-src = [
|
||||||
"player.cloudinary.com",
|
"player.cloudinary.com",
|
||||||
"player.vimeo.com",
|
|
||||||
"www.youtube-nocookie.com",
|
"www.youtube-nocookie.com",
|
||||||
"www.youtube.com"
|
"www.youtube.com"
|
||||||
]
|
]
|
||||||
@@ -228,7 +228,17 @@
|
|||||||
"*.imgix.net",
|
"*.imgix.net",
|
||||||
"*.imagekit.io",
|
"*.imagekit.io",
|
||||||
"*.cloudinary.com",
|
"*.cloudinary.com",
|
||||||
"i.vimeocdn.com",
|
|
||||||
"i.ytimg.com"
|
"i.ytimg.com"
|
||||||
]
|
]
|
||||||
# toml-docs-end csp
|
# 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"]
|
||||||
|
@@ -11,12 +11,12 @@
|
|||||||
default-src 'none'; \
|
default-src 'none'; \
|
||||||
font-src 'self' fonts.gstatic.com; \
|
font-src 'self' fonts.gstatic.com; \
|
||||||
form-action 'self'; \
|
form-action 'self'; \
|
||||||
frame-src player.cloudinary.com player.vimeo.com www.youtube-nocookie.com www.youtube.com; \
|
frame-src player.cloudinary.com www.youtube-nocookie.com www.youtube.com player.vimeo.com; \
|
||||||
img-src 'self' *.google-analytics.com *.googletagmanager.com data: *.imgix.net *.imagekit.io *.cloudinary.com i.vimeocdn.com i.ytimg.com tile.openstreetmap.org; \
|
img-src 'self' *.google-analytics.com *.googletagmanager.com data: *.imgix.net *.imagekit.io *.cloudinary.com i.ytimg.com tile.openstreetmap.org i.vimeocdn.com; \
|
||||||
manifest-src 'self'; \
|
manifest-src 'self'; \
|
||||||
media-src 'self'; \
|
media-src 'self'; \
|
||||||
object-src 'none'; \
|
object-src 'none'; \
|
||||||
script-src 'self' *.google-analytics.com *.googletagmanager.com; \
|
script-src 'self' *.google-analytics.com *.googletagmanager.com player.vimeo.com; \
|
||||||
style-src 'self' www.youtube.com; \
|
style-src 'self' www.youtube.com; \
|
||||||
"""
|
"""
|
||||||
Permissions-Policy = 'geolocation=(), midi=(), sync-xhr=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), fullscreen=(), payment=() '
|
Permissions-Policy = 'geolocation=(), midi=(), sync-xhr=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), fullscreen=(), payment=() '
|
||||||
|
@@ -38,3 +38,8 @@ arguments:
|
|||||||
type: string
|
type: string
|
||||||
optional: true
|
optional: true
|
||||||
comment: Class attribute of the tab control that wraps the file element.
|
comment: Class attribute of the tab control that wraps the file element.
|
||||||
|
options:
|
||||||
|
type: string
|
||||||
|
optional: true
|
||||||
|
comment: Hugo highlighting options.
|
||||||
|
release: v0.27.6
|
||||||
|
4
data/structures/ins.yml
Normal file
4
data/structures/ins.yml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
comment: Underlines text.
|
||||||
|
body:
|
||||||
|
optional: false
|
||||||
|
comment: Text to be underlined.
|
@@ -63,6 +63,15 @@ arguments:
|
|||||||
default: false
|
default: false
|
||||||
comment: >-
|
comment: >-
|
||||||
Flag to indicate if a link that contains baseURL host should be forced as external.
|
Flag to indicate if a link that contains baseURL host should be forced as external.
|
||||||
|
force:
|
||||||
|
type: bool
|
||||||
|
optional: true
|
||||||
|
default: false
|
||||||
|
comment: >-
|
||||||
|
Flag to indicate a link should bypass any language redirection. Only applicable when
|
||||||
|
the site param `enableLanguageSelectionStorage` is set to true. When `force` is true,
|
||||||
|
the link to a local page is kept as is.
|
||||||
|
release: v0.27.20
|
||||||
class:
|
class:
|
||||||
type: string
|
type: string
|
||||||
optional: true
|
optional: true
|
||||||
|
@@ -35,6 +35,21 @@ arguments:
|
|||||||
optional: true
|
optional: true
|
||||||
comment: Whether paging is enabled for the table.
|
comment: Whether paging is enabled for the table.
|
||||||
release: v0.24.13
|
release: v0.24.13
|
||||||
|
pagingOptionPerPage:
|
||||||
|
type: int
|
||||||
|
optional: true
|
||||||
|
comment: >-
|
||||||
|
Sets the maximum number of rows to display on each page. Requires
|
||||||
|
`paging = true`.
|
||||||
|
release: v0.27.8
|
||||||
|
pagingOptionPageSelect:
|
||||||
|
type: string
|
||||||
|
optional: true
|
||||||
|
comment: >-
|
||||||
|
Sets the per page options in the dropdown. Must be an array of integers or
|
||||||
|
arrays in the format [label (string), value (int)]. Requires
|
||||||
|
`paging = true`.
|
||||||
|
release: v0.27.8
|
||||||
searchable:
|
searchable:
|
||||||
type: bool
|
type: bool
|
||||||
optional: true
|
optional: true
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
resourcedir = '../resources/'
|
resourcedir = '../resources/'
|
||||||
title = "Hinode"
|
title = "Hinode"
|
||||||
copyright = "Copyright © 2024 Mark Dumay."
|
copyright = "Copyright © 2022 - 2025 Mark Dumay."
|
||||||
enableGitInfo = true
|
enableGitInfo = true
|
||||||
|
|
||||||
# additional settings
|
# additional settings
|
||||||
|
@@ -10,11 +10,13 @@
|
|||||||
breakpoint = "md"
|
breakpoint = "md"
|
||||||
[main.internalLinks]
|
[main.internalLinks]
|
||||||
validate = true
|
validate = true
|
||||||
|
pretty = true
|
||||||
[main.externalLinks]
|
[main.externalLinks]
|
||||||
cue = true
|
cue = true
|
||||||
tab = true
|
tab = true
|
||||||
[main.build]
|
[main.build]
|
||||||
transpiler = "dartsass"
|
transpiler = "dartsass"
|
||||||
|
silenceDeprecations = true
|
||||||
|
|
||||||
[debugging]
|
[debugging]
|
||||||
showJS = false
|
showJS = false
|
||||||
@@ -195,5 +197,4 @@
|
|||||||
hinode = "https://gethinode.com"
|
hinode = "https://gethinode.com"
|
||||||
|
|
||||||
[modules.cookieyes]
|
[modules.cookieyes]
|
||||||
# local = true
|
url = "https://cdn-cookieyes.com/client_data/a54b5553f349dd13bd225f8e/script.js"
|
||||||
url = "https://cdn-cookieyes.com/client_data/a54b5553f349dd13bd225f8e/script.js"
|
|
||||||
|
@@ -11,12 +11,12 @@
|
|||||||
default-src 'none'; \
|
default-src 'none'; \
|
||||||
font-src 'self' fonts.gstatic.com; \
|
font-src 'self' fonts.gstatic.com; \
|
||||||
form-action 'self'; \
|
form-action 'self'; \
|
||||||
frame-src player.cloudinary.com player.vimeo.com www.youtube-nocookie.com www.youtube.com; \
|
frame-src player.cloudinary.com www.youtube-nocookie.com www.youtube.com player.vimeo.com; \
|
||||||
img-src 'self' cdn-cookieyes.com *.google-analytics.com *.googletagmanager.com data: *.imgix.net *.imagekit.io *.cloudinary.com i.vimeocdn.com i.ytimg.com tile.openstreetmap.org; \
|
img-src 'self' cdn-cookieyes.com *.google-analytics.com *.googletagmanager.com data: *.imgix.net *.imagekit.io *.cloudinary.com i.ytimg.com tile.openstreetmap.org i.vimeocdn.com; \
|
||||||
manifest-src 'self'; \
|
manifest-src 'self'; \
|
||||||
media-src 'self'; \
|
media-src 'self'; \
|
||||||
object-src 'none'; \
|
object-src 'none'; \
|
||||||
script-src 'self' cdn-cookieyes.com *.google-analytics.com *.googletagmanager.com; \
|
script-src 'self' cdn-cookieyes.com *.google-analytics.com *.googletagmanager.com player.vimeo.com; \
|
||||||
style-src 'self' 'unsafe-inline' www.youtube.com; \
|
style-src 'self' 'unsafe-inline' www.youtube.com; \
|
||||||
"""
|
"""
|
||||||
Permissions-Policy = 'geolocation=(), midi=(), sync-xhr=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), fullscreen=(), payment=() '
|
Permissions-Policy = 'geolocation=(), midi=(), sync-xhr=(), microphone=(), camera=(), magnetometer=(), gyroscope=(), fullscreen=(), payment=() '
|
||||||
|
@@ -18,17 +18,17 @@ Hinode provides several shortcodes that wrap common Bootstrap components. Refer
|
|||||||
|
|
||||||
As an example, the following shortcode displays the full text of an abbreviation on hover.
|
As an example, the following shortcode displays the full text of an abbreviation on hover.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* abbr "CI/CD" */>}}
|
{{</* abbr "CI/CD" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Accordion
|
## Accordion
|
||||||
|
|
||||||
As an example, the following shortcode displays an accordion with three elements, of which the first element is expanded.
|
As an example, the following shortcode displays an accordion with three elements, of which the first element is expanded.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* accordion */>}}
|
{{</* accordion */>}}
|
||||||
{{</* accordion-item header="Accordion Item #1" show="true" */>}}
|
{{</* accordion-item header="Accordion Item #1" show="true" */>}}
|
||||||
@@ -43,25 +43,25 @@ As an example, the following shortcode displays an accordion with three elements
|
|||||||
{{</* /accordion-item */>}}
|
{{</* /accordion-item */>}}
|
||||||
{{</* /accordion */>}}
|
{{</* /accordion */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Alert
|
## Alert
|
||||||
|
|
||||||
As an example, the following shortcode displays a simple alert.
|
As an example, the following shortcode displays a simple alert.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* alert color="danger" dismissible="true" */>}}
|
{{</* alert color="danger" dismissible="true" */>}}
|
||||||
A simple danger alert—check it out!
|
A simple danger alert—check it out!
|
||||||
{{</* /alert */>}}
|
{{</* /alert */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Badge
|
## Badge
|
||||||
|
|
||||||
Use the badge shortcode to display a badge for a heading.
|
Use the badge shortcode to display a badge for a heading.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example >}}
|
{{< example >}}
|
||||||
Heading 1 {{</* badge title="New" */>}}
|
Heading 1 {{</* badge title="New" */>}}
|
||||||
{.h1}
|
{.h1}
|
||||||
@@ -81,35 +81,35 @@ Heading 5 {{</* badge title="New" */>}}
|
|||||||
Heading 6 {{</* badge title="New" */>}}
|
Heading 6 {{</* badge title="New" */>}}
|
||||||
{.h6}
|
{.h6}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Breadcrumb
|
## Breadcrumb
|
||||||
|
|
||||||
As an example, the following shortcode displays a breadcrumb for the blog page.
|
As an example, the following shortcode displays a breadcrumb for the blog page.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* breadcrumb path="blog" */>}}
|
{{</* breadcrumb path="blog" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Button
|
## Button
|
||||||
|
|
||||||
As an example, the following shortcode displays a tooltip for a dark button with a badge.
|
As an example, the following shortcode displays a tooltip for a dark button with a badge.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* button color="secondary" tooltip="Click on the inbox to view your unread messages" href="#!" badge="99+" */>}}
|
{{</* button color="secondary" tooltip="Click on the inbox to view your unread messages" href="#!" badge="99+" */>}}
|
||||||
Inbox
|
Inbox
|
||||||
{{</* /button */>}}
|
{{</* /button */>}}
|
||||||
{{< /example>}}
|
{{< /example>}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Button group
|
## Button group
|
||||||
|
|
||||||
As an example, the following shortcode displays a group of three buttons.
|
As an example, the following shortcode displays a group of three buttons.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* button-group aria-label="Basic example" */>}}
|
{{</* button-group aria-label="Basic example" */>}}
|
||||||
{{</* button color="primary" href="#!" */>}}Left{{</* /button */>}}
|
{{</* button color="primary" href="#!" */>}}Left{{</* /button */>}}
|
||||||
@@ -117,24 +117,24 @@ As an example, the following shortcode displays a group of three buttons.
|
|||||||
{{</* button color="primary" href="#!" */>}}Right{{</* /button */>}}
|
{{</* button color="primary" href="#!" */>}}Right{{</* /button */>}}
|
||||||
{{</* /button-group */>}}
|
{{</* /button-group */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Card
|
## Card
|
||||||
|
|
||||||
As an example, the following shortcode displays a stacked card that links to the [about]({{% ref "about" %}}) page. It includes a custom header.
|
As an example, the following shortcode displays a stacked card that links to the [about]({{% ref "about" %}}) page. It includes a custom header.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* card path="about" padding="3" class="col-6 mx-auto" color="body-tertiary"
|
{{</* card path="about" padding="3" class="col-6 mx-auto" color="body-tertiary"
|
||||||
header="publication" footer="none" button=true /*/>}}
|
header="publication" footer="none" button=true /*/>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Card group
|
## Card group
|
||||||
|
|
||||||
As an example, the following shortcode displays a card group of three elements.
|
As an example, the following shortcode displays a card group of three elements.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* card-group padding="3" gutter="3" button=true buttonType="link" cols=2 scroll=true */>}}
|
{{</* card-group padding="3" gutter="3" button=true buttonType="link" cols=2 scroll=true */>}}
|
||||||
{{</* card title="Bootstrap framework" icon="fab bootstrap" */>}}
|
{{</* card title="Bootstrap framework" icon="fab bootstrap" */>}}
|
||||||
@@ -149,13 +149,13 @@ As an example, the following shortcode displays a card group of three elements.
|
|||||||
{{</* /card */>}}
|
{{</* /card */>}}
|
||||||
{{</* /card-group */>}}
|
{{</* /card-group */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Carousel
|
## Carousel
|
||||||
|
|
||||||
As an example, the following shortcode displays a centered carousel with three slides, 16x9 aspect ratio, and a relative width of 67% on large screens.
|
As an example, the following shortcode displays a centered carousel with three slides, 16x9 aspect ratio, and a relative width of 67% on large screens.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* carousel ratio="16x9" class="col-sm-12 col-lg-8 mx-auto" */>}}
|
{{</* carousel ratio="16x9" class="col-sm-12 col-lg-8 mx-auto" */>}}
|
||||||
{{</* img src="img/coffee.jpg" caption="slide 1" */>}}
|
{{</* img src="img/coffee.jpg" caption="slide 1" */>}}
|
||||||
@@ -163,13 +163,13 @@ As an example, the following shortcode displays a centered carousel with three s
|
|||||||
{{</* img src="img/dunes.jpg" caption="slide 3" */>}}
|
{{</* img src="img/dunes.jpg" caption="slide 3" */>}}
|
||||||
{{</* /carousel */>}}
|
{{</* /carousel */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Collapse
|
## Collapse
|
||||||
|
|
||||||
As an example, the following shortcode displays a button that, when clicked, triggers a panel to appear or disappear.
|
As an example, the following shortcode displays a button that, when clicked, triggers a panel to appear or disappear.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* button collapse="collapse-1" */>}}
|
{{</* button collapse="collapse-1" */>}}
|
||||||
Trigger panel
|
Trigger panel
|
||||||
@@ -180,23 +180,23 @@ As an example, the following shortcode displays a button that, when clicked, tri
|
|||||||
revealed when the user activates the relevant trigger.
|
revealed when the user activates the relevant trigger.
|
||||||
{{</* /collapse */>}}
|
{{</* /collapse */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Command prompt
|
## Command prompt
|
||||||
|
|
||||||
Use the `command` shortcode to generate a block with a default bash command prompt.
|
Use the `command` shortcode to generate a block with a default bash command prompt.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* command */>}}
|
{{</* command */>}}
|
||||||
export MY_VAR=123
|
export MY_VAR=123
|
||||||
{{</* /command */>}}
|
{{</* /command */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
Specify `user` and `host` to add the user context to the prompt. In addition, use `(out)` to specify an output line and use `\` to denote a line continuation.
|
Specify `user` and `host` to add the user context to the prompt. In addition, use `(out)` to specify an output line and use `\` to denote a line continuation.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* command user="user" host="localhost" */>}}
|
{{</* command user="user" host="localhost" */>}}
|
||||||
export MY_VAR=123
|
export MY_VAR=123
|
||||||
@@ -210,7 +210,7 @@ echo "goodbye"
|
|||||||
(out)goodbye
|
(out)goodbye
|
||||||
{{</* /command */>}}
|
{{</* /command */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Docs
|
## Docs
|
||||||
|
|
||||||
@@ -222,47 +222,47 @@ Use the `docs` shortcode to display the content of a `js`, `scss` or `toml` file
|
|||||||
|
|
||||||
Use the `example` shortcode to display a code example and to render a preview of the same input.
|
Use the `example` shortcode to display a code example and to render a preview of the same input.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* command */>}}
|
{{</* command */>}}
|
||||||
export MY_VAR=123
|
export MY_VAR=123
|
||||||
{{</* /command */>}}
|
{{</* /command */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## File
|
## File
|
||||||
|
|
||||||
Use the `file` shortcode to print and highlight the full content of a given input file.
|
Use the `file` shortcode to print and highlight the full content of a given input file.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* file path="./config/_default/languages.toml" id="file-collapse-1" */>}}
|
{{</* file path="./config/_default/languages.toml" id="file-collapse-1" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Icon
|
## Icon
|
||||||
|
|
||||||
As an example, the following shortcodes show a square check, a brand logo, a circle check, and a custom icon.
|
As an example, the following shortcodes show a square check, a brand logo, a circle check, and a custom icon.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* fa square-check */>}}
|
{{</* fa square-check */>}}
|
||||||
{{</* fab linkedin */>}}
|
{{</* fab linkedin */>}}
|
||||||
{{</* fas circle-check */>}}
|
{{</* fas circle-check */>}}
|
||||||
{{</* icon custom activity */>}}
|
{{</* icon custom activity */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Image
|
## Image
|
||||||
|
|
||||||
As an example, the following shortcode displays an image with rounded corners and a 4x3 aspect ratio in portrait mode.
|
As an example, the following shortcode displays an image with rounded corners and a 4x3 aspect ratio in portrait mode.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* image src="img/flowers.jpg" ratio="4x3" caption="Figure caption" class="rounded col-md-6"
|
{{</* image src="img/flowers.jpg" ratio="4x3" caption="Figure caption" class="rounded col-md-6"
|
||||||
portrait=true wrapper="text-center" */>}}
|
portrait=true wrapper="text-center" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
The same image, but then using Markdown syntax:
|
The same image, but then using Markdown syntax:
|
||||||
|
|
||||||
@@ -273,25 +273,35 @@ The same image, but then using Markdown syntax:
|
|||||||
|
|
||||||
As an example, the following shortcode displays a regular vector image.
|
As an example, the following shortcode displays a regular vector image.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* image src="/img/logo_icon.svg" class="col-sm-6 col-lg-4" wrapper="text-center" */>}}
|
{{</* image src="/img/logo_icon.svg" class="col-sm-6 col-lg-4" wrapper="text-center" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
As an example, the following shortcode displays a vector image with a symbol reference.
|
As an example, the following shortcode displays a vector image with a symbol reference.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* image src="/img/logo_var.svg#logo" class="col-sm-6 col-lg-4" wrapper="text-center" */>}}
|
{{</* image src="/img/logo_var.svg#logo" class="col-sm-6 col-lg-4" wrapper="text-center" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
|
## Ins
|
||||||
|
|
||||||
|
As an example, the following shortcode displays underlined text.
|
||||||
|
|
||||||
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
|
{{< example >}}
|
||||||
|
This is an {{</* ins */>}}underlined text{{</* /ins */>}}.
|
||||||
|
{{< /example >}}
|
||||||
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Link
|
## Link
|
||||||
|
|
||||||
As an example, the following shortcodes render links in different formats.
|
As an example, the following shortcodes render links in different formats.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
|
|
||||||
- {{</* link hinode >}}Named link with default settings{{< /link */>}}
|
- {{</* link hinode >}}Named link with default settings{{< /link */>}}
|
||||||
@@ -306,28 +316,28 @@ As an example, the following shortcodes render links in different formats.
|
|||||||
- {{</* link url="../projects/another-project" case=false /*/>}}
|
- {{</* link url="../projects/another-project" case=false /*/>}}
|
||||||
- {{</* link "about" /*/>}}
|
- {{</* link "about" /*/>}}
|
||||||
- {{</* link "/fr/a-propos/" /*/>}}
|
- {{</* link "/fr/a-propos/" /*/>}}
|
||||||
- {{</* link "/fr/a-propos" >}}About (French){{< /link */>}}
|
- {{</* link href="/fr/a-propos" force=true >}}About (French){{< /link */>}}
|
||||||
- {{</* link "#image" /*/>}}
|
- {{</* link "#image" /*/>}}
|
||||||
- {{</* link "components/#map" /*/>}}
|
- {{</* link "components/#map" /*/>}}
|
||||||
|
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Mark
|
## Mark
|
||||||
|
|
||||||
Use the `mark` shortcode to highlight text. The inner content is used as input.
|
Use the `mark` shortcode to highlight text. The inner content is used as input.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
Use the mark shortcode to {{</* mark >}}highlight{{< /mark */>}} specific text.
|
Use the mark shortcode to {{</* mark >}}highlight{{< /mark */>}} specific text.
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Nav
|
## Nav
|
||||||
|
|
||||||
As an example, the following shortcode displays a tab group with vertically aligned pills.
|
As an example, the following shortcode displays a tab group with vertically aligned pills.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* nav type="pills" vertical="true" */>}}
|
{{</* nav type="pills" vertical="true" */>}}
|
||||||
{{</* nav-item header="Nav Item #1" show="true" */>}}
|
{{</* nav-item header="Nav Item #1" show="true" */>}}
|
||||||
@@ -342,23 +352,23 @@ As an example, the following shortcode displays a tab group with vertically alig
|
|||||||
{{</* /nav-item */>}}
|
{{</* /nav-item */>}}
|
||||||
{{</* /nav */>}}
|
{{</* /nav */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Navbar
|
## Navbar
|
||||||
|
|
||||||
As an example, the following shortcode displays a light navigation header.
|
As an example, the following shortcode displays a light navigation header.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* navbar id="navbar-sample" path="blog" color="primary" size="md" search="false" menus="sample" title="Brand" mode="false" */>}}
|
{{</* navbar id="navbar-sample" path="blog" color="primary" size="md" search="false" menus="sample" title="Brand" mode="false" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Persona
|
## Persona
|
||||||
|
|
||||||
As an example, the following shortcode displays a persona card with a primary color.
|
As an example, the following shortcode displays a persona card with a primary color.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* persona thumbnail="/img/creator-1x1.jpg" title="Creators" color="primary" */>}}
|
{{</* persona thumbnail="/img/creator-1x1.jpg" title="Creators" color="primary" */>}}
|
||||||
As a content creator you value your independence. You like to take control of your
|
As a content creator you value your independence. You like to take control of your
|
||||||
@@ -370,55 +380,55 @@ As an example, the following shortcode displays a persona card with a primary co
|
|||||||
Hinode.
|
Hinode.
|
||||||
{{</* /persona */>}}
|
{{</* /persona */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Release
|
## Release
|
||||||
|
|
||||||
As an example, the following shortcode displays a default release button.
|
As an example, the following shortcode displays a default release button.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* release version="v0.14.1" */>}}
|
{{</* release version="v0.14.1" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Spinner
|
## Spinner
|
||||||
|
|
||||||
As an example, the following shortcode displays a centered spinner.
|
As an example, the following shortcode displays a centered spinner.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* spinner color="info" class="text-center" */>}}
|
{{</* spinner color="info" class="text-center" */>}}
|
||||||
Loading...
|
Loading...
|
||||||
{{</* /spinner */>}}
|
{{</* /spinner */>}}
|
||||||
{{< /example>}}
|
{{< /example>}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Sub
|
## Sub
|
||||||
|
|
||||||
As an example, the following shortcode displays subscript text.
|
As an example, the following shortcode displays subscript text.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example >}}
|
{{< example >}}
|
||||||
H{{</* sub 2 */>}}O is a liquid.
|
H{{</* sub 2 */>}}O is a liquid.
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Sup
|
## Sup
|
||||||
|
|
||||||
As an example, the following shortcode displays superscript text.
|
As an example, the following shortcode displays superscript text.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example >}}
|
{{< example >}}
|
||||||
2{{</* sup 10 */>}} is 1024.
|
2{{</* sup 10 */>}} is 1024.
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Table
|
## Table
|
||||||
|
|
||||||
As an example, the following shortcode displays a responsive table.
|
As an example, the following shortcode displays a responsive table.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 MD058 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 MD058 -->{{% /comment %}}
|
||||||
{{< example lang="markdown" >}}
|
{{< example lang="markdown" >}}
|
||||||
{{</* table */>}}
|
{{</* table */>}}
|
||||||
| # | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading |
|
| # | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading |
|
||||||
@@ -428,23 +438,23 @@ As an example, the following shortcode displays a responsive table.
|
|||||||
| 3. | cell | cel | cel | cel | cel | cel | cel | cel | cel |
|
| 3. | cell | cel | cel | cel | cel | cel | cel | cel | cel |
|
||||||
{{</* /table */>}}
|
{{</* /table */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 MD058 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 MD058 -->{{% /comment %}}
|
||||||
|
|
||||||
## Timeline
|
## Timeline
|
||||||
|
|
||||||
As an example, the following shortcode displays a timeline with the file `data/timeline.en.yml` as data.
|
As an example, the following shortcode displays a timeline with the file `data/timeline.en.yml` as data.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* timeline data="timeline" background="dark" */>}}
|
{{</* timeline data="timeline" background="dark" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Toast
|
## Toast
|
||||||
|
|
||||||
As an example, the following shortcode displays a button that, when clicked, triggers the toast message.
|
As an example, the following shortcode displays a button that, when clicked, triggers the toast message.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* button toast="toast-example-1" */>}}
|
{{</* button toast="toast-example-1" */>}}
|
||||||
Show toast 1
|
Show toast 1
|
||||||
@@ -462,44 +472,24 @@ As an example, the following shortcode displays a button that, when clicked, tri
|
|||||||
This is the second toast message. It supports `markdown.`
|
This is the second toast message. It supports `markdown.`
|
||||||
{{</* /toast */>}}
|
{{</* /toast */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Tooltip
|
## Tooltip
|
||||||
|
|
||||||
As an example, the following shortcode displays a tooltip for a colored hyperlink.
|
As an example, the following shortcode displays a tooltip for a colored hyperlink.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* tooltip color="primary" title="Tooltip caption" href="#!" */>}}Tooltip{{</* /tooltip */>}} demonstration
|
{{</* tooltip color="primary" title="Tooltip caption" href="#!" */>}}Tooltip{{</* /tooltip */>}} demonstration
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Video
|
## Video
|
||||||
|
|
||||||
As an example, the following shortcode displays an Elephants video hosted by Cloudinary.
|
As an example, the following shortcode displays an Elephants video hosted by Cloudinary.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* video host="cloudinary" account="demo" id="elephants" autoplay=true */>}}
|
{{</* video host="cloudinary" account="demo" id="elephants" autoplay=true */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Vimeo
|
|
||||||
|
|
||||||
As an example, the following shortcode displays a Vimeo video.
|
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
|
||||||
{{< example lang="hugo" >}}
|
|
||||||
{{</* vimeo id="55073825" autoplay=true autotitle=true */>}}
|
|
||||||
{{< /example >}}
|
|
||||||
<!-- markdownlint-enable MD037 -->
|
|
||||||
|
|
||||||
## Youtube
|
|
||||||
|
|
||||||
As an example, the following shortcode displays a Hugo quickstart guide.
|
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
|
||||||
{{< example lang="hugo" >}}
|
|
||||||
{{</* youtube id="w7Ft2ymGmfc" autoplay=true autotitle=true */>}}
|
|
||||||
{{< /example >}}
|
|
||||||
<!-- markdownlint-enable MD037 -->
|
|
||||||
|
@@ -19,19 +19,19 @@ Hinode provides several shortcodes on top of the common [Bootstrap elements]({{%
|
|||||||
|
|
||||||
As an example, the following shortcode shows an animation that plays on hover.
|
As an example, the following shortcode shows an animation that plays on hover.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* animation data="gatin.json" auto=false hover=true class="col-6 mx-auto" */>}}
|
{{</* animation data="gatin.json" auto=false hover=true class="col-6 mx-auto" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Data tables
|
## Data tables
|
||||||
|
|
||||||
As an example, the following shortcode displays a responsive table that uses advanced controls.
|
As an example, the following shortcode displays a responsive table that uses advanced controls.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 MD058 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 MD058 -->{{% /comment %}}
|
||||||
{{< example lang="markdown" >}}
|
{{< example lang="markdown" >}}
|
||||||
{{</* table sortable="true" paging="true" searchable="true" */>}}
|
{{</* table sortable="true" paging="true" searchable="true" pagingOptionPerPage=5 */>}}
|
||||||
| # | Heading |
|
| # | Heading |
|
||||||
|-----|---------|
|
|-----|---------|
|
||||||
| 1. | Item 1 |
|
| 1. | Item 1 |
|
||||||
@@ -66,7 +66,7 @@ As an example, the following shortcode displays a responsive table that uses adv
|
|||||||
| 30. | Item 30 |
|
| 30. | Item 30 |
|
||||||
{{</* /table */>}}
|
{{</* /table */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Formula (KaTeX)
|
## Formula (KaTeX)
|
||||||
|
|
||||||
@@ -85,8 +85,8 @@ $$\forall x \in X, \quad \exists y \leq \epsilon$$
|
|||||||
|
|
||||||
As an example, the following shortcode displays an interactive map of the city of Amsterdam.
|
As an example, the following shortcode displays an interactive map of the city of Amsterdam.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* map lat=52.377 long=4.90 zoom=13 popup="Amsterdam Central Station" popup-lat=52.378062 popup-long=4.900562 */>}}
|
{{</* map lat=52.377 long=4.90 zoom=13 popup="Amsterdam Central Station" popup-lat=52.378062 popup-long=4.900562 */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
@@ -12,31 +12,31 @@ thumbnail:
|
|||||||
|
|
||||||
As an example, the following shortcode displays an image with rounded corners and a 21x9 aspect ratio.
|
As an example, the following shortcode displays an image with rounded corners and a 21x9 aspect ratio.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* image src="https://res.cloudinary.com/demo/dog.webp"
|
{{</* image src="https://res.cloudinary.com/demo/dog.webp"
|
||||||
ratio="21x9" caption="Cloudinary image" class="rounded" plain=true */>}}
|
ratio="21x9" caption="Cloudinary image" class="rounded" plain=true */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## ImageKit.io
|
## ImageKit.io
|
||||||
|
|
||||||
As an example, the following shortcode displays an image with rounded corners and a 21x9 aspect ratio.
|
As an example, the following shortcode displays an image with rounded corners and a 21x9 aspect ratio.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* image src="https://ik.imagekit.io/demo/default-image.jpg"
|
{{</* image src="https://ik.imagekit.io/demo/default-image.jpg"
|
||||||
ratio="21x9" caption="ImageKit.io image" class="rounded" anchor="Center" */>}}
|
ratio="21x9" caption="ImageKit.io image" class="rounded" anchor="Center" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Imgix
|
## Imgix
|
||||||
|
|
||||||
As an example, the following shortcode displays an image with rounded corners and a 21x9 aspect ratio.
|
As an example, the following shortcode displays an image with rounded corners and a 21x9 aspect ratio.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* image src="https://assets.imgix.net/examples/bluehat.jpg"
|
{{</* image src="https://assets.imgix.net/examples/bluehat.jpg"
|
||||||
ratio="21x9" caption="imgix image" class="rounded" anchor="Top" */>}}
|
ratio="21x9" caption="imgix image" class="rounded" anchor="Top" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
@@ -4,7 +4,7 @@ description: Cookie policy of gethinode.com
|
|||||||
date: 2024-09-19
|
date: 2024-09-19
|
||||||
layout: docs
|
layout: docs
|
||||||
---
|
---
|
||||||
<!-- markdownlint-disable MD036 -->
|
{{% comment %}}<!-- markdownlint-disable MD036 -->{{% /comment %}}
|
||||||
*Effective Date 19-Sep-2024*
|
*Effective Date 19-Sep-2024*
|
||||||
|
|
||||||
## What are cookies?
|
## What are cookies?
|
||||||
|
@@ -4,7 +4,7 @@ description: Privacy policy of gethinode.com
|
|||||||
date: 2024-09-19
|
date: 2024-09-19
|
||||||
layout: docs
|
layout: docs
|
||||||
---
|
---
|
||||||
<!-- markdownlint-disable MD036 -->
|
{{% comment %}}<!-- markdownlint-disable MD036 -->{{% /comment %}}
|
||||||
*Effective Date 19-Sep-2024*
|
*Effective Date 19-Sep-2024*
|
||||||
|
|
||||||
This Privacy Policy describes the policies of gethinode.com on the collection, use and disclosure of your information that we collect when you use our website (https://gethinode.com, referred to as the “Service”). By accessing or using the Service, you are consenting to the collection, use and disclosure of your information in accordance with this Privacy Policy. If you do not consent to the same, please do not access or use the Service.
|
This Privacy Policy describes the policies of gethinode.com on the collection, use and disclosure of your information that we collect when you use our website (https://gethinode.com, referred to as the “Service”). By accessing or using the Service, you are consenting to the collection, use and disclosure of your information in accordance with this Privacy Policy. If you do not consent to the same, please do not access or use the Service.
|
||||||
@@ -24,7 +24,7 @@ We may also disclose your personal information for the following: (1) to comply
|
|||||||
|
|
||||||
## Your rights
|
## Your rights
|
||||||
|
|
||||||
Depending on the law that applies, you may have a right to access and rectify or erase your personal data or receive a copy of your personal data, restrict or object to the active processing of your data, ask us to share (port) your personal information to another entity,withdraw any consent you provided to us to process your data, a right to lodge a complaint with a statutory authority and such other rights as may be relevant under applicable laws. <!-- To exercise these rights, you can write to us at privacy@gethinode.com. We will respond to your request in accordance with applicable law. -->
|
Depending on the law that applies, you may have a right to access and rectify or erase your personal data or receive a copy of your personal data, restrict or object to the active processing of your data, ask us to share (port) your personal information to another entity,withdraw any consent you provided to us to process your data, a right to lodge a complaint with a statutory authority and such other rights as may be relevant under applicable laws. {{% comment %}}<!-- To exercise these rights, you can write to us at privacy@gethinode.com. We will respond to your request in accordance with applicable law. -->{{% /comment %}}
|
||||||
|
|
||||||
Do note that if you do not allow us to collect or process the required personal information or withdraw the consent to process the same for the required purposes, you may not be able to access or use the services for which your information was sought.
|
Do note that if you do not allow us to collect or process the required personal information or withdraw the consent to process the same for the required purposes, you may not be able to access or use the services for which your information was sought.
|
||||||
|
|
||||||
@@ -40,8 +40,8 @@ The security of your information is important to us and we will use reasonable s
|
|||||||
|
|
||||||
Our Service may contain links to other websites that are not operated by us. This Privacy Policy does not address the privacy policy and other practices of any third parties, including any third party operating any website or service that may be accessible via a link on the Service. We strongly advise you to review the privacy policy of every site you visit. We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.
|
Our Service may contain links to other websites that are not operated by us. This Privacy Policy does not address the privacy policy and other practices of any third parties, including any third party operating any website or service that may be accessible via a link on the Service. We strongly advise you to review the privacy policy of every site you visit. We have no control over and assume no responsibility for the content, privacy policies or practices of any third party sites or services.
|
||||||
|
|
||||||
<!-- ## Grievance / Data Protection Officer
|
{{% comment %}}<!-- ## Grievance / Data Protection Officer
|
||||||
|
|
||||||
If you have any queries or concerns about the processing of your information that is available with us, you may email us at privacy@gethinode.com. We will address your concerns in accordance with applicable law. -->
|
If you have any queries or concerns about the processing of your information that is available with us, you may email us at privacy@gethinode.com. We will address your concerns in accordance with applicable law. -->{{% /comment %}}
|
||||||
|
|
||||||
*Privacy Policy generated with {{< link "https://www.cookieyes.com" >}}CookieYes{{< /link >}}.*
|
*Privacy Policy generated with {{< link "https://www.cookieyes.com" >}}CookieYes{{< /link >}}.*
|
||||||
|
@@ -19,17 +19,17 @@ Hinode propose plusieurs shortcodes qui enveloppent des composants Bootstrap cou
|
|||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche le texte complet d'une abréviation lorsque survolé.
|
À titre d'exemple, le shortcode suivant affiche le texte complet d'une abréviation lorsque survolé.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* abbr "CI/CD" */>}}
|
{{</* abbr "CI/CD" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Accordéon
|
## Accordéon
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche un accordéon avec trois éléments, dont le premier élément est déplié.
|
À titre d'exemple, le shortcode suivant affiche un accordéon avec trois éléments, dont le premier élément est déplié.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* accordion */>}}
|
{{</* accordion */>}}
|
||||||
{{</* accordion-item header="Élément d'accordéon #1" show="true" */>}}
|
{{</* accordion-item header="Élément d'accordéon #1" show="true" */>}}
|
||||||
@@ -43,25 +43,25 @@ Hinode propose plusieurs shortcodes qui enveloppent des composants Bootstrap cou
|
|||||||
{{</* /accordion-item */>}}
|
{{</* /accordion-item */>}}
|
||||||
{{</* /accordion */>}}
|
{{</* /accordion */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Alerte
|
## Alerte
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche une alerte simple.
|
À titre d'exemple, le shortcode suivant affiche une alerte simple.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* alert color="danger" dismissible="true" */>}}
|
{{</* alert color="danger" dismissible="true" */>}}
|
||||||
Une simple alerte de danger — vérifiez-la !
|
Une simple alerte de danger — vérifiez-la !
|
||||||
{{</* /alert */>}}
|
{{</* /alert */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Badge
|
## Badge
|
||||||
|
|
||||||
Utilisez le shortcode "badge" pour afficher un badge avec un en-tête.
|
Utilisez le shortcode "badge" pour afficher un badge avec un en-tête.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example >}}
|
{{< example >}}
|
||||||
En-tête 1 {{</* badge title="Nouveau" */>}}
|
En-tête 1 {{</* badge title="Nouveau" */>}}
|
||||||
{.h1}
|
{.h1}
|
||||||
@@ -81,35 +81,35 @@ En-tête 5 {{</* badge title="Nouveau" */>}}
|
|||||||
En-tête 6 {{</* badge title="Nouveau" */>}}
|
En-tête 6 {{</* badge title="Nouveau" */>}}
|
||||||
{.h6}
|
{.h6}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Fil d'Ariane
|
## Fil d'Ariane
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche un fil d'Ariane pour la page du blog.
|
À titre d'exemple, le shortcode suivant affiche un fil d'Ariane pour la page du blog.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* breadcrumb path="blog" */>}}
|
{{</* breadcrumb path="blog" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Bouton
|
## Bouton
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche une infobulle pour un bouton sombre avec un badge.
|
À titre d'exemple, le shortcode suivant affiche une infobulle pour un bouton sombre avec un badge.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* button color="secondary" tooltip="Cliquez sur la boîte de réception pour voir vos messages non lus." href="#!" badge="99+" */>}}
|
{{</* button color="secondary" tooltip="Cliquez sur la boîte de réception pour voir vos messages non lus." href="#!" badge="99+" */>}}
|
||||||
Boîte de réception
|
Boîte de réception
|
||||||
{{</* /button */>}}
|
{{</* /button */>}}
|
||||||
{{< /example>}}
|
{{< /example>}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Groupe de boutons
|
## Groupe de boutons
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche un groupe de trois boutons.
|
À titre d'exemple, le shortcode suivant affiche un groupe de trois boutons.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* button-group aria-label="Basic example" */>}}
|
{{</* button-group aria-label="Basic example" */>}}
|
||||||
{{</* button color="primary" href="#!" */>}}Gauche{{</* /button */>}}
|
{{</* button color="primary" href="#!" */>}}Gauche{{</* /button */>}}
|
||||||
@@ -117,26 +117,26 @@ En-tête 6 {{</* badge title="Nouveau" */>}}
|
|||||||
{{</* button color="primary" href="#!" */>}}Droite{{</* /button */>}}
|
{{</* button color="primary" href="#!" */>}}Droite{{</* /button */>}}
|
||||||
{{</* /button-group */>}}
|
{{</* /button-group */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Carte
|
## Carte
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche une carte empilée qui renvoie à la page [à propos]({{% ref "about" %}}). Elle inclut un en-tête personnalisé.
|
À titre d'exemple, le shortcode suivant affiche une carte empilée qui renvoie à la page [à propos]({{% ref "about" %}}). Elle inclut un en-tête personnalisé.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* card path="about" padding="3" class="col-6 mx-auto" color="body-tertiary"
|
{{</* card path="about" padding="3" class="col-6 mx-auto" color="body-tertiary"
|
||||||
header="publication" footer="none" button=true /*/>}}
|
header="publication" footer="none" button=true /*/>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Groupe de cartes
|
## Groupe de cartes
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche un groupe de cartes avec trois éléments.
|
À titre d'exemple, le shortcode suivant affiche un groupe de cartes avec trois éléments.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* card-group padding="3" gutter="3" */>}}
|
{{</* card-group padding="3" gutter="3" button=true buttonType="link" cols=2 scroll=true */>}}
|
||||||
{{</* card title="Framework Bootstrap" icon="fab bootstrap" */>}}
|
{{</* card title="Framework Bootstrap" icon="fab bootstrap" */>}}
|
||||||
Créez des sites rapides et réactifs avec Bootstrap 5. Personnalisez facilement votre site
|
Créez des sites rapides et réactifs avec Bootstrap 5. Personnalisez facilement votre site
|
||||||
avec les fichiers source Sass.
|
avec les fichiers source Sass.
|
||||||
@@ -151,13 +151,13 @@ En-tête 6 {{</* badge title="Nouveau" */>}}
|
|||||||
{{</* /card */>}}
|
{{</* /card */>}}
|
||||||
{{</* /card-group */>}}
|
{{</* /card-group */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Carrousel
|
## Carrousel
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche un carrousel centré avec trois slides, un rapport hauteur/largeur de 16:9 et une largeur relative de 67 % sur les grands écrans.
|
À titre d'exemple, le shortcode suivant affiche un carrousel centré avec trois slides, un rapport hauteur/largeur de 16:9 et une largeur relative de 67 % sur les grands écrans.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* carousel ratio="16x9" class="col-sm-12 col-lg-8 mx-auto" */>}}
|
{{</* carousel ratio="16x9" class="col-sm-12 col-lg-8 mx-auto" */>}}
|
||||||
{{</* img src="img/coffee.jpg" caption="slide 1" */>}}
|
{{</* img src="img/coffee.jpg" caption="slide 1" */>}}
|
||||||
@@ -165,13 +165,13 @@ En-tête 6 {{</* badge title="Nouveau" */>}}
|
|||||||
{{</* img src="img/dunes.jpg" caption="slide 3" */>}}
|
{{</* img src="img/dunes.jpg" caption="slide 3" */>}}
|
||||||
{{</* /carousel */>}}
|
{{</* /carousel */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Réduire
|
## Réduire
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche un bouton qui, lorsqu'il est cliqué, déclenche l'apparition ou la disparition d'un panneau.
|
À titre d'exemple, le shortcode suivant affiche un bouton qui, lorsqu'il est cliqué, déclenche l'apparition ou la disparition d'un panneau.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* button collapse="collapse-1" */>}}
|
{{</* button collapse="collapse-1" */>}}
|
||||||
Déclencher le panneau
|
Déclencher le panneau
|
||||||
@@ -182,23 +182,23 @@ En-tête 6 {{</* badge title="Nouveau" */>}}
|
|||||||
sera révélé lorsque l'utilisateur active le déclencheur correspondant.
|
sera révélé lorsque l'utilisateur active le déclencheur correspondant.
|
||||||
{{</* /collapse */>}}
|
{{</* /collapse */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Invite de commandes
|
## Invite de commandes
|
||||||
|
|
||||||
Utilisez le shortcode `command` pour générer un bloc avec un invite de commandes bash par défaut.
|
Utilisez le shortcode `command` pour générer un bloc avec un invite de commandes bash par défaut.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* command */>}}
|
{{</* command */>}}
|
||||||
export MY_VAR=123
|
export MY_VAR=123
|
||||||
{{</* /command */>}}
|
{{</* /command */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
Spécifiez `user` et `host` pour ajouter le contexte de l'utilisateur à l'invite. De plus, utilisez `(out)` pour spécifier une ligne de sortie et utilisez `\` pour indiquer une continuation de ligne.
|
Spécifiez `user` et `host` pour ajouter le contexte de l'utilisateur à l'invite. De plus, utilisez `(out)` pour spécifier une ligne de sortie et utilisez `\` pour indiquer une continuation de ligne.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* command user="user" host="localhost" */>}}
|
{{</* command user="user" host="localhost" */>}}
|
||||||
export MY_VAR=123
|
export MY_VAR=123
|
||||||
@@ -212,7 +212,7 @@ echo "goodbye"
|
|||||||
(out)goodbye
|
(out)goodbye
|
||||||
{{</* /command */>}}
|
{{</* /command */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
@@ -224,67 +224,67 @@ Utilisez le shortcode `docs` pour afficher le contenu d'un fichier `js`, `scss`
|
|||||||
|
|
||||||
Utilisez le shortcode `example` pour afficher un exemple de code et pour afficher un aperçu de la même entrée.
|
Utilisez le shortcode `example` pour afficher un exemple de code et pour afficher un aperçu de la même entrée.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* command */>}}
|
{{</* command */>}}
|
||||||
export MY_VAR=123
|
export MY_VAR=123
|
||||||
{{</* /command */>}}
|
{{</* /command */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Fichier
|
## Fichier
|
||||||
|
|
||||||
Utilisez le shortcode `file` pour afficher et mettre en évidence le contenu complet d'un fichier d'entrée donné.
|
Utilisez le shortcode `file` pour afficher et mettre en évidence le contenu complet d'un fichier d'entrée donné.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* file path="./config/_default/languages.toml" id="file-collapse-1" */>}}
|
{{</* file path="./config/_default/languages.toml" id="file-collapse-1" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Icon
|
## Icon
|
||||||
|
|
||||||
À titre d'exemple, les shortcodes suivants affichent une coche carrée, un logo de marque et une coche circulaire.
|
À titre d'exemple, les shortcodes suivants affichent une coche carrée, un logo de marque et une coche circulaire.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* fa square-check */>}}
|
{{</* fa square-check */>}}
|
||||||
{{</* fab linkedin */>}}
|
{{</* fab linkedin */>}}
|
||||||
{{</* fas circle-check */>}}
|
{{</* fas circle-check */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Image
|
## Image
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche une image avec des coins arrondis et un ratio d'aspect de 21:9.
|
À titre d'exemple, le shortcode suivant affiche une image avec des coins arrondis et un ratio d'aspect de 21:9.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* image src="img/flowers.jpg" ratio="21x9" caption="Légende de l'image" class="rounded" */>}}
|
{{</* image src="img/flowers.jpg" ratio="21x9" caption="Légende de l'image" class="rounded" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche une image vectorielle classique.
|
À titre d'exemple, le shortcode suivant affiche une image vectorielle classique.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* image src="/img/logo_icon.svg" class="col-sm-6 col-lg-4" wrapper="text-center" */>}}
|
{{</* image src="/img/logo_icon.svg" class="col-sm-6 col-lg-4" wrapper="text-center" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche une image vectorielle avec une référence de symbole.
|
À titre d'exemple, le shortcode suivant affiche une image vectorielle avec une référence de symbole.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* image src="/img/logo_var.svg#logo" class="col-sm-6 col-lg-4" wrapper="text-center" */>}}
|
{{</* image src="/img/logo_var.svg#logo" class="col-sm-6 col-lg-4" wrapper="text-center" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Lien
|
## Lien
|
||||||
|
|
||||||
À titre d'exemple, les shortcodes suivants rendent des liens dans différents formats.
|
À titre d'exemple, les shortcodes suivants rendent des liens dans différents formats.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
|
|
||||||
- {{</* link hinode >}}Lien nommé avec les paramètres par défaut{{< /link */>}}
|
- {{</* link hinode >}}Lien nommé avec les paramètres par défaut{{< /link */>}}
|
||||||
@@ -298,28 +298,28 @@ Utilisez le shortcode `file` pour afficher et mettre en évidence le contenu com
|
|||||||
- {{</* link url="../projects/another-project" case=false /*/>}}
|
- {{</* link url="../projects/another-project" case=false /*/>}}
|
||||||
- {{</* link "about" /*/>}}
|
- {{</* link "about" /*/>}}
|
||||||
- {{</* link "/en/about/" /*/>}}
|
- {{</* link "/en/about/" /*/>}}
|
||||||
- {{</* link "/en/about" >}}About (Anglais){{< /link */>}}
|
- {{</* link url="/en/about/" force=true >}}About (Anglais){{< /link */>}}
|
||||||
- {{</* link "#image" /*/>}}
|
- {{</* link "#image" /*/>}}
|
||||||
- {{</* link "components/#map" /*/>}}
|
- {{</* link "components/#map" /*/>}}
|
||||||
|
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Mark
|
## Mark
|
||||||
|
|
||||||
Utilisez le shortcode `mark` pour mettre en évidence le texte. Le contenu interne est utilisé en tant qu'entrée.
|
Utilisez le shortcode `mark` pour mettre en évidence le texte. Le contenu interne est utilisé en tant qu'entrée.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
Utilisez le shortcode `mark` pour {{</* mark >}}mettre en évidence{{< /mark */>}} un texte spécifique.
|
Utilisez le shortcode `mark` pour {{</* mark >}}mettre en évidence{{< /mark */>}} un texte spécifique.
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Navigation
|
## Navigation
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche un groupe d'onglets avec des onglets alignés verticalement.
|
À titre d'exemple, le shortcode suivant affiche un groupe d'onglets avec des onglets alignés verticalement.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* nav type="pills" vertical="true" */>}}
|
{{</* nav type="pills" vertical="true" */>}}
|
||||||
{{</* nav-item header="Élément de navigation #1" show="true" */>}}
|
{{</* nav-item header="Élément de navigation #1" show="true" */>}}
|
||||||
@@ -334,75 +334,75 @@ Utilisez le shortcode `mark` pour {{</* mark >}}mettre en évidence{{< /mark */>
|
|||||||
{{</* /nav-item */>}}
|
{{</* /nav-item */>}}
|
||||||
{{</* /nav */>}}
|
{{</* /nav */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Barre de navigation
|
## Barre de navigation
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche un en-tête de navigation clair.
|
À titre d'exemple, le shortcode suivant affiche un en-tête de navigation clair.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* navbar id="navbar-sample" path="blog" color="primary" size="md" search="false" menus="sample" title="Marque" mode="false" */>}}
|
{{</* navbar id="navbar-sample" path="blog" color="primary" size="md" search="false" menus="sample" title="Marque" mode="false" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Publication
|
## Publication
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche un bouton de publication par défaut.
|
À titre d'exemple, le shortcode suivant affiche un bouton de publication par défaut.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* release version="v0.14.1" */>}}
|
{{</* release version="v0.14.1" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Indicateur de chargement
|
## Indicateur de chargement
|
||||||
|
|
||||||
À titre d'exemple, le raccourci suivant affiche un indicateur de chargement centré.
|
À titre d'exemple, le raccourci suivant affiche un indicateur de chargement centré.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* spinner color="info" class="text-center" */>}}
|
{{</* spinner color="info" class="text-center" */>}}
|
||||||
Chargement...
|
Chargement...
|
||||||
{{</* /spinner */>}}
|
{{</* /spinner */>}}
|
||||||
{{< /example>}}
|
{{< /example>}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Sub
|
## Sub
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche du texte en indice.
|
À titre d'exemple, le shortcode suivant affiche du texte en indice.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example >}}
|
{{< example >}}
|
||||||
H{{</* sub 2 */>}}O est un liquide.
|
H{{</* sub 2 */>}}O est un liquide.
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Sup
|
## Sup
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche du texte en exposant.
|
À titre d'exemple, le shortcode suivant affiche du texte en exposant.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example >}}
|
{{< example >}}
|
||||||
2{{</* sup 10 */>}} équivaut à 1024.
|
2{{</* sup 10 */>}} équivaut à 1024.
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Chronologie
|
## Chronologie
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche une chronologie avec le fichier `data/timeline-fr.yml` en tant que données.
|
À titre d'exemple, le shortcode suivant affiche une chronologie avec le fichier `data/timeline-fr.yml` en tant que données.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* timeline data="timeline-fr" background="dark" */>}}
|
{{</* timeline data="timeline-fr" background="dark" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Notification
|
## Notification
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche un bouton qui, lorsqu'il est cliqué, déclenche le message de notification.
|
À titre d'exemple, le shortcode suivant affiche un bouton qui, lorsqu'il est cliqué, déclenche le message de notification.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* button toast="toast-example-1" */>}}
|
{{</* button toast="toast-example-1" */>}}
|
||||||
Affiche la notification #1
|
Affiche la notification #1
|
||||||
@@ -420,14 +420,24 @@ H{{</* sub 2 */>}}O est un liquide.
|
|||||||
Ceci est le deuxième message de notification. Il prend en charge le `markdown`.
|
Ceci est le deuxième message de notification. Il prend en charge le `markdown`.
|
||||||
{{</* /toast */>}}
|
{{</* /toast */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Infobulle
|
## Infobulle
|
||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche une infobulle pour un lien hypertexte coloré.
|
À titre d'exemple, le shortcode suivant affiche une infobulle pour un lien hypertexte coloré.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* tooltip color="primary" title="Légende de l'infobulle" href="#!" */>}}Démonstration{{</* /tooltip */>}} d'une infobulle
|
{{</* tooltip color="primary" title="Légende de l'infobulle" href="#!" */>}}Démonstration{{</* /tooltip */>}} d'une infobulle
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
|
## Vidéo
|
||||||
|
|
||||||
|
À titre d'exemple, le shortcode suivant affiche une vidéo d'éléphant hébergée par Cloudinary.
|
||||||
|
|
||||||
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
|
{{< example lang="hugo" >}}
|
||||||
|
{{</* video host="cloudinary" account="demo" id="elephants" autoplay=true */>}}
|
||||||
|
{{< /example >}}
|
||||||
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
@@ -11,7 +11,7 @@ thumbnail:
|
|||||||
authorURL: https://unsplash.com/@ryoji__iwata
|
authorURL: https://unsplash.com/@ryoji__iwata
|
||||||
origin: Unsplash
|
origin: Unsplash
|
||||||
originURL: https://unsplash.com/photos/5siQcvSxCP8
|
originURL: https://unsplash.com/photos/5siQcvSxCP8
|
||||||
modules: ["katex", "leaflet", "lottie"]
|
modules: ["leaflet", "lottie", "simple-datatables"]
|
||||||
---
|
---
|
||||||
|
|
||||||
Hinode propose plusieurs shortcodes en plus des [éléments Bootstrap]({{% relref "bootstrap-elements" %}}) courants. Consultez la [documentation officielle]({{% param "links.hinode_docs" %}}) pour plus de détails.
|
Hinode propose plusieurs shortcodes en plus des [éléments Bootstrap]({{% relref "bootstrap-elements" %}}) courants. Consultez la [documentation officielle]({{% param "links.hinode_docs" %}}) pour plus de détails.
|
||||||
@@ -20,18 +20,61 @@ Hinode propose plusieurs shortcodes en plus des [éléments Bootstrap]({{% relre
|
|||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche une animation qui se déclenche au survol.
|
À titre d'exemple, le shortcode suivant affiche une animation qui se déclenche au survol.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* animation data="gatin.json" auto=false hover=true class="col-6 mx-auto" */>}}
|
{{</* animation data="gatin.json" auto=false hover=true class="col-6 mx-auto" */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
|
## Data tables
|
||||||
|
|
||||||
|
À titre d'exemple, le shortcode suivant affiche un tableau réactif utilisant des contrôles avancés.
|
||||||
|
|
||||||
|
{{% comment %}}<!-- markdownlint-disable MD037 MD058 -->{{% /comment %}}
|
||||||
|
{{< example lang="markdown" >}}
|
||||||
|
{{</* table sortable="true" paging="true" searchable="true" pagingOptionPerPage=5 */>}}
|
||||||
|
| # | Heading |
|
||||||
|
|-----|---------|
|
||||||
|
| 1. | Item 1 |
|
||||||
|
| 2. | Item 2 |
|
||||||
|
| 3. | Item 3 |
|
||||||
|
| 4. | Item 4 |
|
||||||
|
| 5. | Item 5 |
|
||||||
|
| 6. | Item 6 |
|
||||||
|
| 7. | Item 7 |
|
||||||
|
| 8. | Item 8 |
|
||||||
|
| 9. | Item 9 |
|
||||||
|
| 10. | Item 10 |
|
||||||
|
| 11. | Item 11 |
|
||||||
|
| 12. | Item 12 |
|
||||||
|
| 13. | Item 13 |
|
||||||
|
| 14. | Item 14 |
|
||||||
|
| 15. | Item 15 |
|
||||||
|
| 16. | Item 16 |
|
||||||
|
| 17. | Item 17 |
|
||||||
|
| 18. | Item 18 |
|
||||||
|
| 19. | Item 19 |
|
||||||
|
| 20. | Item 20 |
|
||||||
|
| 21. | Item 21 |
|
||||||
|
| 22. | Item 22 |
|
||||||
|
| 23. | Item 23 |
|
||||||
|
| 24. | Item 24 |
|
||||||
|
| 25. | Item 25 |
|
||||||
|
| 26. | Item 26 |
|
||||||
|
| 27. | Item 27 |
|
||||||
|
| 28. | Item 28 |
|
||||||
|
| 29. | Item 29 |
|
||||||
|
| 30. | Item 30 |
|
||||||
|
{{</* /table */>}}
|
||||||
|
{{< /example >}}
|
||||||
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
## Formule (KaTeX)
|
## Formule (KaTeX)
|
||||||
|
|
||||||
À titre d'exemple, le markdown suivant affiche deux formules en utilisant la bibliothèque de composition typographique KaTeX.
|
À titre d’exemple, le markdown suivant affiche deux formules en utilisant la bibliothèque de composition typographique KaTeX.
|
||||||
|
|
||||||
{{< example lang="markdown" >}}
|
{{{< example lang="markdown" >}}
|
||||||
Voici une formule en ligne $-b \pm \sqrt{b^2 - 4ac} \over 2a$.
|
Voici une formule $-b \pm \sqrt{b^2 - 4ac} \over 2a$ en ligne
|
||||||
|
|
||||||
Il s'agit d'une formule non en ligne:
|
Il s'agit d'une formule non en ligne:
|
||||||
|
|
||||||
@@ -43,8 +86,8 @@ $$\forall x \in X, \quad \exists y \leq \epsilon$$
|
|||||||
|
|
||||||
À titre d'exemple, le shortcode suivant affiche une carte interactive de la ville d'Amsterdam.
|
À titre d'exemple, le shortcode suivant affiche une carte interactive de la ville d'Amsterdam.
|
||||||
|
|
||||||
<!-- markdownlint-disable MD037 -->
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
{{< example lang="hugo" >}}
|
{{< example lang="hugo" >}}
|
||||||
{{</* map lat=52.377 long=4.90 zoom=13 popup="Gare centrale d'Amsterdam" popup-lat=52.378062 popup-long=4.900562 */>}}
|
{{</* map lat=52.377 long=4.90 zoom=13 popup="Gare centrale d'Amsterdam" popup-lat=52.378062 popup-long=4.900562 */>}}
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
<!-- markdownlint-enable MD037 -->
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
42
exampleSite/content/fr/blog/image.md
Normal file
42
exampleSite/content/fr/blog/image.md
Normal file
@@ -0,0 +1,42 @@
|
|||||||
|
---
|
||||||
|
author: Mark Dumay
|
||||||
|
title: Images locales et distantes
|
||||||
|
date: 2024-05-19
|
||||||
|
description: Inclure des images responsives provenant de sources locales et de certains fournisseurs de CDN d'images.
|
||||||
|
tags: ["blog"]
|
||||||
|
thumbnail:
|
||||||
|
url: https://assets.imgix.net/examples/bluehat.jpg
|
||||||
|
---
|
||||||
|
|
||||||
|
## Cloudinary
|
||||||
|
|
||||||
|
À titre d'exemple, le shortcode suivant affiche une image avec des coins arrondis et un ratio d'aspect de 21x9.
|
||||||
|
|
||||||
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
|
{{< example lang="hugo" >}}
|
||||||
|
{{</* image src="https://res.cloudinary.com/demo/dog.webp"
|
||||||
|
ratio="21x9" caption="Image Cloudinary" class="rounded" plain=true */>}}
|
||||||
|
{{< /example >}}
|
||||||
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
|
## ImageKit.io
|
||||||
|
|
||||||
|
À titre d'exemple, le shortcode suivant affiche une image avec des coins arrondis et un ratio d'aspect de 21x9.
|
||||||
|
|
||||||
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
|
{{< example lang="hugo" >}}
|
||||||
|
{{</* image src="https://ik.imagekit.io/demo/default-image.jpg"
|
||||||
|
ratio="21x9" caption="Image ImageKit.io" class="rounded" anchor="Center" */>}}
|
||||||
|
{{< /example >}}
|
||||||
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
|
## Imgix
|
||||||
|
|
||||||
|
À titre d'exemple, le shortcode suivant affiche une image avec des coins arrondis et un ratio d'aspect de 21x9.
|
||||||
|
|
||||||
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
|
{{< example lang="hugo" >}}
|
||||||
|
{{</* image src="https://assets.imgix.net/examples/bluehat.jpg"
|
||||||
|
ratio="21x9" caption="Image imgix" class="rounded" anchor="Top" */>}}
|
||||||
|
{{< /example >}}
|
||||||
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
44
exampleSite/content/fr/cookies.md
Normal file
44
exampleSite/content/fr/cookies.md
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
---
|
||||||
|
title: Politique de Cookies
|
||||||
|
description: Politique de cookies de gethinode.com
|
||||||
|
date: 2024-09-19
|
||||||
|
layout: docs
|
||||||
|
---
|
||||||
|
{{% comment %}}<!-- markdownlint-disable MD036 -->{{% /comment %}}
|
||||||
|
*Date d'entrée en vigueur : 19-Sep-2024*
|
||||||
|
|
||||||
|
## Que sont les cookies ?
|
||||||
|
|
||||||
|
Cette Politique de Cookies explique ce que sont les cookies et comment nous les utilisons, les types de cookies que nous utilisons, c'est-à-dire les informations que nous collectons à l'aide des cookies, la manière dont ces informations sont utilisées, et comment gérer les paramètres des cookies.
|
||||||
|
|
||||||
|
Les cookies sont de petits fichiers texte utilisés pour stocker de petites quantités d'informations. Ils sont stockés sur votre appareil lorsque le site web se charge dans votre navigateur. Ces cookies nous aident à faire fonctionner le site correctement, à le rendre plus sécurisé, à offrir une meilleure expérience utilisateur, à comprendre comment le site fonctionne et à analyser ce qui fonctionne et ce qui doit être amélioré.
|
||||||
|
|
||||||
|
## Comment utilisons-nous les cookies ?
|
||||||
|
|
||||||
|
Comme la plupart des services en ligne, notre site web utilise des cookies de première partie et de tierce partie pour plusieurs raisons. Les cookies de première partie sont principalement nécessaires pour que le site web fonctionne correctement et ne collectent aucune de vos données personnelles identifiables.
|
||||||
|
|
||||||
|
Les cookies de tierce partie utilisés sur notre site web servent principalement à comprendre les performances du site, à savoir comment vous interagissez avec notre site, à maintenir la sécurité de nos services, à diffuser des publicités pertinentes pour vous, et dans l’ensemble à vous offrir une meilleure expérience utilisateur et à accélérer vos interactions futures avec notre site.
|
||||||
|
|
||||||
|
## Types de cookies que nous utilisons
|
||||||
|
|
||||||
|
{{< cky-audit >}}
|
||||||
|
|
||||||
|
## Gérer les préférences des cookies
|
||||||
|
|
||||||
|
{{< cky-banner >}}
|
||||||
|
|
||||||
|
Vous pouvez modifier vos préférences en matière de cookies à tout moment en cliquant sur le bouton ci-dessus. Cela vous permettra de revoir la bannière de consentement aux cookies et de modifier vos préférences ou de retirer votre consentement immédiatement.
|
||||||
|
|
||||||
|
En plus de cela, les différents navigateurs offrent différentes méthodes pour bloquer et supprimer les cookies utilisés par les sites web. Vous pouvez modifier les paramètres de votre navigateur pour bloquer/supprimer les cookies. Vous trouverez ci-dessous les liens vers les documents de support sur la gestion et la suppression des cookies des principaux navigateurs web.
|
||||||
|
|
||||||
|
Chrome : https://support.google.com/accounts/answer/32050
|
||||||
|
|
||||||
|
Safari : https://support.apple.com/fr-fr/guide/safari/sfri11471/mac
|
||||||
|
|
||||||
|
Firefox : https://support.mozilla.org/fr/kb/effacer-cookies-donnees-sites-firefox
|
||||||
|
|
||||||
|
Internet Explorer : https://support.microsoft.com/fr-fr/topic/supprimer-les-fichiers-cookies-dans-internet-explorer-bca9446f-d873-78de-77ba-d42645fa52fc
|
||||||
|
|
||||||
|
Si vous utilisez un autre navigateur, veuillez consulter les documents d'assistance officiels de votre navigateur.
|
||||||
|
|
||||||
|
*Politique de Cookies générée par {{< link "https://www.cookieyes.com" >}}CookieYes - Générateur de Politique de Cookies{{< /link >}}.*
|
46
exampleSite/content/fr/privacy.md
Normal file
46
exampleSite/content/fr/privacy.md
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
---
|
||||||
|
title: Politique de Confidentialité
|
||||||
|
description: Politique de confidentialité de gethinode.com
|
||||||
|
date: 2024-09-19
|
||||||
|
layout: docs
|
||||||
|
---
|
||||||
|
{{% comment %}}<!-- markdownlint-disable MD036 -->{{% /comment %}}
|
||||||
|
*Date d'entrée en vigueur : 19-Sep-2024*
|
||||||
|
|
||||||
|
Cette Politique de Confidentialité décrit les politiques de gethinode.com concernant la collecte, l'utilisation et la divulgation de vos informations que nous collectons lorsque vous utilisez notre site web (https://gethinode.com, désigné comme le « Service »). En accédant ou en utilisant le Service, vous consentez à la collecte, à l'utilisation et à la divulgation de vos informations conformément à cette Politique de Confidentialité. Si vous ne consentez pas à cela, veuillez ne pas accéder ou utiliser le Service.
|
||||||
|
|
||||||
|
Nous pouvons modifier cette Politique de Confidentialité à tout moment sans préavis préalable et publierons la Politique de Confidentialité révisée sur le Service. La Politique révisée sera effective 180 jours après sa publication sur le Service et votre accès ou utilisation continu(e) du Service après ce délai constituera votre acceptation de la Politique de Confidentialité révisée. Nous vous recommandons donc de consulter régulièrement cette page.
|
||||||
|
|
||||||
|
## Comment nous partageons vos informations
|
||||||
|
|
||||||
|
Nous ne transférerons pas vos informations personnelles à des tiers sans obtenir votre consentement, sauf dans les circonstances limitées décrites ci-dessous :
|
||||||
|
|
||||||
|
- Analyses
|
||||||
|
|
||||||
|
Nous demandons à ces tiers d'utiliser les informations personnelles que nous leur transférons uniquement aux fins pour lesquelles elles ont été transférées et de ne pas les conserver plus longtemps que nécessaire pour accomplir cet objectif.
|
||||||
|
|
||||||
|
Nous pouvons également divulguer vos informations personnelles pour les raisons suivantes : (1) pour se conformer aux lois, règlements, ordonnances judiciaires ou autres procédures légales applicables ; (2) pour faire respecter vos accords avec nous, y compris cette Politique de Confidentialité ; ou (3) pour répondre à des réclamations selon lesquelles votre utilisation du Service viole les droits de tiers. Si le Service ou notre société est fusionné ou acquis par une autre entreprise, vos informations seront l'un des actifs transférés au nouveau propriétaire.
|
||||||
|
|
||||||
|
## Vos droits
|
||||||
|
|
||||||
|
Selon les lois applicables, vous pouvez avoir le droit d'accéder à vos données personnelles, de les rectifier ou de les effacer, de recevoir une copie de vos données personnelles, de restreindre ou de vous opposer au traitement actif de vos données, de nous demander de partager (transférer) vos informations personnelles à une autre entité, de retirer tout consentement que vous nous avez donné pour traiter vos données, un droit de porter plainte auprès d'une autorité statutaire et d'autres droits pertinents en vertu des lois applicables. {{% comment %}}<!-- Pour exercer ces droits, vous pouvez nous écrire à privacy@gethinode.com. Nous répondrons à votre demande conformément aux lois applicables. -->{{% /comment %}}
|
||||||
|
|
||||||
|
Notez que si vous ne nous autorisez pas à collecter ou traiter les informations personnelles requises, ou si vous retirez votre consentement pour traiter celles-ci pour les fins requises, vous pourriez ne pas être en mesure d'accéder ou d'utiliser les services pour lesquels vos informations ont été demandées.
|
||||||
|
|
||||||
|
## Cookies, etc.
|
||||||
|
|
||||||
|
Pour en savoir plus sur la manière dont nous utilisons ces technologies de suivi et vos choix à leur égard, veuillez consulter notre {{< link "cookies" >}}Politique/Paramètres des Cookies{{< /link >}}.
|
||||||
|
|
||||||
|
## Sécurité
|
||||||
|
|
||||||
|
La sécurité de vos informations est importante pour nous et nous utiliserons des mesures de sécurité raisonnables pour prévenir la perte, l'utilisation abusive ou l'altération non autorisée de vos informations sous notre contrôle. Cependant, compte tenu des risques inhérents, nous ne pouvons garantir une sécurité absolue et par conséquent, nous ne pouvons garantir la sécurité des informations que vous nous transmettez ; vous le faites à vos propres risques.
|
||||||
|
|
||||||
|
## Liens vers des tiers et utilisation de vos informations
|
||||||
|
|
||||||
|
Notre Service peut contenir des liens vers d'autres sites web qui ne sont pas exploités par nous. Cette Politique de Confidentialité ne couvre pas la politique de confidentialité et les autres pratiques de tout tiers, y compris tout tiers exploitant tout site ou service qui pourrait être accessible via un lien sur le Service. Nous vous conseillons fortement de consulter la politique de confidentialité de chaque site que vous visitez. Nous n'avons aucun contrôle sur le contenu, les politiques de confidentialité ou les pratiques des sites ou services de tiers et déclinons toute responsabilité à cet égard.
|
||||||
|
|
||||||
|
{{% comment %}}<!-- ## Responsable des plaintes / Protection des données
|
||||||
|
|
||||||
|
Si vous avez des questions ou des préoccupations concernant le traitement de vos informations dont nous disposons, vous pouvez nous envoyer un e-mail à privacy@gethinode.com. Nous répondrons à vos préoccupations conformément aux lois applicables. -->{{% /comment %}}
|
||||||
|
|
||||||
|
*Politique de Confidentialité générée avec {{< link "https://www.cookieyes.com" >}}CookieYes{{< /link >}}.*
|
92
exampleSite/content/nl/blog/components.md
Normal file
92
exampleSite/content/nl/blog/components.md
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
---
|
||||||
|
author: Mark Dumay
|
||||||
|
title: Componenten
|
||||||
|
date: 2023-09-23
|
||||||
|
description: Gebruik shortcodes om diverse componenten vanuit een externe softwarebibliotheek toe te voegen.
|
||||||
|
tags: ["bootstrap", "shortcode"]
|
||||||
|
thumbnail:
|
||||||
|
url: img/puzzle.jpg
|
||||||
|
author: Ryoji Iwata
|
||||||
|
authorURL: https://unsplash.com/@ryoji__iwata
|
||||||
|
origin: Unsplash
|
||||||
|
originURL: https://unsplash.com/photos/5siQcvSxCP8
|
||||||
|
modules: ["leaflet", "lottie", "simple-datatables"]
|
||||||
|
---
|
||||||
|
|
||||||
|
Hinode bevat meerdere shortcodes naast de generieke Bootstrap elementen. Zie de [officiële documentatie]({{% param "links.hinode_docs" %}}) voor meer informatie.
|
||||||
|
|
||||||
|
## Animatie
|
||||||
|
|
||||||
|
Het volgende voorbeeld gebruikt een shortcode om een animatie te tonen, die afspeelt zodra je er met de muis overheen beweegt.
|
||||||
|
|
||||||
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
|
{{< example lang="hugo" >}}
|
||||||
|
{{</* animation data="gatin.json" auto=false hover=true class="col-6 mx-auto" */>}}
|
||||||
|
{{< /example >}}
|
||||||
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
||||||
|
|
||||||
|
## Gegevenstabellen
|
||||||
|
|
||||||
|
Het volgende voorbeeld gebruikt een shortcode om een responsieve tabel met geavanceerde mogelijkheden te tonen.
|
||||||
|
|
||||||
|
{{% comment %}}<!-- markdownlint-disable MD037 MD058 -->{{% /comment %}}
|
||||||
|
{{< example lang="markdown" >}}
|
||||||
|
{{</* table sortable="true" paging="true" searchable="true" pagingOptionPerPage=5 */>}}
|
||||||
|
| # | Kop |
|
||||||
|
|-----|---------|
|
||||||
|
| 1. | Item 1 |
|
||||||
|
| 2. | Item 2 |
|
||||||
|
| 3. | Item 3 |
|
||||||
|
| 4. | Item 4 |
|
||||||
|
| 5. | Item 5 |
|
||||||
|
| 6. | Item 6 |
|
||||||
|
| 7. | Item 7 |
|
||||||
|
| 8. | Item 8 |
|
||||||
|
| 9. | Item 9 |
|
||||||
|
| 10. | Item 10 |
|
||||||
|
| 11. | Item 11 |
|
||||||
|
| 12. | Item 12 |
|
||||||
|
| 13. | Item 13 |
|
||||||
|
| 14. | Item 14 |
|
||||||
|
| 15. | Item 15 |
|
||||||
|
| 16. | Item 16 |
|
||||||
|
| 17. | Item 17 |
|
||||||
|
| 18. | Item 18 |
|
||||||
|
| 19. | Item 19 |
|
||||||
|
| 20. | Item 20 |
|
||||||
|
| 21. | Item 21 |
|
||||||
|
| 22. | Item 22 |
|
||||||
|
| 23. | Item 23 |
|
||||||
|
| 24. | Item 24 |
|
||||||
|
| 25. | Item 25 |
|
||||||
|
| 26. | Item 26 |
|
||||||
|
| 27. | Item 27 |
|
||||||
|
| 28. | Item 28 |
|
||||||
|
| 29. | Item 29 |
|
||||||
|
| 30. | Item 30 |
|
||||||
|
{{</* /table */>}}
|
||||||
|
{{< /example >}}
|
||||||
|
{{% comment %}}<!-- markdownlint-enable MD037 MD058 -->{{% /comment %}}
|
||||||
|
|
||||||
|
## Formule (KaTeX)
|
||||||
|
|
||||||
|
Het volgende voorbeeld gebruikt Markdown om twee formules met behulp van KaTeX op de server te genereren.
|
||||||
|
|
||||||
|
{{< example lang="markdown" >}}
|
||||||
|
Dit is een inline $-b \pm \sqrt{b^2 - 4ac} \over 2a$ formule
|
||||||
|
|
||||||
|
Dit is geen inline formule:
|
||||||
|
|
||||||
|
$$x = a_0 + \frac{1}{a_1 + \frac{1}{a_2 + \frac{1}{a_3 + a_4}}}$$
|
||||||
|
$$\forall x \in X, \quad \exists y \leq \epsilon$$
|
||||||
|
{{< /example >}}
|
||||||
|
|
||||||
|
## Kaart
|
||||||
|
|
||||||
|
Het volgende voorbeeld gebruikt een shortcode om een interactieve kaart van Amsterdam te tonen.
|
||||||
|
|
||||||
|
{{% comment %}}<!-- markdownlint-disable MD037 -->{{% /comment %}}
|
||||||
|
{{< example lang="hugo" >}}
|
||||||
|
{{</* map lat=52.377 long=4.90 zoom=13 popup="Amsterdam Central Station" popup-lat=52.378062 popup-long=4.900562 */>}}
|
||||||
|
{{< /example >}}
|
||||||
|
{{% comment %}}<!-- markdownlint-enable MD037 -->{{% /comment %}}
|
@@ -3,5 +3,5 @@ module github.com/gethinode/hinode/exampleSite
|
|||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/gethinode/mod-cookieyes/v2 v2.2.2 // indirect
|
github.com/gethinode/mod-cookieyes/v2 v2.2.3 // indirect
|
||||||
)
|
)
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
github.com/gethinode/mod-cookieyes/v2 v2.2.2 h1:VNIdbZnzXw/0Jito/IcDNqQ9yRYLCGrDwyrMqtSJgE4=
|
github.com/gethinode/mod-cookieyes/v2 v2.2.3 h1:l7aSymSZ/FKYBQFCKXDUN1UiTJX+yvuyB8bmh4fPrG0=
|
||||||
github.com/gethinode/mod-cookieyes/v2 v2.2.2/go.mod h1:tULb7D7CoTycGUyL7ryqHJKaX11XuL2SN+XwP7/DI0Y=
|
github.com/gethinode/mod-cookieyes/v2 v2.2.3/go.mod h1:tULb7D7CoTycGUyL7ryqHJKaX11XuL2SN+XwP7/DI0Y=
|
||||||
|
@@ -22,6 +22,7 @@
|
|||||||
"iframe",
|
"iframe",
|
||||||
"img",
|
"img",
|
||||||
"input",
|
"input",
|
||||||
|
"ins",
|
||||||
"label",
|
"label",
|
||||||
"li",
|
"li",
|
||||||
"link",
|
"link",
|
||||||
@@ -315,7 +316,7 @@
|
|||||||
"mt-5",
|
"mt-5",
|
||||||
"mt-auto",
|
"mt-auto",
|
||||||
"mt-md-0",
|
"mt-md-0",
|
||||||
"multi-docs-collapse-15",
|
"multi-docs-collapse-41",
|
||||||
"multi-file-collapse-1",
|
"multi-file-collapse-1",
|
||||||
"mx-auto",
|
"mx-auto",
|
||||||
"mx-md-0",
|
"mx-md-0",
|
||||||
@@ -495,15 +496,15 @@
|
|||||||
"accordéon",
|
"accordéon",
|
||||||
"alert",
|
"alert",
|
||||||
"alerte",
|
"alerte",
|
||||||
|
"animatie",
|
||||||
"animation",
|
"animation",
|
||||||
"badge",
|
"badge",
|
||||||
"barre-de-navigation",
|
"barre-de-navigation",
|
||||||
"blog",
|
"blog",
|
||||||
"body-docs-collapse-15",
|
"body-docs-collapse-41",
|
||||||
"body-file-collapse-1",
|
"body-file-collapse-1",
|
||||||
"bouton",
|
"bouton",
|
||||||
"breadcrumb",
|
"breadcrumb",
|
||||||
"btn-webshare",
|
|
||||||
"button",
|
"button",
|
||||||
"button-group",
|
"button-group",
|
||||||
"card",
|
"card",
|
||||||
@@ -517,6 +518,8 @@
|
|||||||
"collapse",
|
"collapse",
|
||||||
"collapse-1",
|
"collapse-1",
|
||||||
"command-prompt",
|
"command-prompt",
|
||||||
|
"comment-nous-partageons-vos-informations",
|
||||||
|
"comment-utilisons-nous-les-cookies-",
|
||||||
"cookies-etc",
|
"cookies-etc",
|
||||||
"custom-activity",
|
"custom-activity",
|
||||||
"data-tables",
|
"data-tables",
|
||||||
@@ -557,12 +560,14 @@
|
|||||||
"fichier",
|
"fichier",
|
||||||
"fil-dariane",
|
"fil-dariane",
|
||||||
"file",
|
"file",
|
||||||
"footer-docs-collapse-15",
|
"footer-docs-collapse-41",
|
||||||
"footer-file-collapse-1",
|
"footer-file-collapse-1",
|
||||||
"formula-katex",
|
"formula-katex",
|
||||||
"formule-katex",
|
"formule-katex",
|
||||||
|
"gegevenstabellen",
|
||||||
"groupe-de-boutons",
|
"groupe-de-boutons",
|
||||||
"groupe-de-cartes",
|
"groupe-de-cartes",
|
||||||
|
"gérer-les-préférences-des-cookies",
|
||||||
"how-do-we-use-cookies",
|
"how-do-we-use-cookies",
|
||||||
"how-we-share-your-information",
|
"how-we-share-your-information",
|
||||||
"icon",
|
"icon",
|
||||||
@@ -571,23 +576,26 @@
|
|||||||
"imgix",
|
"imgix",
|
||||||
"indicateur-de-chargement",
|
"indicateur-de-chargement",
|
||||||
"infobulle",
|
"infobulle",
|
||||||
|
"ins",
|
||||||
"invite-de-commandes",
|
"invite-de-commandes",
|
||||||
|
"kaart",
|
||||||
"language-selector",
|
"language-selector",
|
||||||
"leaflet-map-0",
|
"leaflet-map-0",
|
||||||
"lien",
|
"lien",
|
||||||
|
"liens-vers-des-tiers-et-utilisation-de-vos-informations",
|
||||||
"link",
|
"link",
|
||||||
"lottie-animation-0",
|
"lottie-animation-0",
|
||||||
"manage-cookie-preferences",
|
"manage-cookie-preferences",
|
||||||
"map",
|
"map",
|
||||||
"mark",
|
"mark",
|
||||||
"nav",
|
"nav",
|
||||||
"nav-0",
|
|
||||||
"nav-0-0",
|
"nav-0-0",
|
||||||
"nav-0-1",
|
"nav-0-1",
|
||||||
"nav-0-2",
|
"nav-0-2",
|
||||||
"nav-0-btn-0",
|
"nav-0-btn-0",
|
||||||
"nav-0-btn-1",
|
"nav-0-btn-1",
|
||||||
"nav-0-btn-2",
|
"nav-0-btn-2",
|
||||||
|
"nav-nav-0",
|
||||||
"navbar",
|
"navbar",
|
||||||
"navbar-0-collapse",
|
"navbar-0-collapse",
|
||||||
"navbar-mode",
|
"navbar-mode",
|
||||||
@@ -600,12 +608,14 @@
|
|||||||
"projects",
|
"projects",
|
||||||
"projets",
|
"projets",
|
||||||
"publication",
|
"publication",
|
||||||
|
"que-sont-les-cookies-",
|
||||||
"release",
|
"release",
|
||||||
"réduire",
|
"réduire",
|
||||||
"security",
|
"security",
|
||||||
"spinner",
|
"spinner",
|
||||||
"sub",
|
"sub",
|
||||||
"sup",
|
"sup",
|
||||||
|
"sécurité",
|
||||||
"table",
|
"table",
|
||||||
"third-party-links--use-of-your-information",
|
"third-party-links--use-of-your-information",
|
||||||
"timeline",
|
"timeline",
|
||||||
@@ -617,12 +627,13 @@
|
|||||||
"toast-message-email-4",
|
"toast-message-email-4",
|
||||||
"toc-collapse",
|
"toc-collapse",
|
||||||
"tooltip",
|
"tooltip",
|
||||||
|
"types-de-cookies-que-nous-utilisons",
|
||||||
"types-of-cookies-we-use",
|
"types-of-cookies-we-use",
|
||||||
"video",
|
"video",
|
||||||
"vimeo",
|
"vidéo",
|
||||||
|
"vos-droits",
|
||||||
"what-are-cookies",
|
"what-are-cookies",
|
||||||
"your-rights",
|
"your-rights"
|
||||||
"youtube"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
12
go.mod
12
go.mod
@@ -5,15 +5,15 @@ go 1.19
|
|||||||
require (
|
require (
|
||||||
github.com/airbnb/lottie-web v5.12.2+incompatible // indirect
|
github.com/airbnb/lottie-web v5.12.2+incompatible // indirect
|
||||||
github.com/gethinode/mod-bootstrap v1.3.1 // indirect
|
github.com/gethinode/mod-bootstrap v1.3.1 // indirect
|
||||||
github.com/gethinode/mod-csp v1.0.3 // indirect
|
github.com/gethinode/mod-csp v1.0.6 // indirect
|
||||||
github.com/gethinode/mod-flexsearch/v2 v2.0.1 // indirect
|
github.com/gethinode/mod-flexsearch/v2 v2.0.2 // indirect
|
||||||
github.com/gethinode/mod-fontawesome v1.10.0 // indirect
|
github.com/gethinode/mod-fontawesome v1.10.0 // indirect
|
||||||
github.com/gethinode/mod-google-analytics v1.1.3 // indirect
|
github.com/gethinode/mod-google-analytics v1.1.6 // indirect
|
||||||
github.com/gethinode/mod-katex v1.1.2 // indirect
|
github.com/gethinode/mod-katex v1.1.2 // indirect
|
||||||
github.com/gethinode/mod-leaflet v1.2.0 // indirect
|
github.com/gethinode/mod-leaflet v1.2.0 // indirect
|
||||||
github.com/gethinode/mod-lottie v1.5.11 // indirect
|
github.com/gethinode/mod-lottie v1.5.13 // indirect
|
||||||
github.com/gethinode/mod-simple-datatables v1.0.14 // indirect
|
github.com/gethinode/mod-simple-datatables v1.1.5 // indirect
|
||||||
github.com/gethinode/mod-utils/v2 v2.8.2 // indirect
|
github.com/gethinode/mod-utils/v2 v2.8.4 // indirect
|
||||||
github.com/nextapps-de/flexsearch v0.0.0-20240501124520-961c3ae84a87 // indirect
|
github.com/nextapps-de/flexsearch v0.0.0-20240501124520-961c3ae84a87 // indirect
|
||||||
github.com/twbs/bootstrap v5.3.3+incompatible // indirect
|
github.com/twbs/bootstrap v5.3.3+incompatible // indirect
|
||||||
)
|
)
|
||||||
|
32
go.sum
32
go.sum
@@ -32,6 +32,12 @@ github.com/gethinode/mod-csp v1.0.2 h1:KX8EeoCGbHhGSo5r0YIa9BmPZ6S6v7L9CChTejREk
|
|||||||
github.com/gethinode/mod-csp v1.0.2/go.mod h1:Nb22QMicoUHgZQUKP5TCgVrSI8K3KU7jLuLBShmotjg=
|
github.com/gethinode/mod-csp v1.0.2/go.mod h1:Nb22QMicoUHgZQUKP5TCgVrSI8K3KU7jLuLBShmotjg=
|
||||||
github.com/gethinode/mod-csp v1.0.3 h1:tRmnuVZ3UpCc9HR8qsAwbU0OJ/UsNVSbse0SZuwGcCg=
|
github.com/gethinode/mod-csp v1.0.3 h1:tRmnuVZ3UpCc9HR8qsAwbU0OJ/UsNVSbse0SZuwGcCg=
|
||||||
github.com/gethinode/mod-csp v1.0.3/go.mod h1:Nb22QMicoUHgZQUKP5TCgVrSI8K3KU7jLuLBShmotjg=
|
github.com/gethinode/mod-csp v1.0.3/go.mod h1:Nb22QMicoUHgZQUKP5TCgVrSI8K3KU7jLuLBShmotjg=
|
||||||
|
github.com/gethinode/mod-csp v1.0.4 h1:ChI+DMkkkCF5tKs+K9VSqdsXPS01/QANQiJ2LoJp10o=
|
||||||
|
github.com/gethinode/mod-csp v1.0.4/go.mod h1:Nb22QMicoUHgZQUKP5TCgVrSI8K3KU7jLuLBShmotjg=
|
||||||
|
github.com/gethinode/mod-csp v1.0.5 h1:Ypdzw26iQ9/4sAgHvwFY1mg/EMoLrcI2knvVmHq2Ffs=
|
||||||
|
github.com/gethinode/mod-csp v1.0.5/go.mod h1:Nb22QMicoUHgZQUKP5TCgVrSI8K3KU7jLuLBShmotjg=
|
||||||
|
github.com/gethinode/mod-csp v1.0.6 h1:ufEKQldQe9ZCXbENTpwqVlYnPRgVv3WDhPjur5OLUEA=
|
||||||
|
github.com/gethinode/mod-csp v1.0.6/go.mod h1:Nb22QMicoUHgZQUKP5TCgVrSI8K3KU7jLuLBShmotjg=
|
||||||
github.com/gethinode/mod-flexsearch v1.0.1 h1:FJkRsUzSnQTXl3MWCigT4E6vfff870UWTnkGqaDGIhA=
|
github.com/gethinode/mod-flexsearch v1.0.1 h1:FJkRsUzSnQTXl3MWCigT4E6vfff870UWTnkGqaDGIhA=
|
||||||
github.com/gethinode/mod-flexsearch v1.0.1/go.mod h1:TXbGbWsvmhBdsTzRt887mcpFfr4ORpzG3+h/l4W3YM4=
|
github.com/gethinode/mod-flexsearch v1.0.1/go.mod h1:TXbGbWsvmhBdsTzRt887mcpFfr4ORpzG3+h/l4W3YM4=
|
||||||
github.com/gethinode/mod-flexsearch v1.1.0 h1:7BCMyQDlYlskNXuazt8Jg/jg9WREexu2xVkYqThkAX4=
|
github.com/gethinode/mod-flexsearch v1.1.0 h1:7BCMyQDlYlskNXuazt8Jg/jg9WREexu2xVkYqThkAX4=
|
||||||
@@ -82,6 +88,8 @@ github.com/gethinode/mod-flexsearch v1.12.1 h1:clkGUWaNPe9Dt/66Apy7oH9NwVQfnD6Op
|
|||||||
github.com/gethinode/mod-flexsearch v1.12.1/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
|
github.com/gethinode/mod-flexsearch v1.12.1/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
|
||||||
github.com/gethinode/mod-flexsearch/v2 v2.0.1 h1:5unGUSb1tX1LBtKygnLfdt7CnVJuFKSt6VXiKRxdojc=
|
github.com/gethinode/mod-flexsearch/v2 v2.0.1 h1:5unGUSb1tX1LBtKygnLfdt7CnVJuFKSt6VXiKRxdojc=
|
||||||
github.com/gethinode/mod-flexsearch/v2 v2.0.1/go.mod h1:d7MMkVlz0l6cEk76e0mkveEsDxGfu5Sv+HUIhoGguhE=
|
github.com/gethinode/mod-flexsearch/v2 v2.0.1/go.mod h1:d7MMkVlz0l6cEk76e0mkveEsDxGfu5Sv+HUIhoGguhE=
|
||||||
|
github.com/gethinode/mod-flexsearch/v2 v2.0.2 h1:5FkLbjORwKvK544H/yaAltyIB7eptRPxxh5VcfDDeqM=
|
||||||
|
github.com/gethinode/mod-flexsearch/v2 v2.0.2/go.mod h1:d7MMkVlz0l6cEk76e0mkveEsDxGfu5Sv+HUIhoGguhE=
|
||||||
github.com/gethinode/mod-fontawesome v1.0.2 h1:ZSK6D20/w4y5GnfYfTBB58uHD0ChIfkpKfRGwioS9rg=
|
github.com/gethinode/mod-fontawesome v1.0.2 h1:ZSK6D20/w4y5GnfYfTBB58uHD0ChIfkpKfRGwioS9rg=
|
||||||
github.com/gethinode/mod-fontawesome v1.0.2/go.mod h1:Ki1qkWEOiF0hQpCgWeZRw+HkpL6nd1DxKFptU0O2feI=
|
github.com/gethinode/mod-fontawesome v1.0.2/go.mod h1:Ki1qkWEOiF0hQpCgWeZRw+HkpL6nd1DxKFptU0O2feI=
|
||||||
github.com/gethinode/mod-fontawesome v1.1.0 h1:rsDzUI+3ZlS/do2ff3ne8/z3KwHeysmuA+WsXlumXXk=
|
github.com/gethinode/mod-fontawesome v1.1.0 h1:rsDzUI+3ZlS/do2ff3ne8/z3KwHeysmuA+WsXlumXXk=
|
||||||
@@ -140,6 +148,12 @@ github.com/gethinode/mod-google-analytics v1.1.2 h1:mcoqaRRorut+PxYxJnOEMfKIlVII
|
|||||||
github.com/gethinode/mod-google-analytics v1.1.2/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
|
github.com/gethinode/mod-google-analytics v1.1.2/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
|
||||||
github.com/gethinode/mod-google-analytics v1.1.3 h1:24qxV5vKIex3zSdow+5r0o8rox1lrO31oGi0/XusBy4=
|
github.com/gethinode/mod-google-analytics v1.1.3 h1:24qxV5vKIex3zSdow+5r0o8rox1lrO31oGi0/XusBy4=
|
||||||
github.com/gethinode/mod-google-analytics v1.1.3/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
|
github.com/gethinode/mod-google-analytics v1.1.3/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
|
||||||
|
github.com/gethinode/mod-google-analytics v1.1.4 h1:GkLzbSdVIMLWSQ4VOSaJZIKyofmVCzueiuiGc29jQOM=
|
||||||
|
github.com/gethinode/mod-google-analytics v1.1.4/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
|
||||||
|
github.com/gethinode/mod-google-analytics v1.1.5 h1:wlOcgwNEJAnIQmPJIo3cT06xnr1dxN/ydUIztoC/7rM=
|
||||||
|
github.com/gethinode/mod-google-analytics v1.1.5/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
|
||||||
|
github.com/gethinode/mod-google-analytics v1.1.6 h1:0eNIM4NTzXnnRHMM04IVnYPPGwbMAmit6fjuUuCQv2I=
|
||||||
|
github.com/gethinode/mod-google-analytics v1.1.6/go.mod h1:dl628cFozpCvoIMCiV7ujzQipjxcm3eatXrSfLPWNII=
|
||||||
github.com/gethinode/mod-katex v1.0.0 h1:me/3dIIZBkfk1mRIFt8QiAGYwYDoSG5bc2hHRtIutFc=
|
github.com/gethinode/mod-katex v1.0.0 h1:me/3dIIZBkfk1mRIFt8QiAGYwYDoSG5bc2hHRtIutFc=
|
||||||
github.com/gethinode/mod-katex v1.0.0/go.mod h1:byAfpI3wuqNJIooTGVEGc1cjBhhCy4+CcK1H6495MYg=
|
github.com/gethinode/mod-katex v1.0.0/go.mod h1:byAfpI3wuqNJIooTGVEGc1cjBhhCy4+CcK1H6495MYg=
|
||||||
github.com/gethinode/mod-katex v1.0.1 h1:809QUztxmKgMNchU+v03iMO7Ma+ISc3ZzhXYauc21rs=
|
github.com/gethinode/mod-katex v1.0.1 h1:809QUztxmKgMNchU+v03iMO7Ma+ISc3ZzhXYauc21rs=
|
||||||
@@ -236,6 +250,10 @@ github.com/gethinode/mod-lottie v1.5.10 h1:tYFgk74T9zWy2FRkfkRI+8QVQy6lnuABnTeWQ
|
|||||||
github.com/gethinode/mod-lottie v1.5.10/go.mod h1:L7NpvCAm04R59GSAAm/UFoDCs/6UtrIC5zQEjgQSr4k=
|
github.com/gethinode/mod-lottie v1.5.10/go.mod h1:L7NpvCAm04R59GSAAm/UFoDCs/6UtrIC5zQEjgQSr4k=
|
||||||
github.com/gethinode/mod-lottie v1.5.11 h1:xhxBPDS0iyUY+C1ANaD5EeQV7fO1FG0wMoCjgrCMi/0=
|
github.com/gethinode/mod-lottie v1.5.11 h1:xhxBPDS0iyUY+C1ANaD5EeQV7fO1FG0wMoCjgrCMi/0=
|
||||||
github.com/gethinode/mod-lottie v1.5.11/go.mod h1:6FKqk8c+Jkbk2udCxUKVLF1K1wrGwthPsOvRzeoPXRQ=
|
github.com/gethinode/mod-lottie v1.5.11/go.mod h1:6FKqk8c+Jkbk2udCxUKVLF1K1wrGwthPsOvRzeoPXRQ=
|
||||||
|
github.com/gethinode/mod-lottie v1.5.12 h1:ny+5DfxWpgRPszhrSUqg+BcNt05ai1OvPAEgCuioFnA=
|
||||||
|
github.com/gethinode/mod-lottie v1.5.12/go.mod h1:0WZP8x7duK/AIZ8fWdZNRnteG03kYfLtsaph7z1mdOg=
|
||||||
|
github.com/gethinode/mod-lottie v1.5.13 h1:Vth/OZDjfBZ9Kz5ew3tXGj9tU6w4StIta6qgfa1daZo=
|
||||||
|
github.com/gethinode/mod-lottie v1.5.13/go.mod h1:tMFSUW9z3kC8IvDfs1ph9MGjuZFRBrpCnpodrwY+L4w=
|
||||||
github.com/gethinode/mod-simple-datatables v1.0.0 h1:Dj4WGw12OkaimwkCpLn5Jhmd49dvNJW9O2P/W9F+HlQ=
|
github.com/gethinode/mod-simple-datatables v1.0.0 h1:Dj4WGw12OkaimwkCpLn5Jhmd49dvNJW9O2P/W9F+HlQ=
|
||||||
github.com/gethinode/mod-simple-datatables v1.0.0/go.mod h1:K8T7fIdb8pMOB+OSW4A5lz5IW99+HyzcTgx764fvOGw=
|
github.com/gethinode/mod-simple-datatables v1.0.0/go.mod h1:K8T7fIdb8pMOB+OSW4A5lz5IW99+HyzcTgx764fvOGw=
|
||||||
github.com/gethinode/mod-simple-datatables v1.0.2 h1:zhqxHet3iLQWYCBbGROALpOY9zQlptMycFkz1Tto5bA=
|
github.com/gethinode/mod-simple-datatables v1.0.2 h1:zhqxHet3iLQWYCBbGROALpOY9zQlptMycFkz1Tto5bA=
|
||||||
@@ -260,6 +278,16 @@ github.com/gethinode/mod-simple-datatables v1.0.13 h1:3GTn46Zh56SFzCUP7CUSrmp/Zo
|
|||||||
github.com/gethinode/mod-simple-datatables v1.0.13/go.mod h1:a2qIdYegX5gBubGbspuHv/2UA/8O89oUG/U5hd7jLK8=
|
github.com/gethinode/mod-simple-datatables v1.0.13/go.mod h1:a2qIdYegX5gBubGbspuHv/2UA/8O89oUG/U5hd7jLK8=
|
||||||
github.com/gethinode/mod-simple-datatables v1.0.14 h1:332WtbaQtTm7VP0b7zYfpogTBcOEetkJrNd01K4d/JE=
|
github.com/gethinode/mod-simple-datatables v1.0.14 h1:332WtbaQtTm7VP0b7zYfpogTBcOEetkJrNd01K4d/JE=
|
||||||
github.com/gethinode/mod-simple-datatables v1.0.14/go.mod h1:mP3yjAdVE1G6JHfv8VVsRmvaPlPwddXknI675AuVs2I=
|
github.com/gethinode/mod-simple-datatables v1.0.14/go.mod h1:mP3yjAdVE1G6JHfv8VVsRmvaPlPwddXknI675AuVs2I=
|
||||||
|
github.com/gethinode/mod-simple-datatables v1.1.0 h1:Qc8eJOcVjxIHNfgrZf/bKe8+spCLrJTVwsC8d9ct7i0=
|
||||||
|
github.com/gethinode/mod-simple-datatables v1.1.0/go.mod h1:8q/6f3uAPNTTP5NjEJOuXr6tEWelRFLJfzVJ3AODMlQ=
|
||||||
|
github.com/gethinode/mod-simple-datatables v1.1.1 h1:rzX3+rsOfcW9Z8wiQ1Fp6Ry5TkcJ0nG849xKzjDBbGE=
|
||||||
|
github.com/gethinode/mod-simple-datatables v1.1.1/go.mod h1:8q/6f3uAPNTTP5NjEJOuXr6tEWelRFLJfzVJ3AODMlQ=
|
||||||
|
github.com/gethinode/mod-simple-datatables v1.1.3 h1:a+uIfgc6c+9Zc38Q+Kzd3cWeFhC8BW/rP9/rnd2/ZKM=
|
||||||
|
github.com/gethinode/mod-simple-datatables v1.1.3/go.mod h1:8q/6f3uAPNTTP5NjEJOuXr6tEWelRFLJfzVJ3AODMlQ=
|
||||||
|
github.com/gethinode/mod-simple-datatables v1.1.4 h1:8+uwaEBoh8N2T2sHlcIcxqAGaHPqT0YhPBmr2SFWBCY=
|
||||||
|
github.com/gethinode/mod-simple-datatables v1.1.4/go.mod h1:8q/6f3uAPNTTP5NjEJOuXr6tEWelRFLJfzVJ3AODMlQ=
|
||||||
|
github.com/gethinode/mod-simple-datatables v1.1.5 h1:DKJ+aR94mekzcDwOnm6MJ/+MjAzal+GSYQXSdn0HRdc=
|
||||||
|
github.com/gethinode/mod-simple-datatables v1.1.5/go.mod h1:bvMdmQFk4Hvyltf/QhMqUaApvPbIGTnbI3JLjOEh8go=
|
||||||
github.com/gethinode/mod-utils v1.0.0 h1:cqHm2xS5uDiJzRm1KfHaNbq6uMVDKLhQa8/BuTZ1nhY=
|
github.com/gethinode/mod-utils v1.0.0 h1:cqHm2xS5uDiJzRm1KfHaNbq6uMVDKLhQa8/BuTZ1nhY=
|
||||||
github.com/gethinode/mod-utils v1.0.0/go.mod h1:ONJm3pHCq7nvaPNjusLZNCeCbhOhSBH4HVKHwK1FdYE=
|
github.com/gethinode/mod-utils v1.0.0/go.mod h1:ONJm3pHCq7nvaPNjusLZNCeCbhOhSBH4HVKHwK1FdYE=
|
||||||
github.com/gethinode/mod-utils v1.0.1 h1:jhZGlGFHHL1f5HXbBMXfiZ2gCz4TVafAzjnRPTIBSEE=
|
github.com/gethinode/mod-utils v1.0.1 h1:jhZGlGFHHL1f5HXbBMXfiZ2gCz4TVafAzjnRPTIBSEE=
|
||||||
@@ -322,6 +350,10 @@ github.com/gethinode/mod-utils/v2 v2.8.1 h1:u7sFbgJ5sBEMYC/GwcMRyjRAd5NxTjBnbld5
|
|||||||
github.com/gethinode/mod-utils/v2 v2.8.1/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY=
|
github.com/gethinode/mod-utils/v2 v2.8.1/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY=
|
||||||
github.com/gethinode/mod-utils/v2 v2.8.2 h1:rKndAMmRBSO5Cgoa/2CvF5XchDSvLvd4TYAbfbbQVhE=
|
github.com/gethinode/mod-utils/v2 v2.8.2 h1:rKndAMmRBSO5Cgoa/2CvF5XchDSvLvd4TYAbfbbQVhE=
|
||||||
github.com/gethinode/mod-utils/v2 v2.8.2/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY=
|
github.com/gethinode/mod-utils/v2 v2.8.2/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY=
|
||||||
|
github.com/gethinode/mod-utils/v2 v2.8.3 h1:t1MJcIdFhYi0gCkm8f0DYZwyfq7pRdRc0eNpqZa11ic=
|
||||||
|
github.com/gethinode/mod-utils/v2 v2.8.3/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY=
|
||||||
|
github.com/gethinode/mod-utils/v2 v2.8.4 h1:ZBkIxFezFz2IrbTt0Y3Nq5ac7klU5N8TY19Qnj5px4M=
|
||||||
|
github.com/gethinode/mod-utils/v2 v2.8.4/go.mod h1:GTYeknoLujNjfDxI+V9Dcug26CYJSTJ0B/U2dagw9oY=
|
||||||
github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3 h1:H/qVR5O4BXjRjD+5PZB+r4ug2BSJ2Of4RtwOntd+OKo=
|
github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3 h1:H/qVR5O4BXjRjD+5PZB+r4ug2BSJ2Of4RtwOntd+OKo=
|
||||||
github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
|
github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
|
||||||
github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 h1:re7L8FxbXQpnX8BgzkdUnDpsUmloGNyLmiy2ZCln8pg=
|
github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 h1:re7L8FxbXQpnX8BgzkdUnDpsUmloGNyLmiy2ZCln8pg=
|
||||||
|
@@ -155,3 +155,7 @@
|
|||||||
translation: Tipp
|
translation: Tipp
|
||||||
- id: warning
|
- id: warning
|
||||||
translation: Warnung
|
translation: Warnung
|
||||||
|
|
||||||
|
# Image
|
||||||
|
- id: image
|
||||||
|
translation: Bild
|
@@ -160,4 +160,8 @@
|
|||||||
- id: tip
|
- id: tip
|
||||||
translation: Tip
|
translation: Tip
|
||||||
- id: warning
|
- id: warning
|
||||||
translation: Warning
|
translation: Warning
|
||||||
|
|
||||||
|
# Image
|
||||||
|
- id: image
|
||||||
|
translation: image
|
16
i18n/fr.yaml
16
i18n/fr.yaml
@@ -149,3 +149,19 @@
|
|||||||
translation: "Commentaire"
|
translation: "Commentaire"
|
||||||
- id: supportedValues
|
- id: supportedValues
|
||||||
translation: "Valeurs supportées"
|
translation: "Valeurs supportées"
|
||||||
|
|
||||||
|
# Alerts
|
||||||
|
- id: caution
|
||||||
|
translation: Prudence
|
||||||
|
- id: important
|
||||||
|
translation: Important
|
||||||
|
- id: note
|
||||||
|
translation: Remarque
|
||||||
|
- id: tip
|
||||||
|
translation: Astuce
|
||||||
|
- id: warning
|
||||||
|
translation: Attention
|
||||||
|
|
||||||
|
# Image
|
||||||
|
- id: image
|
||||||
|
translation: image
|
||||||
|
@@ -160,3 +160,7 @@
|
|||||||
translation: Tip
|
translation: Tip
|
||||||
- id: warning
|
- id: warning
|
||||||
translation: Waarschuwing
|
translation: Waarschuwing
|
||||||
|
|
||||||
|
# Image
|
||||||
|
- id: image
|
||||||
|
translation: Bild
|
||||||
|
@@ -6,7 +6,7 @@
|
|||||||
{{ $toc := .Render "single/panel-toc" }}
|
{{ $toc := .Render "single/panel-toc" }}
|
||||||
|
|
||||||
{{ with $sidebar }}
|
{{ with $sidebar }}
|
||||||
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvass-sidebar" aria-inledby="offcanvas-label">
|
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvass-sidebar" aria-labelledby="offcanvas-label">
|
||||||
<div class="offcanvas-header">
|
<div class="offcanvas-header">
|
||||||
<h5 class="offcanvas-title" id="offcanvas-label">{{ strings.FirstUpper $.Section }}</h5>
|
<h5 class="offcanvas-title" id="offcanvas-label">{{ strings.FirstUpper $.Section }}</h5>
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="{{ T "close" }}"></button>
|
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" aria-label="{{ T "close" }}"></button>
|
||||||
@@ -41,4 +41,4 @@
|
|||||||
</div>
|
</div>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
</div>
|
</div>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
@@ -23,10 +23,12 @@
|
|||||||
{{- $title := .LinkTitle -}}
|
{{- $title := .LinkTitle -}}
|
||||||
{{- if .IsHome }}{{ $title = T "home" }}{{ end -}}
|
{{- if .IsHome }}{{ $title = T "home" }}{{ end -}}
|
||||||
{{- $address := or .RelPermalink .Params.Redirect -}}
|
{{- $address := or .RelPermalink .Params.Redirect -}}
|
||||||
{{ if $address }}
|
{{ if $title }}
|
||||||
<li class="breadcrumb-item"><a href="{{ $address }}">{{ $title }}</a></li>
|
{{ if $address }}
|
||||||
{{ else }}
|
<li class="breadcrumb-item"><a href="{{ $address }}">{{ $title }}</a></li>
|
||||||
<li class="breadcrumb-item">{{ $title }}</li>
|
{{ else }}
|
||||||
|
<li class="breadcrumb-item">{{ $title }}</li>
|
||||||
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
<li class="breadcrumb-item active" aria-current="page">{{ $page.LinkTitle }}</li>
|
<li class="breadcrumb-item active" aria-current="page">{{ $page.LinkTitle }}</li>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
@@ -25,6 +25,9 @@
|
|||||||
)}}
|
)}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Initialize global variables -->
|
||||||
|
{{- $pretty := site.Params.main.internalLinks.pretty | default false }}
|
||||||
|
|
||||||
<!-- Initialize local variables -->
|
<!-- Initialize local variables -->
|
||||||
{{ $list := $args.list }}
|
{{ $list := $args.list }}
|
||||||
{{- $class := $args.class -}}
|
{{- $class := $args.class -}}
|
||||||
@@ -64,6 +67,8 @@
|
|||||||
{{ $paginator = $args.page.Paginate $list }}
|
{{ $paginator = $args.page.Paginate $list }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ $list = first $paginator.PagerSize (after (mul (sub $paginator.PageNumber 1) $paginator.PagerSize) $list) }}
|
{{ $list = first $paginator.PagerSize (after (mul (sub $paginator.PageNumber 1) $paginator.PagerSize) $list) }}
|
||||||
|
|
||||||
|
{{ page.Store.Set "paginator" $paginator }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- Initialize list elements -->
|
<!-- Initialize list elements -->
|
||||||
@@ -143,7 +148,7 @@
|
|||||||
"style" $args.style
|
"style" $args.style
|
||||||
"align" $args.align
|
"align" $args.align
|
||||||
"button" $args.button
|
"button" $args.button
|
||||||
"buttonLabel" $args.buttonLabel
|
"buttonLabel" $element.buttonLabel
|
||||||
"buttonType" $args.buttonType
|
"buttonType" $args.buttonType
|
||||||
"iconRounded" $args.iconRounded
|
"iconRounded" $args.iconRounded
|
||||||
) -}}
|
) -}}
|
||||||
@@ -177,7 +182,11 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ if and (gt $count $max) $args.hrefTitle }}
|
{{ if and (gt $count $max) $args.hrefTitle }}
|
||||||
<a class="btn btn-outline-primary mt-4" href="{{ $args.href| safeURL }}" role="button">{{ $args.hrefTitle }}</a>
|
{{ $href := $args.href }}
|
||||||
|
{{ if and $pretty (not (hasSuffix $href "/" )) (not (strings.Contains $href "#")) }}
|
||||||
|
{{ $href = printf "%s/" $href }}
|
||||||
|
{{ end }}
|
||||||
|
<a class="btn btn-outline-primary mt-4" href="{{ $href | safeURL }}" role="button">{{ $args.hrefTitle }}</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
@@ -177,7 +177,20 @@
|
|||||||
<div class="row g-0 row-cols-2 h-100{{ if $button }} pb-5{{ end }}">
|
<div class="row g-0 row-cols-2 h-100{{ if $button }} pb-5{{ end }}">
|
||||||
{{- if $thumbnail -}}
|
{{- if $thumbnail -}}
|
||||||
<div class="{{ $col1 }}">
|
<div class="{{ $col1 }}">
|
||||||
{{- partial $hook (dict "url" $thumbnail "ratio" (or $ratio "1x1") "portrait" $portrait "sizes" $sizes "anchor" $anchor "wrapper" "h-100 card-img-wrap" "class" "rounded-start card-img-h100 card-img-bg" "title" $title "loading" $loading) -}}
|
{{ $fullHeight := "card-img-h100" }}
|
||||||
|
{{ $rounding := "rounded-start" }}
|
||||||
|
{{ if eq (lower (path.Ext $thumbnail)) ".svg" }}{{ $fullHeight = "" }}{{ $rounding = "" }}{{ end }}
|
||||||
|
{{- partial $hook (dict
|
||||||
|
"url" $thumbnail
|
||||||
|
"ratio" (or $ratio "1x1")
|
||||||
|
"portrait" $portrait
|
||||||
|
"sizes" $sizes
|
||||||
|
"anchor" $anchor
|
||||||
|
"wrapper" "h-100 card-img-wrap d-flex align-items-center"
|
||||||
|
"class" (printf "card-img-bg %s %s" $rounding $fullHeight)
|
||||||
|
"title" $title
|
||||||
|
"loading" $loading
|
||||||
|
) -}}
|
||||||
</div>
|
</div>
|
||||||
{{- else if $icon -}}
|
{{- else if $icon -}}
|
||||||
<div class="{{ $col1 }} p-{{ $padding }}">
|
<div class="{{ $col1 }} p-{{ $padding }}">
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
@@ -20,10 +20,11 @@
|
|||||||
{{- $ratio := .ratio -}}
|
{{- $ratio := .ratio -}}
|
||||||
{{- $portrait := .portrait -}}
|
{{- $portrait := .portrait -}}
|
||||||
{{- $loading := .loading | default "eager" -}}
|
{{- $loading := .loading | default "eager" -}}
|
||||||
|
{{- $title := .caption | default (T "image") -}}
|
||||||
|
|
||||||
<!-- Main code -->
|
<!-- Main code -->
|
||||||
<div class="carousel-item{{ if $active }} active{{ end }}" {{ if not $active }} fetchpriority="low"{{ end }}>
|
<div class="carousel-item{{ if $active }} active{{ end }}" {{ if not $active }} fetchpriority="low"{{ end }}>
|
||||||
{{ partial "assets/image.html" (dict "url" $src "ratio" $ratio "page" $page "class" "d-block w-100" "portrait" $portrait "loading" $loading) }}
|
{{ partial "assets/image.html" (dict "url" $src "ratio" $ratio "page" $page "class" "d-block w-100" "portrait" $portrait "loading" $loading "title" $title) }}
|
||||||
<div class="carousel-caption gradient"></div>
|
<div class="carousel-caption gradient"></div>
|
||||||
{{ with $caption }}
|
{{ with $caption }}
|
||||||
<div class="carousel-caption d-none d-md-block">
|
<div class="carousel-caption d-none d-md-block">
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
{{ $ratio := .ratio }}
|
{{ $ratio := .ratio }}
|
||||||
|
@@ -16,6 +16,7 @@
|
|||||||
{{- $modes := .modes -}}
|
{{- $modes := .modes -}}
|
||||||
{{- $plain := .plain | default false }}
|
{{- $plain := .plain | default false }}
|
||||||
{{- $anchor := .anchor }}
|
{{- $anchor := .anchor }}
|
||||||
|
{{- $alt := or $title $caption (T "image") }}
|
||||||
|
|
||||||
<!-- Split url into base and anchor when applicable (only relevant for vector images) -->
|
<!-- Split url into base and anchor when applicable (only relevant for vector images) -->
|
||||||
{{- $fileAnchor := "" -}}
|
{{- $fileAnchor := "" -}}
|
||||||
@@ -71,7 +72,7 @@
|
|||||||
{{ with $imgset -}}srcset="{{ . }}" sizes="{{ $sizes }}"{{- end }}
|
{{ with $imgset -}}srcset="{{ . }}" sizes="{{ $sizes }}"{{- end }}
|
||||||
{{ with $height }}height="{{ . }}"{{ end }}
|
{{ with $height }}height="{{ . }}"{{ end }}
|
||||||
{{ with $width }}width="{{ . }}"{{ end }}
|
{{ with $width }}width="{{ . }}"{{ end }}
|
||||||
{{ with (or $title $caption) }}alt="{{ . }}"{{ end }}>
|
{{ with $alt }}alt="{{ . }}"{{ end }}>
|
||||||
{{- else }}
|
{{- else }}
|
||||||
<svg class="{{ $class }}">
|
<svg class="{{ $class }}">
|
||||||
<use href="{{ $fallbackURL }}#{{ $fileAnchor }}"></use>
|
<use href="{{ $fallbackURL }}#{{ $fileAnchor }}"></use>
|
||||||
|
@@ -52,10 +52,11 @@
|
|||||||
{{- if hasSuffix $url "svg" -}}
|
{{- if hasSuffix $url "svg" -}}
|
||||||
{{- $res = partial "utilities/GetResource.html" (dict "url" $url "page" $page) -}}
|
{{- $res = partial "utilities/GetResource.html" (dict "url" $url "page" $page) -}}
|
||||||
{{ if not $res }}
|
{{ if not $res }}
|
||||||
{{- if not (fileExists (path.Join "/static" $url)) -}}
|
{{- $targetURL := partial "utilities/GetStaticURL" (dict "url" (strings.TrimPrefix "/static" $url)) -}}
|
||||||
|
{{- if not (fileExists (path.Join "/static" $targetURL)) -}}
|
||||||
{{ warnf "Cannot find vector image resource: %q" $url -}}
|
{{ warnf "Cannot find vector image resource: %q" $url -}}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $width := string (partial "utilities/GetWidth.html" (dict "path" $url "height" 500)) }}
|
{{ $width := string (partial "utilities/GetWidth.html" (dict "path" $targetURL "height" 500)) }}
|
||||||
{{ if $width }}
|
{{ if $width }}
|
||||||
{{ $dims = $dims | append (printf "%sx500" $width) }}
|
{{ $dims = $dims | append (printf "%sx500" $width) }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
@@ -118,7 +119,7 @@
|
|||||||
|
|
||||||
<!-- Generate image url -->
|
<!-- Generate image url -->
|
||||||
{{ if or (hasSuffix $url "svg") $plain }}
|
{{ if or (hasSuffix $url "svg") $plain }}
|
||||||
{{- $targetURL = partial "utilities/GetStaticURL" (dict "url" $url) -}}
|
{{- $targetURL = partial "utilities/GetStaticURL" (dict "url" (strings.TrimPrefix "/static" $url)) -}}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{- $targetURL = partial "assets/helpers/image-set.html" (dict
|
{{- $targetURL = partial "assets/helpers/image-set.html" (dict
|
||||||
"url" $url
|
"url" $url
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
@@ -13,15 +13,25 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- Initialize arguments -->
|
<!-- Initialize arguments -->
|
||||||
{{ $destination := strings.TrimPrefix (strings.TrimSuffix "/" site.BaseURL) .destination }}
|
{{ $destination := .destination }}
|
||||||
|
{{ $u := urls.Parse $destination }}
|
||||||
|
{{ if not $u.Scheme }}
|
||||||
|
{{ $b := urls.Parse site.BaseURL }}
|
||||||
|
{{ $destination = strings.TrimPrefix $b.Path $destination }}
|
||||||
|
{{ $destination = path.Clean $destination }}
|
||||||
|
{{ else }}
|
||||||
|
{{ $destination = (strings.TrimPrefix (strings.TrimSuffix "/" site.BaseURL) $destination) }}
|
||||||
|
{{ end }}
|
||||||
{{ if not $destination }}{{ $destination = "/" }}{{ end }}
|
{{ if not $destination }}{{ $destination = "/" }}{{ end }}
|
||||||
|
|
||||||
{{- $target := "" -}}
|
{{- $target := "" -}}
|
||||||
{{- $rel := "" -}}
|
{{- $rel := "" -}}
|
||||||
{{- $case := .case | default true }}
|
{{- $case := .case | default true }}
|
||||||
{{- $external := .external | default false }}
|
{{- $external := .external | default false }}
|
||||||
|
{{- $force := .force | default false }}
|
||||||
{{- $cue := .cue | default site.Params.main.externalLinks.cue -}}
|
{{- $cue := .cue | default site.Params.main.externalLinks.cue -}}
|
||||||
{{- $tab := .tab | default site.Params.main.externalLinks.tab -}}
|
{{- $tab := .tab | default site.Params.main.externalLinks.tab -}}
|
||||||
|
{{- $pretty := site.Params.main.internalLinks.pretty | default false }}
|
||||||
{{- $isExternal := or (ne (urls.Parse (absURL $destination)).Host (urls.Parse site.BaseURL).Host) $external -}}
|
{{- $isExternal := or (ne (urls.Parse (absURL $destination)).Host (urls.Parse site.BaseURL).Host) $external -}}
|
||||||
{{- $isLocal := hasPrefix $destination "#" -}}
|
{{- $isLocal := hasPrefix $destination "#" -}}
|
||||||
{{- $page := .page -}}
|
{{- $page := .page -}}
|
||||||
@@ -60,7 +70,9 @@
|
|||||||
{{ $ref := partial "utilities/GetPage.html" (dict "url" $destination "page" $page) }}
|
{{ $ref := partial "utilities/GetPage.html" (dict "url" $destination "page" $page) }}
|
||||||
{{- if not $ref -}}
|
{{- if not $ref -}}
|
||||||
{{ $pageContext := "" }}
|
{{ $pageContext := "" }}
|
||||||
{{ with $page.File }}{{ $pageContext = path.Join "/content" .Dir }}{{ end }}
|
{{ with $page.File }}
|
||||||
|
{{ $pageContext = path.Dir (strings.TrimPrefix hugo.WorkingDir .Filename) }}
|
||||||
|
{{ end }}
|
||||||
{{ $isPageRes := fileExists (path.Join $pageContext $destination) }}
|
{{ $isPageRes := fileExists (path.Join $pageContext $destination) }}
|
||||||
{{ $isStatic := fileExists (path.Join "static" $destination) }}
|
{{ $isStatic := fileExists (path.Join "static" $destination) }}
|
||||||
{{ if and (not $isPageRes) (not $isStatic) }}
|
{{ if and (not $isPageRes) (not $isStatic) }}
|
||||||
@@ -90,6 +102,17 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{- if not $case }}{{ $text = lower $text }}{{ end -}}
|
{{- if not $case }}{{ $text = lower $text }}{{ end -}}
|
||||||
|
{{ if and $pretty (not (hasSuffix $destination "/" )) (not (strings.Contains $destination "#")) }}
|
||||||
|
{{ $destination = printf "%s/" $destination }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if $force }}
|
||||||
|
{{ if strings.Contains $destination "?" }}
|
||||||
|
{{ $destination = printf "%s&force=true" $destination }}
|
||||||
|
{{ else }}
|
||||||
|
{{ $destination = printf "%s?force=true" $destination }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{ if not $error -}}
|
{{ if not $error -}}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
|
|
||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
@@ -52,46 +52,48 @@
|
|||||||
<div class="d-none d-lg-block">
|
<div class="d-none d-lg-block">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<div class="nav{{ with $type }} nav-{{ . }}{{ end }}{{ with $class }} {{ . }}{{ end }}{{ if $vertical }} flex-column{{ end }}" id="nav-{{ $id }}" role="tablist"{{ if $vertical }} aria-orientation="vertical"{{ end }}>
|
<ul class="nav{{ with $type }} nav-{{ . }}{{ end }}{{ with $class }} {{ . }}{{ end }}{{ if $vertical }} flex-column{{ end }}" id="nav-{{ $id }}" role="tablist"{{ if $vertical }} aria-orientation="vertical"{{ end }}>
|
||||||
{{- range $index, $item := $list -}}
|
{{- range $index, $item := $list -}}
|
||||||
{{ $show := eq $index 0}}
|
{{ $show := eq $index 0}}
|
||||||
<button class="nav-link {{ if not $wrap }} text-nowrap{{ end }}{{ if $show }} active{{ end }}" id="nav-{{ $id }}-btn-{{ $index }}" data-bs-toggle="pill" data-bs-target="#nav-{{ $id }}-{{ $index }}"
|
<li class="nav-item" role="presentation">
|
||||||
type="button" role="tab" aria-controls="nav-{{ $id }}-{{ $index }}" aria-selected="{{ if eq $index 0 }}true{{ else }}false{{ end }}">
|
<button class="nav-link {{ if not $wrap }} text-nowrap{{ end }}{{ if $show }} active{{ end }}" id="nav-{{ $id }}-btn-{{ $index }}" data-bs-toggle="pill" data-bs-target="#nav-{{ $id }}-{{ $index }}"
|
||||||
{{ $item.Title }}
|
type="button" role="tab" aria-controls="nav-{{ $id }}-{{ $index }}" aria-selected="{{ if eq $index 0 }}true{{ else }}false{{ end }}">
|
||||||
</button>
|
{{ $item.Title }}
|
||||||
|
</button>
|
||||||
|
</li>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
</ul>
|
||||||
|
|
||||||
<div class="tab-content {{ if eq $type "tabs" }}border border-bottom-0 p-3{{ else if $vertical }}ms-3{{ else }}mt-3{{ end }}">
|
<div class="tab-content {{ if eq $type "tabs" }}border border-bottom-0 p-3{{ else if $vertical }}ms-3{{ else }}mt-3{{ end }}">
|
||||||
{{ range $index, $item := $list }}
|
{{ range $index, $item := $list }}
|
||||||
{{ $header := $item.Title }}
|
{{ $header := $item.Title }}
|
||||||
{{ $body := $item.Content }}
|
{{ $body := $item.Content }}
|
||||||
{{ $show := eq $index 0}}
|
{{ $show := eq $index 0}}
|
||||||
{{- $thumbnail := "" -}}
|
{{- $thumbnail := "" -}}
|
||||||
{{ if reflect.IsMap $item.Params.Thumbnail }}{{ $thumbnail = $item.Params.Thumbnail.url }}{{ else }}{{ $thumbnail = $item.Params.Thumbnail }}{{ end }}
|
{{ if reflect.IsMap $item.Params.Thumbnail }}{{ $thumbnail = $item.Params.Thumbnail.url }}{{ else }}{{ $thumbnail = $item.Params.Thumbnail }}{{ end }}
|
||||||
<div class="tab-pane{{ if $show }} active{{ end }}" id="nav-{{ $id }}-{{ $index }}" role="tabpanel" aria-labelledby="{{ $id }}-btn-{{ $index }}" tabindex="0">
|
<div class="tab-pane{{ if $show }} active{{ end }}" id="nav-{{ $id }}-{{ $index }}" role="tabpanel" aria-labelledby="{{ $id }}-btn-{{ $index }}" tabindex="0">
|
||||||
{{- if eq $pane "persona" -}}
|
{{- if eq $pane "persona" -}}
|
||||||
{{- partial "assets/persona.html" (dict
|
{{- partial "assets/persona.html" (dict
|
||||||
"title" $item.Title
|
"title" $item.Title
|
||||||
"class" $class
|
"class" $class
|
||||||
"color" $color
|
"color" $color
|
||||||
"href" $item.Params.href
|
"href" $item.Params.href
|
||||||
"content" (partial "utilities/GetDescription.html" (dict "page" $item))
|
"content" (partial "utilities/GetDescription.html" (dict "page" $item))
|
||||||
"thumbnail" $thumbnail
|
"thumbnail" $thumbnail
|
||||||
) -}}
|
) -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{ $illustration := (partial "utilities/GetIllustration.html" (dict "item" $item)) }}
|
{{ $illustration := (partial "utilities/GetIllustration.html" (dict "item" $item)) }}
|
||||||
{{ if $illustration }}
|
{{ if $illustration }}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-lg-10 order-1 order-lg-0">{{- (or $item.Description $item.Content) -}}</div>
|
<div class="col-12 col-lg-10 order-1 order-lg-0">{{- (or $item.Description $item.Content) -}}</div>
|
||||||
<div class="col-12 col-lg-2 order-0 order-lg-1">{{ $illustration | safeHTML }}</div>
|
<div class="col-12 col-lg-2 order-0 order-lg-1">{{ $illustration | safeHTML }}</div>
|
||||||
</div>
|
</div>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{- (or $item.Description $item.Content) -}}
|
{{- (or $item.Description $item.Content) -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ if eq $type "callout" }}</div>{{ end }}
|
{{ if eq $type "callout" }}</div>{{ end }}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
@@ -85,10 +85,10 @@
|
|||||||
"size" "sm"
|
"size" "sm"
|
||||||
)}}
|
)}}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<a class="{{ $anchorClass }}{{ if $isActive }} active{{ end }}{{ with $class }} {{ . }}{{ end }}"
|
{{ cond (ne $menuURL "") "<a" "<div" | safeHTML }} class="{{ $anchorClass }}{{ if $isActive }} active{{ end }}{{ with $class }} {{ . }}{{ end }}"
|
||||||
{{ if $isIcon }}aria-label="{{ $menu.Name }}"{{ end }}
|
{{ if $isIcon }}aria-label="{{ $menu.Name }}"{{ end }}
|
||||||
data-nav="main" data-nav-main="{{ $mainNav }}"{{ with $childNav }} data-nav-child="{{ . }}"{{ end }}
|
data-nav="main" data-nav-main="{{ $mainNav }}"{{ with $childNav }} data-nav-child="{{ . }}"{{ end }}
|
||||||
{{ if $menuURL }} href="{{ $menuURL }}{{ $params | safeHTMLAttr }}"{{ with $externalHref }} {{ . | safeHTMLAttr }}{{ end }}{{ end }} {{ $button | safeHTMLAttr }}>
|
{{ if $menuURL }} href="{{ $menuURL }}{{ $params | safeHTML }}"{{ with $externalHref }} {{ . | safeHTML }}{{ end }}{{ end }} {{ $button | safeHTML }}>
|
||||||
|
|
||||||
{{- with $menu.Pre }}
|
{{- with $menu.Pre }}
|
||||||
{{ if hasPrefix . "<i" }}
|
{{ if hasPrefix . "<i" }}
|
||||||
@@ -100,6 +100,6 @@
|
|||||||
<span {{ if $isActive }} class="active"{{ end }}>{{ if or (not $isIcon) $plain }}{{ $menu.Name }}{{ end }}</span>
|
<span {{ if $isActive }} class="active"{{ end }}>{{ if or (not $isIcon) $plain }}{{ $menu.Name }}{{ end }}</span>
|
||||||
{{- with $menu.Post }}{{ . }}{{ end -}}
|
{{- with $menu.Post }}{{ . }}{{ end -}}
|
||||||
{{- if not $isIcon }} {{ $suffix }}{{ end -}}
|
{{- if not $isIcon }} {{ $suffix }}{{ end -}}
|
||||||
</a>
|
{{ cond (ne $menuURL "") "</a>" "</div>" | safeHTML }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
@@ -18,14 +18,14 @@
|
|||||||
{{- define "partials/navbar-mode.html" -}}
|
{{- define "partials/navbar-mode.html" -}}
|
||||||
{{- $id := .id | default "navbar-mode" -}}
|
{{- $id := .id | default "navbar-mode" -}}
|
||||||
|
|
||||||
<div class="d-flex mode-switch align-items-center" id="{{ $id }}">
|
<li class="d-flex mode-switch align-items-center" id="{{ $id }}">
|
||||||
<input type="checkbox" class="checkbox navbar-mode-selector" id="{{ $id }}-checkbox" />
|
<input type="checkbox" class="checkbox navbar-mode-selector" id="{{ $id }}-checkbox" aria-label="{{ T "colorMode" }}" />
|
||||||
<label class="label" for="{{ $id }}-checkbox">
|
<label class="label" for="{{ $id }}-checkbox">
|
||||||
{{- partial "assets/icon.html" (dict "icon" "fas sun fa-fw" "spacing" false) }}
|
{{- partial "assets/icon.html" (dict "icon" "fas sun fa-fw" "spacing" false) }}
|
||||||
{{- partial "assets/icon.html" (dict "icon" "fas moon fa-fw" "spacing" false) }}
|
{{- partial "assets/icon.html" (dict "icon" "fas moon fa-fw" "spacing" false) }}
|
||||||
<div class="ball"></div>
|
<div class="ball"></div>
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</li>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
<!-- Inline partial to render the version switcher -->
|
<!-- Inline partial to render the version switcher -->
|
||||||
@@ -39,7 +39,7 @@
|
|||||||
{{- $version := partial "utilities/GetVersion.html" (dict "page" $page) -}}
|
{{- $version := partial "utilities/GetVersion.html" (dict "page" $page) -}}
|
||||||
|
|
||||||
<li class="nav-item dropdown {{ if $collapsed }}d-{{ $size }}-none{{ else }}d-none d-{{ $size }}-block{{ end }}">
|
<li class="nav-item dropdown {{ if $collapsed }}d-{{ $size }}-none{{ else }}d-none d-{{ $size }}-block{{ end }}">
|
||||||
<a class="nav-link dropdown-toggle" href="#!" role="button" data-bs-toggle="dropdown" aria-expanded="false" id="{{ $id }}-version-switch">
|
<a class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false" id="{{ $id }}-version-switch">
|
||||||
{{ if $collapsed }}{{ site.Title }} {{ end }}{{ $version }}
|
{{ if $collapsed }}{{ site.Title }} {{ end }}{{ $version }}
|
||||||
</a>
|
</a>
|
||||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="{{ $id }}-version-switch">
|
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="{{ $id }}-version-switch">
|
||||||
@@ -263,13 +263,13 @@
|
|||||||
{{- if $enableLanguage -}}
|
{{- if $enableLanguage -}}
|
||||||
{{- $currentLang := $page.Language.Lang -}}
|
{{- $currentLang := $page.Language.Lang -}}
|
||||||
<li class="nav-item dropdown me-auto">
|
<li class="nav-item dropdown me-auto">
|
||||||
<a class="nav-link dropdown-toggle d-{{ $size }}-none" href="#!" role="button" data-bs-toggle="dropdown" aria-label="{{ T "languageSwitcherLabel" }}" aria-expanded="false">
|
<a class="nav-link dropdown-toggle d-{{ $size }}-none" role="button" data-bs-toggle="dropdown" aria-label="{{ T "languageSwitcherLabel" }}" aria-expanded="false">
|
||||||
{{- partial "assets/icon.html" (dict "icon" "fas globe fa-fw" "spacing" false) }} {{ T "languageSwitcherLabel" }}
|
{{- partial "assets/icon.html" (dict "icon" "fas globe fa-fw" "spacing" false) }} {{ T "languageSwitcherLabel" }}
|
||||||
</a>
|
</a>
|
||||||
<a class="nav-link dropdown-toggle d-none d-{{ $size }}-block" href="#!" role="button" data-bs-toggle="dropdown" aria-label="{{ T "languageSwitcherLabel" }}" aria-expanded="false">
|
<a class="nav-link dropdown-toggle d-none d-{{ $size }}-block" role="button" data-bs-toggle="dropdown" aria-label="{{ T "languageSwitcherLabel" }}" aria-expanded="false">
|
||||||
{{- partial "assets/icon.html" (dict "icon" "fas globe fa-fw" "spacing" false) }}
|
{{- partial "assets/icon.html" (dict "icon" "fas globe fa-fw" "spacing" false) }}
|
||||||
</a>
|
</a>
|
||||||
<ul class="dropdown-menu dropdown-menu-end " id="language-selector">
|
<ul class="dropdown-menu dropdown-menu-end " id="language-selector" data-translated="{{ $page.IsTranslated }}">
|
||||||
{{- if $page.IsTranslated -}}
|
{{- if $page.IsTranslated -}}
|
||||||
{{- range $page.AllTranslations -}}
|
{{- range $page.AllTranslations -}}
|
||||||
<li><a class="dropdown-item {{ if eq .Language.Lang $currentLang }}active{{ end }}" hreflang="{{.Language.Lang}}" href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a></li>
|
<li><a class="dropdown-item {{ if eq .Language.Lang $currentLang }}active{{ end }}" hreflang="{{.Language.Lang}}" href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a></li>
|
||||||
@@ -295,12 +295,16 @@
|
|||||||
</li>
|
</li>
|
||||||
<li><hr class="dropdown-divider-bg"></li>
|
<li><hr class="dropdown-divider-bg"></li>
|
||||||
|
|
||||||
<a class="nav-link d-{{ $size }}-none" href="#!" role="button" data-bs-toggle="modal" data-bs-target="#search-modal" aria-label="{{ T "ui_search" }}" aria-expanded="false">
|
<li class="d-{{ $size }}-none">
|
||||||
|
<a class="nav-link" role="button" data-bs-toggle="modal" data-bs-target="#search-modal" aria-label="{{ T "ui_search" }}" aria-expanded="false">
|
||||||
{{ partial "assets/icon.html" (dict "icon" "fas magnifying-glass fa-fw") }} {{ T "ui_search" }}
|
{{ partial "assets/icon.html" (dict "icon" "fas magnifying-glass fa-fw") }} {{ T "ui_search" }}
|
||||||
</a>
|
</a>
|
||||||
<a class="nav-link d-none d-{{ $size }}-block" href="#!" role="button" data-bs-toggle="modal" data-bs-target="#search-modal" aria-label="{{ T "ui_search" }}" aria-expanded="false">
|
</li>
|
||||||
|
<li class="d-none d-{{ $size }}-block">
|
||||||
|
<a class="nav-link" role="button" data-bs-toggle="modal" data-bs-target="#search-modal" aria-label="{{ T "ui_search" }}" aria-expanded="false">
|
||||||
{{ partial "assets/icon.html" (dict "icon" "fas magnifying-glass fa-fw") }}
|
{{ partial "assets/icon.html" (dict "icon" "fas magnifying-glass fa-fw") }}
|
||||||
</a>
|
</a>
|
||||||
|
</li>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
<!-- Main code -->
|
<!-- Main code -->
|
||||||
{{- if and (not $error) $pageAlertMsg -}}
|
{{- if and (not $error) $pageAlertMsg -}}
|
||||||
<div id="page-alert" class="alert alert-primary alert-no-decoration fade show d-flex align-items-center small m-0 py-1" data-page-alert-version="{{ $version }}">
|
<div id="page-alert" class="alert alert-primary alert-no-decoration fade show d-flex align-items-center small m-0 py-1" data-page-alert-version="{{ $version }}">
|
||||||
<a href="{{ with $pageAlertURL }}{{ . }}{{ else }}#!{{ end }}" class="text-decoration-none flex-grow-1 text-center">{{ $pageAlertMsg }}</a>
|
<a {{ with $pageAlertURL }}href="{{ . }}"{{ end }} class="text-decoration-none flex-grow-1 text-center">{{ $pageAlertMsg }}</a>
|
||||||
<button id="page-alert-btn-close" type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ T "close" }}"></button>
|
<button id="page-alert-btn-close" type="button" class="btn-close" data-bs-dismiss="alert" aria-label="{{ T "close" }}"></button>
|
||||||
</div>
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
@@ -52,14 +52,14 @@
|
|||||||
{{- if .clipboard -}}
|
{{- if .clipboard -}}
|
||||||
{{- $target = (printf "toast-message-%s-%d" (anchorize $item.name) $index ) -}}
|
{{- $target = (printf "toast-message-%s-%d" (anchorize $item.name) $index ) -}}
|
||||||
{{- $clipboard = $url -}}
|
{{- $clipboard = $url -}}
|
||||||
{{- $url = "#!" -}}
|
{{- $url = "" -}}
|
||||||
{{- partial "assets/toast.html" (dict "id" $target "message" (printf "%s %s" (T "link") (T "copiedToClipboard"))) -}}
|
{{- partial "assets/toast.html" (dict "id" $target "message" (printf "%s %s" (T "link") (T "copiedToClipboard"))) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ partial "assets/button.html" (dict "toast" $target "clipboard" $clipboard "href" $url "icon" (printf "%s fa-fw" $item.icon) "class" "btn-social p-0" "label" (T "shareLink" $item.name) "spacing" false) }}
|
{{ partial "assets/button.html" (dict "toast" $target "clipboard" $clipboard "href" $url "icon" (printf "%s fa-fw" $item.icon) "class" "btn-social p-0" "label" (T "shareLink" $item.name) "spacing" false) }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ if $page.Site.Params.sharing.webshare }}
|
{{ if $page.Site.Params.sharing.webshare }}
|
||||||
{{ $attr := dict "data-sharing-title" $page.Title "data-sharing-description" $page.Description "data-sharing-url" $page.Permalink }}
|
{{ $attr := dict "data-sharing-title" $page.Title "data-sharing-description" $page.Description "data-sharing-url" $page.Permalink }}
|
||||||
{{ partial "assets/button.html" (dict "href" "#!" "icon" "fas share-nodes fa-fw" "id" "btn-webshare" "class" "btn-social p-0" "attributes" $attr "label" (T "shareLink" (T "shareSystem")) "spacing" false) }}
|
{{ partial "assets/button.html" (dict "href" "" "icon" "fas share-nodes fa-fw" "class" "btn-social p-0" "attributes" $attr "label" (T "shareLink" (T "shareSystem")) "spacing" false) }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{ with $download }}
|
{{ with $download }}
|
||||||
{{ $label := (T "download" ) }}
|
{{ $label := (T "download" ) }}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
@@ -10,7 +10,8 @@
|
|||||||
{{ $sortable := .sortable | default false }}
|
{{ $sortable := .sortable | default false }}
|
||||||
{{ $paging := .paging | default false }}
|
{{ $paging := .paging | default false }}
|
||||||
{{ $searchable := .searchable | default false }}
|
{{ $searchable := .searchable | default false }}
|
||||||
|
{{ $pagingOptionPerPage := .pagingOptionPerPage }}
|
||||||
|
{{ $pagingOptionPerPageSelect := .pagingOptionPerPageSelect }}
|
||||||
{{- $responsiveVals := slice "table-responsive" "table-responsive-none" "table-responsive-sm" "table-responsive-md" "table-responsive-lg" "table-responsive-xl" "table-responsive-xxl" -}}
|
{{- $responsiveVals := slice "table-responsive" "table-responsive-none" "table-responsive-sm" "table-responsive-md" "table-responsive-lg" "table-responsive-xl" "table-responsive-xxl" -}}
|
||||||
{{- $responsive := intersect $args $responsiveVals -}}
|
{{- $responsive := intersect $args $responsiveVals -}}
|
||||||
{{- $main := complement $responsive $args -}}
|
{{- $main := complement $responsive $args -}}
|
||||||
@@ -30,7 +31,11 @@
|
|||||||
|
|
||||||
{{ $attributes := "" }}
|
{{ $attributes := "" }}
|
||||||
{{ if $sortable }}{{ $attributes = printf "%s data-table-sortable=true" $attributes }}{{ end }}
|
{{ if $sortable }}{{ $attributes = printf "%s data-table-sortable=true" $attributes }}{{ end }}
|
||||||
{{ if $paging }}{{ $attributes = printf "%s data-table-paging=true" $attributes }}{{ end }}
|
{{ if $paging }}
|
||||||
|
{{ $attributes = printf "%s data-table-paging=true" $attributes }}
|
||||||
|
{{ $attributes := printf "%s data-table-paging-option-perPage=%s" $attributes $pagingOptionPerPage }}
|
||||||
|
{{ if (ne $pagingOptionPerPageSelect "") }}{{ $attributes := printf "%s data-table-paging-option-perPageSelect=%d" $attributes $pagingOptionPerPageSelect }}{{ end }}
|
||||||
|
{{ end }}
|
||||||
{{ if $searchable }}{{ $attributes = printf "%s data-table-searchable=true" $attributes }}{{ end }}
|
{{ if $searchable }}{{ $attributes = printf "%s data-table-searchable=true" $attributes }}{{ end }}
|
||||||
|
|
||||||
{{- $new := printf `<table class="%s" %s` $target (trim $attributes " ") -}}
|
{{- $new := printf `<table class="%s" %s` $target (trim $attributes " ") -}}
|
||||||
|
41
layouts/partials/assets/theme-version.html
Normal file
41
layouts/partials/assets/theme-version.html
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
<!--
|
||||||
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
|
Visit gethinode.com/license for more details.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!-- TODO: merge with version.html -->
|
||||||
|
|
||||||
|
{{- define "partials/assets/version/mod.html" -}}
|
||||||
|
{{- $file := "go.mod" -}}
|
||||||
|
{{- $regex := printf `github.com/gethinode/hinode v.*(\r\n|\r|\n)` -}}
|
||||||
|
{{- $match := findRE $regex (readFile $file) -}}
|
||||||
|
|
||||||
|
{{- $result := "" -}}
|
||||||
|
{{- if gt (len $match) 0 -}}
|
||||||
|
{{- $result = (index (split (index $match 0) " ") 1) -}}
|
||||||
|
{{- $result = strings.TrimPrefix "v" $result -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- return $result -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "partials/assets/version/package.html" -}}
|
||||||
|
{{- $file := "data/package-hinode.json" -}}
|
||||||
|
{{ $data := dict }}
|
||||||
|
{{ $version := "" }}
|
||||||
|
{{ with resources.Get $file }}
|
||||||
|
{{ with . | transform.Unmarshal }}
|
||||||
|
{{ $data = . }}
|
||||||
|
{{ $version = index $data "version" }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ return $version }}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- $version := partial "assets/version/mod.html" . -}}
|
||||||
|
{{ if not $version }}
|
||||||
|
{{- $version = partial "assets/version/package.html" . -}}
|
||||||
|
{{ end }}
|
||||||
|
{{- print $version -}}
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
@@ -121,7 +121,7 @@
|
|||||||
{{ if not $error }}
|
{{ if not $error }}
|
||||||
<!-- include external scripts first -->
|
<!-- include external scripts first -->
|
||||||
{{ range $mod, $cfg := $config.modules }}
|
{{ range $mod, $cfg := $config.modules }}
|
||||||
{{ if eq (index $cfg "integration") $args.type }}
|
{{ if in $modules $mod }}
|
||||||
{{ if or (index $cfg "local") (not hugo.IsServer) }}
|
{{ if or (index $cfg "local") (not hugo.IsServer) }}
|
||||||
{{ with index $cfg "url" }}
|
{{ with index $cfg "url" }}
|
||||||
{{ partial "templates/script.html" (dict "link" . "category" (index $cfg "category") "state" (index $cfg "state")) }}
|
{{ partial "templates/script.html" (dict "link" . "category" (index $cfg "category") "state" (index $cfg "state")) }}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
{{ define "head" }}
|
{{ define "head" }}
|
||||||
{{- $version := strings.TrimPrefix "v" (partialCached "assets/version.html" .) -}}
|
{{- $version := strings.TrimSpace (partial "assets/theme-version.html" .) -}}
|
||||||
{{ $desc := .Page.Description | default (.Page.Content | safeHTML | truncate 150) -}}
|
{{ $desc := .Page.Description | default (.Page.Content | safeHTML | truncate 150) -}}
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
@@ -7,7 +7,6 @@
|
|||||||
<meta name="theme" content="{{ printf "Hinode %s" $version }}">
|
<meta name="theme" content="{{ printf "Hinode %s" $version }}">
|
||||||
{{ partialCached "head/stylesheet-core.html" . -}}
|
{{ partialCached "head/stylesheet-core.html" . -}}
|
||||||
|
|
||||||
|
|
||||||
{{ $config := page.Scratch.Get "modules" }}
|
{{ $config := page.Scratch.Get "modules" }}
|
||||||
{{ if not $config }}
|
{{ if not $config }}
|
||||||
{{ errorf "partial [head/head.html] - Cannot initialize module configuration" }}
|
{{ errorf "partial [head/head.html] - Cannot initialize module configuration" }}
|
||||||
|
@@ -3,9 +3,9 @@
|
|||||||
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">
|
<meta property="og:type" content="{{ if .IsPage }}article{{ else }}website{{ end }}">
|
||||||
<meta property="og:title" content="{{ $.Scratch.Get "title" }}">
|
<meta property="og:title" content="{{ $.Scratch.Get "title" }}">
|
||||||
<meta property="og:description" content="{{ $.Scratch.Get "description" }}">
|
<meta property="og:description" content="{{ $.Scratch.Get "description" }}">
|
||||||
{{ if $.Scratch.Get "paginator" -}}
|
{{ $paginator := $.Store.Get "paginator" }}
|
||||||
{{ $paginator := .Paginate (where .Site.RegularPages.ByDate.Reverse "Section" "blog" ) -}}
|
{{ if $paginator }}
|
||||||
<meta property="og:url" content="{{ .Paginator.URL | absURL }}">
|
<meta property="og:url" content="{{ $paginator.URL | absURL }}">
|
||||||
{{ else -}}
|
{{ else -}}
|
||||||
<meta property="og:url" content="{{ .Permalink }}">
|
<meta property="og:url" content="{{ .Permalink }}">
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
@@ -63,16 +63,16 @@
|
|||||||
|
|
||||||
<meta name="description" content="{{ $.Scratch.Get "description" }}">
|
<meta name="description" content="{{ $.Scratch.Get "description" }}">
|
||||||
|
|
||||||
{{ if $.Scratch.Get "paginator" }}
|
|
||||||
<link rel="canonical" href="{{ .Paginator.URL | absURL }}">
|
{{ $paginator := $.Store.Get "paginator" }}
|
||||||
{{ if .Paginator.HasPrev -}}
|
{{ if $paginator }}
|
||||||
<link rel="prev" href="{{ .Paginator.Prev.URL | absURL }}">
|
<link rel="canonical" href="{{ $paginator.URL | absURL }}">
|
||||||
|
{{ if $paginator.HasPrev -}}
|
||||||
|
<link rel="prev" href="{{ $paginator.Prev.URL | absURL }}">
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ if .Paginator.HasNext -}}
|
{{ if $paginator.HasNext -}}
|
||||||
<link rel="next" href="{{ .Paginator.Next.URL | absURL }}">
|
<link rel="next" href="{{ $paginator.Next.URL | absURL }}">
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ else -}}
|
|
||||||
<link rel="canonical" href="{{ .Permalink }}">
|
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
{{ partial "head/opengraph.html" . }}
|
{{ partial "head/opengraph.html" . }}
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
"name": "{{ .Site.Params.schema.name }}",
|
"name": "{{ .Site.Params.schema.name }}",
|
||||||
"url": {{ print $baseURL }},
|
"url": {{ print $baseURL }},
|
||||||
"sameAs": {{ $alt | uniq | complement (slice "") }},
|
"sameAs": {{ $alt | uniq | complement (slice "") }},
|
||||||
{{ if eq .Site.Params.schemaType "Organization" -}}
|
{{ if eq .Site.Params.schema.type "Organization" -}}
|
||||||
"logo": {
|
"logo": {
|
||||||
"@type": "ImageObject",
|
"@type": "ImageObject",
|
||||||
"@id": {{ print $baseURL "#/schema/image/1"}},
|
"@id": {{ print $baseURL "#/schema/image/1"}},
|
||||||
@@ -200,4 +200,4 @@
|
|||||||
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
@@ -1,8 +1,12 @@
|
|||||||
{{- $transpiler := site.Params.main.build.transpiler | default "libsass" -}}
|
{{- $transpiler := site.Params.main.build.transpiler | default "libsass" -}}
|
||||||
|
{{- $silence := slice -}}
|
||||||
{{- $supportedTranspilers := slice "libsass" "dartsass" -}}
|
{{- $supportedTranspilers := slice "libsass" "dartsass" -}}
|
||||||
{{- if not (in $supportedTranspilers $transpiler) -}}
|
{{- if not (in $supportedTranspilers $transpiler) -}}
|
||||||
{{- errorf "partial [head/stylesheet.html] - Invalid value for param 'transpiler': %s" $transpiler -}}
|
{{- errorf "partial [head/stylesheet.html] - Invalid value for param 'transpiler': %s" $transpiler -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- if site.Params.main.build.silenceDeprecations -}}
|
||||||
|
{{- $silence = (slice "import" "mixed-decls" "color-functions" "global-builtin") -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
{{- $absoluteURL := site.Params.main.canonifyAssetsURLs | default false -}}
|
{{- $absoluteURL := site.Params.main.canonifyAssetsURLs | default false -}}
|
||||||
{{- $source := .source }}
|
{{- $source := .source }}
|
||||||
@@ -62,7 +66,7 @@
|
|||||||
"dark-mode-tint" (default "0%" site.Params.style.darkModeTint)
|
"dark-mode-tint" (default "0%" site.Params.style.darkModeTint)
|
||||||
-}}
|
-}}
|
||||||
|
|
||||||
{{- $options := (dict "transpiler" $transpiler "targetPath" $target "enableSourceMap" (not hugo.IsProduction) "vars" $vars) -}}
|
{{- $options := (dict "transpiler" $transpiler "silenceDeprecations" $silence "targetPath" $target "enableSourceMap" (not hugo.IsProduction) "vars" $vars) -}}
|
||||||
{{- $bundle := partial "utilities/bundle.html" (dict "match" $source "filename" (printf "scss/bundle-%d.scss" now.UnixNano) "modules" $modules "basepath" "scss" "debugging" site.Params.debugging.showSCSS) -}}
|
{{- $bundle := partial "utilities/bundle.html" (dict "match" $source "filename" (printf "scss/bundle-%d.scss" now.UnixNano) "modules" $modules "basepath" "scss" "debugging" site.Params.debugging.showSCSS) -}}
|
||||||
|
|
||||||
{{- if gt ($bundle.Content | len) 0 }}
|
{{- if gt ($bundle.Content | len) 0 }}
|
||||||
|
@@ -3,13 +3,15 @@
|
|||||||
{{- with .wrapper }}{{ $wrapper = printf "img-wrap %s" . }}{{ end -}}
|
{{- with .wrapper }}{{ $wrapper = printf "img-wrap %s" . }}{{ end -}}
|
||||||
{{ $class := "rounded" }}
|
{{ $class := "rounded" }}
|
||||||
{{ with .class }}{{ $class = . }}{{ end }}
|
{{ with .class }}{{ $class = . }}{{ end }}
|
||||||
{{- $ratio := .ratio | default "21x9" -}}
|
{{- $ratio := .ratio | default (site.Params.thumbnails.ratio | default "21x9") -}}
|
||||||
{{- $thumbnail := "" -}}
|
{{- $thumbnail := "" -}}
|
||||||
|
{{- $anchor := "" -}}
|
||||||
{{- $credits := "" -}}
|
{{- $credits := "" -}}
|
||||||
{{ $figclass := .figclass }}
|
{{ $figclass := .figclass }}
|
||||||
|
|
||||||
{{- if reflect.IsMap $page.Params.Thumbnail -}}
|
{{- if reflect.IsMap $page.Params.Thumbnail -}}
|
||||||
{{- $thumbnail = $page.Params.Thumbnail.url -}}
|
{{- $thumbnail = $page.Params.Thumbnail.url -}}
|
||||||
|
{{- $anchor = $page.Params.Thumbnail.anchor }}
|
||||||
{{- $author := "" -}}
|
{{- $author := "" -}}
|
||||||
{{- if and $page.Params.Thumbnail.authorURL "text" $page.Params.Thumbnail.author }}
|
{{- if and $page.Params.Thumbnail.authorURL "text" $page.Params.Thumbnail.author }}
|
||||||
{{- $author = partial "assets/link.html" (dict "destination" $page.Params.Thumbnail.authorURL "text" $page.Params.Thumbnail.author "page" $page) -}}
|
{{- $author = partial "assets/link.html" (dict "destination" $page.Params.Thumbnail.authorURL "text" $page.Params.Thumbnail.author "page" $page) -}}
|
||||||
@@ -38,5 +40,15 @@
|
|||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{ if $thumbnail -}}
|
{{ if $thumbnail -}}
|
||||||
{{- partial "assets/image.html" (dict "url" $thumbnail "ratio" $ratio "wrapper" $wrapper "class" $class "title" $page.Params.title "caption" $credits "figclass" $figclass "priority" "high") -}}
|
{{- partial "assets/image.html" (dict
|
||||||
{{ end -}}
|
"url" $thumbnail
|
||||||
|
"anchor" $anchor
|
||||||
|
"ratio" $ratio
|
||||||
|
"wrapper" $wrapper
|
||||||
|
"class" $class
|
||||||
|
"title" $page.Params.title
|
||||||
|
"caption" $credits
|
||||||
|
"figclass" $figclass
|
||||||
|
"priority" "high"
|
||||||
|
) -}}
|
||||||
|
{{ end -}}
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
4
layouts/robots.txt
Normal file
4
layouts/robots.txt
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
User-agent: *
|
||||||
|
Allow: /
|
||||||
|
|
||||||
|
Sitemap: {{ urls.JoinPath .Site.BaseURL "sitemap.xml" }}
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
|
|
||||||
@@ -38,6 +38,7 @@
|
|||||||
{{- $full := true -}}
|
{{- $full := true -}}
|
||||||
{{ if isset .Params "full" }}{{ $full = partial "utilities/CastBool.html" (.Get "full") }}{{ end -}}
|
{{ if isset .Params "full" }}{{ $full = partial "utilities/CastBool.html" (.Get "full") }}{{ end -}}
|
||||||
{{- $class := .Get "class" | default "" -}}
|
{{- $class := .Get "class" | default "" -}}
|
||||||
|
{{- $options := .Get "options" -}}
|
||||||
|
|
||||||
{{ if not (fileExists $file) }}
|
{{ if not (fileExists $file) }}
|
||||||
{{ warnf "Cannot find file: '%q'. See %s" $file $.Position }}
|
{{ warnf "Cannot find file: '%q'. See %s" $file $.Position }}
|
||||||
@@ -65,7 +66,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<div class="border-start border-end border-bottom mb-3">
|
<div class="border-start border-end border-bottom mb-3">
|
||||||
<div class="collapse multi-{{ $id }}{{ if $show }} show{{ end }} syntax-highlight" id="body-{{ $id }}">
|
<div class="collapse multi-{{ $id }}{{ if $show }} show{{ end }} syntax-highlight" id="body-{{ $id }}">
|
||||||
{{- highlight (trim $content "\r\n") $lang "" -}}
|
{{- highlight (trim $content "\r\n") $lang $options -}}
|
||||||
</div>
|
</div>
|
||||||
<div class="collapse multi-{{ $id }}{{ if not $show }} show{{ end }} p-3" id="footer-{{ $id }}"><i>...</i></div>
|
<div class="collapse multi-{{ $id }}{{ if not $show }} show{{ end }} p-3" id="footer-{{ $id }}"><i>...</i></div>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
Copyright © 2024 The Hinode Team / Mark Dumay. All rights reserved.
|
Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
|
||||||
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
|
||||||
Visit gethinode.com/license for more details.
|
Visit gethinode.com/license for more details.
|
||||||
-->
|
-->
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user