mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-13 13:03:13 +00:00
Compare commits
60 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
6761bedd51 | ||
![]() |
f002cf06e4 | ||
![]() |
9d742f9165 | ||
![]() |
68c2cac3e0 | ||
![]() |
1c0ed71df9 | ||
![]() |
1e8791fdf0 | ||
![]() |
8cfac32280 | ||
![]() |
6e7a1dcdb9 | ||
![]() |
19cda9a986 | ||
![]() |
9ee9ebc960 | ||
![]() |
6f7903a2f2 | ||
![]() |
82d12d693c | ||
![]() |
3ed64f59f1 | ||
![]() |
df8ea923c5 | ||
![]() |
60872ea541 | ||
![]() |
52715cef21 | ||
![]() |
91f79e57ab | ||
![]() |
fdd878241b | ||
![]() |
f32bd92efa | ||
![]() |
c31dca464a | ||
![]() |
cb02c25ac4 | ||
![]() |
39ef3c5372 | ||
![]() |
546003c9d4 | ||
![]() |
6b4a1334bb | ||
![]() |
90ee71a536 | ||
![]() |
0c6b2929dc | ||
![]() |
2cb60efc38 | ||
![]() |
26f1bf3c7f | ||
![]() |
ec8176c1e3 | ||
![]() |
20b1cfb59e | ||
![]() |
09a6125834 | ||
![]() |
f30b30e48e | ||
![]() |
a0b89fd1a3 | ||
![]() |
dccedfe42d | ||
![]() |
d3ee13584a | ||
![]() |
03f4541b8a | ||
![]() |
9b0f91a378 | ||
![]() |
d9487b77db | ||
![]() |
f543c012bd | ||
![]() |
c068f7f4e6 | ||
![]() |
0dfd5d6a2f | ||
![]() |
0a6dbccb12 | ||
![]() |
c012eb5358 | ||
![]() |
bb2f1b63cf | ||
![]() |
d7facc353d | ||
![]() |
4dcae71516 | ||
![]() |
bac2bed6ad | ||
![]() |
56275d04dc | ||
![]() |
f32a958cf9 | ||
![]() |
e00e04b40b | ||
![]() |
4970c604d9 | ||
![]() |
a44e5dcafc | ||
![]() |
8493154844 | ||
![]() |
8a8a644ccf | ||
![]() |
d390d2eb4e | ||
![]() |
2e3bca1a34 | ||
![]() |
9a00e6c4c1 | ||
![]() |
3dcbe0b62c | ||
![]() |
bdf9d84a72 | ||
![]() |
7386cf1fb9 |
2
.github/workflows/codeql.yml
vendored
2
.github/workflows/codeql.yml
vendored
@@ -57,7 +57,7 @@ jobs:
|
|||||||
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
|
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v5
|
||||||
|
|
||||||
# Add any setup steps before running the `github/codeql-action/init` action.
|
# Add any setup steps before running the `github/codeql-action/init` action.
|
||||||
# This includes steps like installing compilers or runtimes (`actions/setup-node`
|
# This includes steps like installing compilers or runtimes (`actions/setup-node`
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
{{- if site.Params.main.enableDarkMode -}}
|
{{- if (or site.Params.main.enableDarkMode site.Params.main.colorMode.enabled) -}}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Color mode toggler for Bootstrap's docs (https://getbootstrap.com/)
|
* Color mode toggler for Bootstrap's docs (https://getbootstrap.com/)
|
||||||
@@ -43,9 +43,7 @@
|
|||||||
document.documentElement.setAttribute('data-bs-theme', theme)
|
document.documentElement.setAttribute('data-bs-theme', theme)
|
||||||
}
|
}
|
||||||
|
|
||||||
document.querySelectorAll('.navbar-mode-selector').forEach(chk => {
|
updateSelectors()
|
||||||
chk.checked = (document.documentElement.getAttribute('data-bs-theme') === 'light')
|
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// alternates the currently active theme
|
// alternates the currently active theme
|
||||||
@@ -54,6 +52,12 @@
|
|||||||
setTheme(target)
|
setTheme(target)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function updateSelectors() {
|
||||||
|
document.querySelectorAll('.navbar-mode-selector').forEach(chk => {
|
||||||
|
chk.checked = (document.documentElement.getAttribute('data-bs-theme') === 'light')
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => {
|
window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', () => {
|
||||||
if (storedTheme !== 'light' || storedTheme !== 'dark') {
|
if (storedTheme !== 'light' || storedTheme !== 'dark') {
|
||||||
setTheme(getPreferredTheme())
|
setTheme(getPreferredTheme())
|
||||||
@@ -69,7 +73,12 @@
|
|||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
// initialize theme directly when script is invoked
|
window.addEventListener('load', () => {
|
||||||
|
// update the selectors when all elements are ready
|
||||||
|
updateSelectors()
|
||||||
|
})
|
||||||
|
|
||||||
|
// initialize theme as soon as possible to reduce screen flickering
|
||||||
setTheme(getTheme())
|
setTheme(getTheme())
|
||||||
})()
|
})()
|
||||||
|
|
||||||
|
@@ -24,8 +24,10 @@
|
|||||||
@import "components/carousel.scss";
|
@import "components/carousel.scss";
|
||||||
@import "components/clipboard.scss";
|
@import "components/clipboard.scss";
|
||||||
@import "components/command.scss";
|
@import "components/command.scss";
|
||||||
|
@import "components/docs.scss";
|
||||||
@import "components/feature.scss";
|
@import "components/feature.scss";
|
||||||
@import "components/footer.scss";
|
@import "components/footer.scss";
|
||||||
|
@import "components/kbd.scss";
|
||||||
@import "components/nav.scss";
|
@import "components/nav.scss";
|
||||||
@import "components/navbar.scss";
|
@import "components/navbar.scss";
|
||||||
@import "components/img.scss";
|
@import "components/img.scss";
|
||||||
@@ -35,6 +37,7 @@
|
|||||||
@import "components/sidebar.scss";
|
@import "components/sidebar.scss";
|
||||||
@import "components/syntax-dart.scss"; // note: modified for dart-sass
|
@import "components/syntax-dart.scss"; // note: modified for dart-sass
|
||||||
@import "components/table.scss";
|
@import "components/table.scss";
|
||||||
|
@import "components/toast.scss";
|
||||||
@import "components/timeline.scss";
|
@import "components/timeline.scss";
|
||||||
@import "components/toc.scss";
|
@import "components/toc.scss";
|
||||||
@import "components/video.scss";
|
@import "components/video.scss";
|
||||||
|
@@ -22,8 +22,10 @@
|
|||||||
@import "components/carousel.scss";
|
@import "components/carousel.scss";
|
||||||
@import "components/clipboard.scss";
|
@import "components/clipboard.scss";
|
||||||
@import "components/command.scss";
|
@import "components/command.scss";
|
||||||
|
@import "components/docs.scss";
|
||||||
@import "components/feature.scss";
|
@import "components/feature.scss";
|
||||||
@import "components/footer.scss";
|
@import "components/footer.scss";
|
||||||
|
@import "components/kbd.scss";
|
||||||
@import "components/nav.scss";
|
@import "components/nav.scss";
|
||||||
@import "components/navbar.scss";
|
@import "components/navbar.scss";
|
||||||
@import "components/img.scss";
|
@import "components/img.scss";
|
||||||
@@ -33,6 +35,7 @@
|
|||||||
@import "components/sidebar.scss";
|
@import "components/sidebar.scss";
|
||||||
@import "components/syntax.scss";
|
@import "components/syntax.scss";
|
||||||
@import "components/table.scss";
|
@import "components/table.scss";
|
||||||
|
@import "components/toast.scss";
|
||||||
@import "components/timeline.scss";
|
@import "components/timeline.scss";
|
||||||
@import "components/toc.scss";
|
@import "components/toc.scss";
|
||||||
@import "components/video.scss";
|
@import "components/video.scss";
|
||||||
|
@@ -14,6 +14,10 @@ a:active {
|
|||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
div.rounded, img.rounded {
|
||||||
|
--bs-border-radius: #{$theme-border-radius};
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Ensure main page is rendered to full viewport height
|
// Ensure main page is rendered to full viewport height
|
||||||
//
|
//
|
||||||
|
@@ -16,12 +16,12 @@ $font-weight-normal: 300 !default;
|
|||||||
$font-weight-bold: 600 !default;
|
$font-weight-bold: 600 !default;
|
||||||
$font-weight-bolder: bolder !default;
|
$font-weight-bolder: bolder !default;
|
||||||
|
|
||||||
$theme-border-radius: 1rem;
|
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
font-weight: 600 if($enable-important-utilities, !important, null);
|
font-weight: 600 if($enable-important-utilities, !important, null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$theme-border-radius: 0.375rem;
|
||||||
|
|
||||||
$navbar-height: h.$navbar-height;
|
$navbar-height: h.$navbar-height;
|
||||||
$navbar-offset: h.$navbar-offset;
|
$navbar-offset: h.$navbar-offset;
|
||||||
$navbar-offset-xs: h.$navbar-offset-xs;
|
$navbar-offset-xs: h.$navbar-offset-xs;
|
||||||
|
@@ -17,13 +17,13 @@ $font-weight-normal: 300 !default;
|
|||||||
$font-weight-bold: 600 !default;
|
$font-weight-bold: 600 !default;
|
||||||
$font-weight-bolder: bolder !default;
|
$font-weight-bolder: bolder !default;
|
||||||
|
|
||||||
$theme-border-radius: 1rem;
|
|
||||||
|
|
||||||
strong {
|
strong {
|
||||||
font-weight: 600 if($enable-important-utilities, !important, null);
|
font-weight: 600 if($enable-important-utilities, !important, null);
|
||||||
}
|
}
|
||||||
// scss-docs-end font
|
// scss-docs-end font
|
||||||
|
|
||||||
|
$theme-border-radius: 0.375rem;
|
||||||
|
|
||||||
$white: #fff !default;
|
$white: #fff !default;
|
||||||
$black: #000 !default;
|
$black: #000 !default;
|
||||||
$body-bg: #fff !default;
|
$body-bg: #fff !default;
|
||||||
|
@@ -52,3 +52,7 @@ a.btn {
|
|||||||
.btn-xs {
|
.btn-xs {
|
||||||
@include button-size($btn-padding-y-xs, $btn-padding-x-xs, $btn-font-size-xs, $btn-border-radius-xs);
|
@include button-size($btn-padding-y-xs, $btn-padding-x-xs, $btn-font-size-xs, $btn-border-radius-xs);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn {
|
||||||
|
--bs-border-radius: #{$theme-border-radius};
|
||||||
|
}
|
||||||
|
@@ -6,6 +6,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.card {
|
.card {
|
||||||
|
--bs-card-border-radius: #{$theme-border-radius};
|
||||||
|
--bs-card-inner-border-radius: #{$theme-border-radius};
|
||||||
|
--bs-border-radius: #{$theme-border-radius};
|
||||||
--bs-card-bg: transparent;
|
--bs-card-bg: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -28,6 +31,13 @@
|
|||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.card-img-top {
|
||||||
|
--bs-border-radius: #{$theme-border-radius};
|
||||||
|
|
||||||
|
border-top-left-radius: var(--bs-border-radius) !important;
|
||||||
|
border-top-right-radius: var(--bs-border-radius) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.card-img-wrap img {
|
.card-img-wrap img {
|
||||||
transition: transform 0.25s ease;
|
transition: transform 0.25s ease;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
@@ -1,3 +1,7 @@
|
|||||||
|
.carousel-inner {
|
||||||
|
border-radius: #{$theme-border-radius};
|
||||||
|
}
|
||||||
|
|
||||||
.gradient {
|
.gradient {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
22
assets/scss/components/_docs.scss
Normal file
22
assets/scss/components/_docs.scss
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
.docs-controls .nav-link,
|
||||||
|
.file-controls .nav-link {
|
||||||
|
border-top-left-radius: #{$theme-border-radius};
|
||||||
|
border-top-right-radius: #{$theme-border-radius};
|
||||||
|
margin-left: #{$theme-border-radius};
|
||||||
|
|
||||||
|
&:hover,
|
||||||
|
&:focus {
|
||||||
|
border-bottom: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.docs-panel,
|
||||||
|
.file-panel {
|
||||||
|
border: 1px solid var(--#{$prefix}border-color);
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
.docs-panel, .docs-panel .collapse,
|
||||||
|
.file-panel, .file-panel .collapse {
|
||||||
|
border-radius: #{$theme-border-radius};
|
||||||
|
}
|
@@ -27,3 +27,7 @@
|
|||||||
width: 100vw;
|
width: 100vw;
|
||||||
object-fit: cover;
|
object-fit: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.figure-caption {
|
||||||
|
margin-left: #{$theme-border-radius};
|
||||||
|
}
|
||||||
|
3
assets/scss/components/_kbd.scss
Normal file
3
assets/scss/components/_kbd.scss
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
kbd {
|
||||||
|
border-radius: #{$theme-border-radius};
|
||||||
|
}
|
@@ -84,6 +84,14 @@
|
|||||||
border-color: var(--#{$prefix}border-color);
|
border-color: var(--#{$prefix}border-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.nav-callout, .pagination {
|
||||||
|
--bs-border-radius: #{$theme-border-radius};
|
||||||
|
}
|
||||||
|
|
||||||
|
.nav-callout .tab-content {
|
||||||
|
border-radius: #{$theme-border-radius};
|
||||||
|
}
|
||||||
|
|
||||||
@if $enable-dark-mode {
|
@if $enable-dark-mode {
|
||||||
@include color-mode(dark) {
|
@include color-mode(dark) {
|
||||||
.nav-callout, .tab-content {
|
.nav-callout, .tab-content {
|
||||||
|
@@ -7,7 +7,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.mode-switch {
|
.mode-switch {
|
||||||
--#{$prefix}mode-switch-width: 50px;
|
--#{$prefix}mode-switch-width: 3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mode-switch .label {
|
.mode-switch .label {
|
||||||
@@ -64,6 +64,18 @@
|
|||||||
transform: scale(0.8);
|
transform: scale(0.8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.mode-toggle > input {
|
||||||
|
z-index: 1;
|
||||||
|
cursor: pointer;
|
||||||
|
height: 25px;
|
||||||
|
width: 25px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.mode-toggle > label {
|
||||||
|
z-index: 0;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
|
||||||
// Source: https://jsfiddle.net/njhgr40m/
|
// Source: https://jsfiddle.net/njhgr40m/
|
||||||
|
|
||||||
@if $enable-dark-mode {
|
@if $enable-dark-mode {
|
||||||
@@ -126,12 +138,60 @@
|
|||||||
|
|
||||||
.navbar-expanded {
|
.navbar-expanded {
|
||||||
box-shadow: $box-shadow-sm;
|
box-shadow: $box-shadow-sm;
|
||||||
|
min-height: 100vh;
|
||||||
|
align-items: start;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-expanded .navbar-collapse {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@each $h, $size in $font-sizes {
|
||||||
|
.navbar-fs-#{$h} {
|
||||||
|
font-size: #{$size};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@each $breakpoint in map-keys($grid-breakpoints) {
|
||||||
|
$next: breakpoint-next($breakpoint, $grid-breakpoints);
|
||||||
|
$infix: breakpoint-infix($next, $grid-breakpoints);
|
||||||
|
|
||||||
|
@if $infix != '' {
|
||||||
|
@include media-breakpoint-up($next) {
|
||||||
|
.navbar#{$infix}-fs {
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-icon {
|
||||||
|
padding-right: var(--bs-navbar-nav-link-padding-x);
|
||||||
|
padding-left: var(--bs-navbar-nav-link-padding-x);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-item .vr {
|
.nav-item .vr {
|
||||||
color: var(--bs-navbar-color);
|
color: var(--bs-navbar-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.navbar .nav-item {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-collapse .dropdown {
|
||||||
|
display: inline;
|
||||||
|
align-items: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-expanded .btn {
|
||||||
|
font-size: 1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.navbar-expanded .search-input {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
}
|
||||||
|
|
||||||
/* Remove border from toggler */
|
/* Remove border from toggler */
|
||||||
.navbar-toggler {
|
.navbar-toggler {
|
||||||
border: 0 if($enable-important-utilities, !important, null);
|
border: 0 if($enable-important-utilities, !important, null);
|
||||||
@@ -319,3 +379,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: $zindex-fixed;
|
z-index: $zindex-fixed;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.form-control.is-search {
|
||||||
|
border: 1px solid var(--bs-border-color) !important;
|
||||||
|
}
|
||||||
|
@@ -11,6 +11,12 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-item {
|
.sidebar-item {
|
||||||
|
--bs-border-radius: #{$theme-border-radius};
|
||||||
|
--bs-border-radius-sm: #{$theme-border-radius};
|
||||||
|
--bs-border-radius-lg: #{$theme-border-radius};
|
||||||
|
--bs-border-radius-xl: #{$theme-border-radius};
|
||||||
|
--bs-border-radius-xxl: #{$theme-border-radius};
|
||||||
|
|
||||||
color: rgba(0, 0, 0, 0.65);
|
color: rgba(0, 0, 0, 0.65);
|
||||||
margin-left: 0 !important;
|
margin-left: 0 !important;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@@ -28,6 +34,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.sidebar-item-group {
|
.sidebar-item-group {
|
||||||
|
border-radius: #{$theme-border-radius};
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus {
|
&:focus {
|
||||||
color: $primary;
|
color: $primary;
|
||||||
@@ -126,4 +134,6 @@
|
|||||||
|
|
||||||
.dropdown-toggle {
|
.dropdown-toggle {
|
||||||
outline: 0;
|
outline: 0;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
@@ -16,6 +16,10 @@
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.codeblock.syntax-highlight, .command.syntax-highlight {
|
||||||
|
border-radius: #{$theme-border-radius};
|
||||||
|
}
|
||||||
|
|
||||||
.syntax-highlight {
|
.syntax-highlight {
|
||||||
background-color: var(--bs-light) if($enable-important-utilities, !important, null);
|
background-color: var(--bs-light) if($enable-important-utilities, !important, null);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
@@ -16,6 +16,10 @@
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.codeblock.syntax-highlight, .command.syntax-highlight {
|
||||||
|
border-radius: #{$theme-border-radius};
|
||||||
|
}
|
||||||
|
|
||||||
.syntax-highlight {
|
.syntax-highlight {
|
||||||
background-color: var(--bs-light) if($enable-important-utilities, !important, null);
|
background-color: var(--bs-light) if($enable-important-utilities, !important, null);
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
@@ -26,6 +26,10 @@ $semi-circle-border: 0.2rem;
|
|||||||
|
|
||||||
// scss-docs-end timeline
|
// scss-docs-end timeline
|
||||||
|
|
||||||
|
.timeline-container {
|
||||||
|
border-radius: #{$theme-border-radius};
|
||||||
|
}
|
||||||
|
|
||||||
.timeline, .timeline-sm {
|
.timeline, .timeline-sm {
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
4
assets/scss/components/_toast.scss
Normal file
4
assets/scss/components/_toast.scss
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
.toast {
|
||||||
|
border-radius: #{$theme-border-radius};
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
@@ -3,11 +3,11 @@
|
|||||||
//
|
//
|
||||||
// scss-docs-start toc
|
// scss-docs-start toc
|
||||||
.toc-sidebar {
|
.toc-sidebar {
|
||||||
grid-area: toc;
|
|
||||||
right: 0;
|
right: 0;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
top: 5rem;
|
top: 5rem;
|
||||||
|
max-height: calc(100vh - var(--navbar-offset));
|
||||||
}
|
}
|
||||||
|
|
||||||
// scss-docs-end toc
|
// scss-docs-end toc
|
||||||
|
@@ -3,6 +3,7 @@
|
|||||||
padding-bottom: 56.25%;
|
padding-bottom: 56.25%;
|
||||||
height: 0;
|
height: 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
border-radius: #{$theme-border-radius};
|
||||||
}
|
}
|
||||||
|
|
||||||
.video-embedded > iframe {
|
.video-embedded > iframe {
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
/* inter-200 - latin */
|
/* inter-200 - latin */
|
||||||
@font-face {
|
@font-face {
|
||||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
font-display: block; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
font-family: 'Inter';
|
font-family: 'Inter';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
}
|
}
|
||||||
/* inter-300 - latin */
|
/* inter-300 - latin */
|
||||||
@font-face {
|
@font-face {
|
||||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
font-display: block; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
font-family: 'Inter';
|
font-family: 'Inter';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
@@ -36,7 +36,7 @@
|
|||||||
}
|
}
|
||||||
/* inter-regular - latin */
|
/* inter-regular - latin */
|
||||||
@font-face {
|
@font-face {
|
||||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
font-display: block; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
font-family: 'Inter';
|
font-family: 'Inter';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
}
|
}
|
||||||
/* inter-600 - latin */
|
/* inter-600 - latin */
|
||||||
@font-face {
|
@font-face {
|
||||||
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
font-display: block; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
|
||||||
font-family: 'Inter';
|
font-family: 'Inter';
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
@@ -2,6 +2,10 @@
|
|||||||
background-color: var(--#{$prefix}primary-bg-subtle);
|
background-color: var(--#{$prefix}primary-bg-subtle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.cta, .background-img-fluid {
|
||||||
|
border-radius: #{$theme-border-radius} if($enable-important-utilities, !important, null);
|
||||||
|
}
|
||||||
|
|
||||||
.cta .contact-img {
|
.cta .contact-img {
|
||||||
background-color: var(--#{$prefix}body-bg);
|
background-color: var(--#{$prefix}body-bg);
|
||||||
border-radius: var(--bs-border-radius);
|
border-radius: var(--bs-border-radius);
|
||||||
|
@@ -1,3 +1,13 @@
|
|||||||
.panels .dropdown-toggle {
|
.panels .dropdown-toggle {
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.panels .nav-tabs {
|
||||||
|
border-top-left-radius: #{$theme-border-radius};
|
||||||
|
border-top-right-radius: #{$theme-border-radius};
|
||||||
|
margin-left: #{$theme-border-radius};
|
||||||
|
}
|
||||||
|
|
||||||
|
.panels .tab-content {
|
||||||
|
border-radius: #{$theme-border-radius};
|
||||||
|
}
|
||||||
|
@@ -31,6 +31,7 @@ blueprint:
|
|||||||
media-id:
|
media-id:
|
||||||
autoplay:
|
autoplay:
|
||||||
query-args:
|
query-args:
|
||||||
|
color:
|
||||||
cols:
|
cols:
|
||||||
messages:
|
messages:
|
||||||
- title:
|
- title:
|
||||||
|
@@ -28,6 +28,7 @@
|
|||||||
{{ $queryArgs := .queryArgs }}
|
{{ $queryArgs := .queryArgs }}
|
||||||
{{ $border := .border }}
|
{{ $border := .border }}
|
||||||
{{ $padding := .padding }}
|
{{ $padding := .padding }}
|
||||||
|
{{ $color := .color }}
|
||||||
|
|
||||||
{{ if site.Params.env_bookshop_live }}
|
{{ if site.Params.env_bookshop_live }}
|
||||||
{{/* Define dummy content as we cannot retrieve video data in live mode */}}
|
{{/* Define dummy content as we cannot retrieve video data in live mode */}}
|
||||||
@@ -36,7 +37,7 @@
|
|||||||
"ratio" "21x9"
|
"ratio" "21x9"
|
||||||
"wrapper" (printf "text-center mb-%d" $padding.y)) -}}
|
"wrapper" (printf "text-center mb-%d" $padding.y)) -}}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<div class="video-container{{ if $border }} video-container-border{{ end}}">
|
<div class="video-container{{ if $border }} video-container-border{{ end}} {{ with $color }}bg-{{ . }}{{ end }}">
|
||||||
{{ partial "assets/video.html" (dict
|
{{ partial "assets/video.html" (dict
|
||||||
"page" page
|
"page" page
|
||||||
"provider" $provider
|
"provider" $provider
|
||||||
@@ -117,10 +118,11 @@
|
|||||||
"query-args" .queryArgs
|
"query-args" .queryArgs
|
||||||
"border" $.border
|
"border" $.border
|
||||||
"padding" $padding
|
"padding" $padding
|
||||||
|
"color" .color
|
||||||
) -}}
|
) -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-{{ $padding.y }}">
|
<div class="mt-{{ $padding.y }} w-100">
|
||||||
{{- partial "inline/messages.html" (dict
|
{{- partial "inline/messages.html" (dict
|
||||||
"list" $list
|
"list" $list
|
||||||
"cols" $args.cols
|
"cols" $args.cols
|
||||||
@@ -142,6 +144,7 @@
|
|||||||
"query-args" .queryArgs
|
"query-args" .queryArgs
|
||||||
"border" $.border
|
"border" $.border
|
||||||
"padding" $padding
|
"padding" $padding
|
||||||
|
"color" .color
|
||||||
) -}}
|
) -}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
@@ -2,6 +2,7 @@
|
|||||||
--bs-video-border-color: var(--bs-primary);
|
--bs-video-border-color: var(--bs-primary);
|
||||||
--bs-video-border-width: 1rem;
|
--bs-video-border-width: 1rem;
|
||||||
|
|
||||||
|
border-radius: $theme-border-radius;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -176,7 +176,7 @@ home = ["HTML", "RSS", "REDIR", "netlify", "server"]
|
|||||||
[[module.imports]]
|
[[module.imports]]
|
||||||
path = "github.com/gethinode/mod-csp"
|
path = "github.com/gethinode/mod-csp"
|
||||||
[[module.imports]]
|
[[module.imports]]
|
||||||
path = "github.com/gethinode/mod-flexsearch/v2"
|
path = "github.com/gethinode/mod-flexsearch/v3"
|
||||||
[[module.imports]]
|
[[module.imports]]
|
||||||
path = "github.com/gethinode/mod-fontawesome/v2"
|
path = "github.com/gethinode/mod-fontawesome/v2"
|
||||||
[[module.imports]]
|
[[module.imports]]
|
||||||
|
@@ -2,9 +2,7 @@
|
|||||||
[main]
|
[main]
|
||||||
separator = "-"
|
separator = "-"
|
||||||
description = "Hinode is a clean documentation and blog theme for your Hugo site based on Bootstrap 5."
|
description = "Hinode is a clean documentation and blog theme for your Hugo site based on Bootstrap 5."
|
||||||
enableDarkMode = true
|
|
||||||
enableLanguageSelectionStorage = false
|
enableLanguageSelectionStorage = false
|
||||||
modes = ["light", "dark"]
|
|
||||||
canonifyAssetsURLs = false
|
canonifyAssetsURLs = false
|
||||||
endorse = true
|
endorse = true
|
||||||
footerBelowFold = false
|
footerBelowFold = false
|
||||||
@@ -22,6 +20,12 @@
|
|||||||
tab = false
|
tab = false
|
||||||
[main.build]
|
[main.build]
|
||||||
transpiler = "libsass"
|
transpiler = "libsass"
|
||||||
|
[main.colorMode]
|
||||||
|
enabled = true
|
||||||
|
modes = ["light", "dark"]
|
||||||
|
toggle = false
|
||||||
|
iconLight = "fas sun"
|
||||||
|
iconDark = "fas moon"
|
||||||
# toml-docs-end main
|
# toml-docs-end main
|
||||||
|
|
||||||
# toml-docs-start images
|
# toml-docs-start images
|
||||||
@@ -91,8 +95,6 @@
|
|||||||
overlayMode = "dark"
|
overlayMode = "dark"
|
||||||
horizontal = false
|
horizontal = false
|
||||||
offset = "5.5rem"
|
offset = "5.5rem"
|
||||||
search = true
|
|
||||||
searchModal = false
|
|
||||||
breadcrumb = true
|
breadcrumb = true
|
||||||
toc = true
|
toc = true
|
||||||
sidebar = true
|
sidebar = true
|
||||||
@@ -103,6 +105,12 @@
|
|||||||
[navigation.padding]
|
[navigation.padding]
|
||||||
x = 4
|
x = 4
|
||||||
y = 4
|
y = 4
|
||||||
|
[navigation.language]
|
||||||
|
icon = "fas globe"
|
||||||
|
[navigation.search]
|
||||||
|
enabled = true
|
||||||
|
modal = true
|
||||||
|
icon = "fas magnifying-glass"
|
||||||
# toml-docs-end navigation
|
# toml-docs-end navigation
|
||||||
|
|
||||||
# toml-docs-start messages
|
# toml-docs-start messages
|
||||||
|
@@ -27,7 +27,7 @@ const purgecss = purgeCSSPlugin({
|
|||||||
'./assets/scss/theme/fonts.scss',
|
'./assets/scss/theme/fonts.scss',
|
||||||
'./assets/scss/theme/theme.scss',
|
'./assets/scss/theme/theme.scss',
|
||||||
'./_vendor/github.com/gethinode/mod-cookieyes/v2/assets/scss/cookieyes.scss',
|
'./_vendor/github.com/gethinode/mod-cookieyes/v2/assets/scss/cookieyes.scss',
|
||||||
'./_vendor/github.com/gethinode/mod-flexsearch/v2/assets/scss/modules/flexsearch/flexsearch.scss',
|
'./_vendor/github.com/gethinode/mod-flexsearch/v3/assets/scss/modules/flexsearch/flexsearch.scss',
|
||||||
'./_vendor/github.com/gethinode/mod-katex/dist/katex.scss',
|
'./_vendor/github.com/gethinode/mod-katex/dist/katex.scss',
|
||||||
'./_vendor/github.com/gethinode/mod-leaflet/dist/leaflet.scss',
|
'./_vendor/github.com/gethinode/mod-leaflet/dist/leaflet.scss',
|
||||||
'./_vendor/github.com/gethinode/mod-mermaid/v3/assets/scss/mermaid.scss',
|
'./_vendor/github.com/gethinode/mod-mermaid/v3/assets/scss/mermaid.scss',
|
||||||
|
8
content/_modals/_index.md
Normal file
8
content/_modals/_index.md
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
title: Modal elements
|
||||||
|
cascade:
|
||||||
|
- build:
|
||||||
|
list: local
|
||||||
|
publishResources: false
|
||||||
|
render: never
|
||||||
|
---
|
@@ -9,7 +9,9 @@ arguments:
|
|||||||
comment: Context of the current page.
|
comment: Context of the current page.
|
||||||
group: partial
|
group: partial
|
||||||
menu:
|
menu:
|
||||||
type: '*navigation.MenuEntry'
|
type:
|
||||||
|
- '*navigation.MenuEntry'
|
||||||
|
- 'map[string]interface {}'
|
||||||
optional: false
|
optional: false
|
||||||
comment: Menu data to use for the navbar item.
|
comment: Menu data to use for the navbar item.
|
||||||
parent:
|
parent:
|
||||||
@@ -37,3 +39,24 @@ arguments:
|
|||||||
optional: true
|
optional: true
|
||||||
comment: >-
|
comment: >-
|
||||||
Renders the navigation item as plain item, ignoring any children.
|
Renders the navigation item as plain item, ignoring any children.
|
||||||
|
breakpoint:
|
||||||
|
release: v1.2.0
|
||||||
|
modal:
|
||||||
|
type: string
|
||||||
|
optional: true
|
||||||
|
release: v1.2.0
|
||||||
|
comment: >-
|
||||||
|
If set, toggles a modal control for the provided target.
|
||||||
|
id:
|
||||||
|
type: string
|
||||||
|
optional: true
|
||||||
|
release: v1.2.0
|
||||||
|
comment: >-
|
||||||
|
If set, adds an id attribute to the menu item.
|
||||||
|
fs:
|
||||||
|
type: int
|
||||||
|
optional: true
|
||||||
|
default: 6
|
||||||
|
release: v1.2.0
|
||||||
|
comment: >-
|
||||||
|
Sets the font size of the navigation items when the navbar is collapsed.
|
||||||
|
@@ -115,7 +115,7 @@ home = ["HTML", "RSS", "REDIR", "netlify", "server"]
|
|||||||
[[module.imports]]
|
[[module.imports]]
|
||||||
path = "github.com/gethinode/mod-csp"
|
path = "github.com/gethinode/mod-csp"
|
||||||
[[module.imports]]
|
[[module.imports]]
|
||||||
path = "github.com/gethinode/mod-flexsearch/v2"
|
path = "github.com/gethinode/mod-flexsearch/v3"
|
||||||
[[module.imports]]
|
[[module.imports]]
|
||||||
path = "github.com/gethinode/mod-fontawesome/v2"
|
path = "github.com/gethinode/mod-fontawesome/v2"
|
||||||
[[module.imports]]
|
[[module.imports]]
|
||||||
|
@@ -1,9 +1,7 @@
|
|||||||
[main]
|
[main]
|
||||||
separator = "-"
|
separator = "-"
|
||||||
description = "Hinode is a clean documentation and blog theme for your Hugo site based on Bootstrap 5."
|
description = "Hinode is a clean documentation and blog theme for your Hugo site based on Bootstrap 5."
|
||||||
enableDarkMode = true
|
|
||||||
enableLanguageSelectionStorage = true
|
enableLanguageSelectionStorage = true
|
||||||
modes = ["light", "dark"]
|
|
||||||
canonifyAssetsURLs = false
|
canonifyAssetsURLs = false
|
||||||
footerBelowFold = false
|
footerBelowFold = false
|
||||||
loading = "lazy"
|
loading = "lazy"
|
||||||
@@ -21,6 +19,12 @@
|
|||||||
[main.build]
|
[main.build]
|
||||||
transpiler = "dartsass"
|
transpiler = "dartsass"
|
||||||
silenceDeprecations = true
|
silenceDeprecations = true
|
||||||
|
[main.colorMode]
|
||||||
|
enabled = true
|
||||||
|
modes = ["light", "dark"]
|
||||||
|
toggle = true
|
||||||
|
iconLight = "fas sun"
|
||||||
|
iconDark = "fas moon"
|
||||||
|
|
||||||
[debugging]
|
[debugging]
|
||||||
showJS = false
|
showJS = false
|
||||||
@@ -45,18 +49,23 @@
|
|||||||
horizontal = false
|
horizontal = false
|
||||||
offset = "5.5rem"
|
offset = "5.5rem"
|
||||||
offsetXS = "5.5rem"
|
offsetXS = "5.5rem"
|
||||||
search = true
|
|
||||||
searchModal = false
|
|
||||||
breadcrumb = true
|
breadcrumb = true
|
||||||
toc = true
|
toc = true
|
||||||
sidebar = true
|
sidebar = true
|
||||||
size = "md"
|
size = "md"
|
||||||
|
fontsizeCollapsed = 6
|
||||||
startLevel = 2
|
startLevel = 2
|
||||||
endLevel = 3
|
endLevel = 3
|
||||||
maxNumHeadings = 9
|
maxNumHeadings = 9
|
||||||
|
[navigation.language]
|
||||||
|
icon = "fas globe"
|
||||||
[navigation.padding]
|
[navigation.padding]
|
||||||
x = 4
|
x = 4
|
||||||
y = 4
|
y = 4
|
||||||
|
[navigation.search]
|
||||||
|
enabled = true
|
||||||
|
modal = false
|
||||||
|
icon = "fas magnifying-glass"
|
||||||
|
|
||||||
[messages]
|
[messages]
|
||||||
placement = "bottom-right"
|
placement = "bottom-right"
|
||||||
|
@@ -27,7 +27,7 @@ const purgecss = purgeCSSPlugin({
|
|||||||
'./assets/scss/theme/fonts.scss',
|
'./assets/scss/theme/fonts.scss',
|
||||||
'./assets/scss/theme/theme.scss',
|
'./assets/scss/theme/theme.scss',
|
||||||
'./_vendor/github.com/gethinode/mod-cookieyes/v2/assets/scss/cookieyes.scss',
|
'./_vendor/github.com/gethinode/mod-cookieyes/v2/assets/scss/cookieyes.scss',
|
||||||
'./_vendor/github.com/gethinode/mod-flexsearch/v2/assets/scss/modules/flexsearch/flexsearch.scss',
|
'./_vendor/github.com/gethinode/mod-flexsearch/v3/assets/scss/modules/flexsearch/flexsearch.scss',
|
||||||
'./_vendor/github.com/gethinode/mod-katex/dist/katex.scss',
|
'./_vendor/github.com/gethinode/mod-katex/dist/katex.scss',
|
||||||
'./_vendor/github.com/gethinode/mod-leaflet/dist/leaflet.scss',
|
'./_vendor/github.com/gethinode/mod-leaflet/dist/leaflet.scss',
|
||||||
'./_vendor/github.com/gethinode/mod-mermaid/v3/assets/scss/mermaid.scss',
|
'./_vendor/github.com/gethinode/mod-mermaid/v3/assets/scss/mermaid.scss',
|
||||||
|
@@ -29,6 +29,7 @@ The `video` content block renders a horizontal line to separate sections. The se
|
|||||||
provider: vimeo
|
provider: vimeo
|
||||||
media-id: "55073825"
|
media-id: "55073825"
|
||||||
autoplay: true
|
autoplay: true
|
||||||
|
color: black
|
||||||
messages:
|
messages:
|
||||||
- title: First Message
|
- title: First Message
|
||||||
icon: fas 1
|
icon: fas 1
|
||||||
|
@@ -4,7 +4,7 @@ title: Components
|
|||||||
date: 2023-09-23
|
date: 2023-09-23
|
||||||
description: Use shortcodes to add predefined components powered by external libraries.
|
description: Use shortcodes to add predefined components powered by external libraries.
|
||||||
tags: ["bootstrap", "shortcode"]
|
tags: ["bootstrap", "shortcode"]
|
||||||
keywords: ["featured"]
|
keywords: featured
|
||||||
thumbnail:
|
thumbnail:
|
||||||
url: img/puzzle.jpg
|
url: img/puzzle.jpg
|
||||||
author: Ryoji Iwata
|
author: Ryoji Iwata
|
||||||
|
@@ -4,7 +4,7 @@ title: Content blocks
|
|||||||
date: 2025-06-07
|
date: 2025-06-07
|
||||||
description: Quickly edit your webpages using reusable content blocks.
|
description: Quickly edit your webpages using reusable content blocks.
|
||||||
tags: ["bookshop", "blocks"]
|
tags: ["bookshop", "blocks"]
|
||||||
keywords: ["featured"]
|
keywords: featured
|
||||||
thumbnail:
|
thumbnail:
|
||||||
url: img/pj-accetturo-XpD6Dkui-yg-unsplash.jpg
|
url: img/pj-accetturo-XpD6Dkui-yg-unsplash.jpg
|
||||||
author: Pj Accetturo
|
author: Pj Accetturo
|
||||||
|
@@ -2,14 +2,63 @@
|
|||||||
author: Mark Dumay
|
author: Mark Dumay
|
||||||
title: Bienvenue sur Hinode!
|
title: Bienvenue sur Hinode!
|
||||||
description: Un thème de blog et de documentation pour Hugo basé sur Bootstrap 5.
|
description: Un thème de blog et de documentation pour Hugo basé sur Bootstrap 5.
|
||||||
thumbnail:
|
content_blocks:
|
||||||
url: /img/sunrise.jpg
|
- _bookshop_name: hero
|
||||||
author: Harris Vo
|
heading:
|
||||||
authorURL: https://unsplash.com/@hoanvokim
|
title: Bienvenue sur Hinode!
|
||||||
origin: https://unsplash.com/photos/ZX6BPboJrYk
|
content: |-
|
||||||
originName: Unsplash
|
Un thème de blog et de documentation pour Hugo basé sur Bootstrap 5.
|
||||||
actions:
|
width: 6
|
||||||
about:
|
background:
|
||||||
url: "a-propos"
|
color: primary
|
||||||
title: "À propos"
|
subtle: true
|
||||||
|
illustration:
|
||||||
|
image: /img/sunrise.jpg
|
||||||
|
ratio: 16x9
|
||||||
|
width: 8
|
||||||
|
links:
|
||||||
|
- title: À propos
|
||||||
|
url: "/fr/a-propos/"
|
||||||
|
icon: fas chevron-right
|
||||||
|
orientation: horizontal
|
||||||
|
justify: center
|
||||||
|
|
||||||
|
- _bookshop_name: articles
|
||||||
|
heading:
|
||||||
|
title: Articles de blog
|
||||||
|
align: start
|
||||||
|
input:
|
||||||
|
section: blog
|
||||||
|
reverse: true
|
||||||
|
sort: date
|
||||||
|
keywords: featured
|
||||||
|
hide-empty: false
|
||||||
|
header-style: none
|
||||||
|
more:
|
||||||
|
title: Plus d'articles
|
||||||
|
padding: 0
|
||||||
|
limit: 3
|
||||||
|
class: border-0 card-zoom card-body-margin
|
||||||
|
|
||||||
|
- _bookshop_name: articles
|
||||||
|
heading:
|
||||||
|
title: Projets
|
||||||
|
align: start
|
||||||
|
background:
|
||||||
|
background: body-tertiary
|
||||||
|
hide-empty: false
|
||||||
|
input:
|
||||||
|
section: projects
|
||||||
|
reverse: false
|
||||||
|
sort: date
|
||||||
|
more:
|
||||||
|
title: Plus d'articles
|
||||||
|
cols: 1
|
||||||
|
padding: 4
|
||||||
|
limit: 2
|
||||||
|
icon-style: fa-5x
|
||||||
|
header-style: none
|
||||||
|
footer-style: tags
|
||||||
|
orientation: horizontal-sm
|
||||||
|
class: border-1 card-emphasize
|
||||||
---
|
---
|
||||||
|
@@ -5,6 +5,7 @@ slug: elements-bootstrap
|
|||||||
date: 2023-08-12
|
date: 2023-08-12
|
||||||
description: Utilisez des shortcodes pour ajouter facilement des éléments Bootstrap courants.
|
description: Utilisez des shortcodes pour ajouter facilement des éléments Bootstrap courants.
|
||||||
tags: ["bootstrap", "shortcode"]
|
tags: ["bootstrap", "shortcode"]
|
||||||
|
keywords: featured
|
||||||
thumbnail:
|
thumbnail:
|
||||||
url: img/boots.jpg
|
url: img/boots.jpg
|
||||||
author: Nathan Dumlao
|
author: Nathan Dumlao
|
||||||
|
@@ -5,6 +5,7 @@ slug: composents
|
|||||||
date: 2023-07-21
|
date: 2023-07-21
|
||||||
description: Utilisez des shortcodes pour ajouter des composants prédéfinis alimentés par des bibliothèques externes.
|
description: Utilisez des shortcodes pour ajouter des composants prédéfinis alimentés par des bibliothèques externes.
|
||||||
tags: ["bootstrap", "shortcode"]
|
tags: ["bootstrap", "shortcode"]
|
||||||
|
keywords: featured
|
||||||
thumbnail:
|
thumbnail:
|
||||||
url: img/puzzle.jpg
|
url: img/puzzle.jpg
|
||||||
author: Ryoji Iwata
|
author: Ryoji Iwata
|
||||||
|
@@ -4,6 +4,7 @@ title: Images locales et distantes
|
|||||||
date: 2024-05-19
|
date: 2024-05-19
|
||||||
description: Inclure des images responsives provenant de sources locales et de certains fournisseurs de CDN d'images.
|
description: Inclure des images responsives provenant de sources locales et de certains fournisseurs de CDN d'images.
|
||||||
tags: ["blog"]
|
tags: ["blog"]
|
||||||
|
keywords: featured
|
||||||
thumbnail:
|
thumbnail:
|
||||||
url: https://assets.imgix.net/examples/bluehat.jpg
|
url: https://assets.imgix.net/examples/bluehat.jpg
|
||||||
---
|
---
|
||||||
|
@@ -2,14 +2,62 @@
|
|||||||
author: Mark Dumay
|
author: Mark Dumay
|
||||||
title: Welkom bij Hinode!
|
title: Welkom bij Hinode!
|
||||||
description: Een documentatie en blog thema voor Hugo gebaseerd op Bootstrap 5.
|
description: Een documentatie en blog thema voor Hugo gebaseerd op Bootstrap 5.
|
||||||
thumbnail:
|
content_blocks:
|
||||||
url: /img/sunrise.jpg
|
- _bookshop_name: hero
|
||||||
author: Harris Vo
|
heading:
|
||||||
authorURL: https://unsplash.com/@hoanvokim
|
title: Welkom bij Hinode!
|
||||||
origin: https://unsplash.com/photos/ZX6BPboJrYk
|
content: |-
|
||||||
originName: Unsplash
|
Een documentatie en blog thema voor Hugo gebaseerd op Bootstrap 5.
|
||||||
actions:
|
width: 6
|
||||||
about:
|
background:
|
||||||
url: "over-mij"
|
color: primary
|
||||||
title: "Over mij"
|
subtle: true
|
||||||
|
illustration:
|
||||||
|
image: /img/sunrise.jpg
|
||||||
|
ratio: 16x9
|
||||||
|
width: 8
|
||||||
|
links:
|
||||||
|
- title: "Over mij"
|
||||||
|
url: "/nl/over-mij/"
|
||||||
|
icon: fas chevron-right
|
||||||
|
orientation: horizontal
|
||||||
|
justify: center
|
||||||
|
|
||||||
|
- _bookshop_name: articles
|
||||||
|
heading:
|
||||||
|
title: Blog
|
||||||
|
align: start
|
||||||
|
input:
|
||||||
|
section: blog
|
||||||
|
reverse: true
|
||||||
|
sort: date
|
||||||
|
hide-empty: false
|
||||||
|
header-style: none
|
||||||
|
more:
|
||||||
|
title: Meer artikelen
|
||||||
|
padding: 0
|
||||||
|
limit: 3
|
||||||
|
class: border-0 card-zoom card-body-margin
|
||||||
|
|
||||||
|
- _bookshop_name: articles
|
||||||
|
heading:
|
||||||
|
title: Projecten
|
||||||
|
align: start
|
||||||
|
background:
|
||||||
|
background: body-tertiary
|
||||||
|
hide-empty: false
|
||||||
|
input:
|
||||||
|
section: projects
|
||||||
|
reverse: false
|
||||||
|
sort: date
|
||||||
|
more:
|
||||||
|
title: Meer artikelen
|
||||||
|
cols: 1
|
||||||
|
padding: 4
|
||||||
|
limit: 2
|
||||||
|
icon-style: fa-5x
|
||||||
|
header-style: none
|
||||||
|
footer-style: tags
|
||||||
|
orientation: horizontal-sm
|
||||||
|
class: border-1 card-emphasize
|
||||||
---
|
---
|
||||||
|
@@ -95,9 +95,9 @@
|
|||||||
"background-container",
|
"background-container",
|
||||||
"background-img-fluid",
|
"background-img-fluid",
|
||||||
"badge",
|
"badge",
|
||||||
"ball",
|
|
||||||
"bg-bg-body-tertiary",
|
"bg-bg-body-tertiary",
|
||||||
"bg-bg-primary-subtle",
|
"bg-bg-primary-subtle",
|
||||||
|
"bg-black",
|
||||||
"bg-body",
|
"bg-body",
|
||||||
"bg-body-tertiary",
|
"bg-body-tertiary",
|
||||||
"bg-danger",
|
"bg-danger",
|
||||||
@@ -110,9 +110,7 @@
|
|||||||
"border-0",
|
"border-0",
|
||||||
"border-1",
|
"border-1",
|
||||||
"border-bottom",
|
"border-bottom",
|
||||||
"border-end",
|
|
||||||
"border-none",
|
"border-none",
|
||||||
"border-start",
|
|
||||||
"border-top",
|
"border-top",
|
||||||
"bottom-0",
|
"bottom-0",
|
||||||
"bottom-bar",
|
"bottom-bar",
|
||||||
@@ -191,6 +189,7 @@
|
|||||||
"col-sm-6",
|
"col-sm-6",
|
||||||
"collapse",
|
"collapse",
|
||||||
"collapsed",
|
"collapsed",
|
||||||
|
"command",
|
||||||
"contact-img",
|
"contact-img",
|
||||||
"container",
|
"container",
|
||||||
"container-fluid",
|
"container-fluid",
|
||||||
@@ -223,6 +222,9 @@
|
|||||||
"display-1",
|
"display-1",
|
||||||
"display-4",
|
"display-4",
|
||||||
"display-6",
|
"display-6",
|
||||||
|
"docs",
|
||||||
|
"docs-controls",
|
||||||
|
"docs-panel",
|
||||||
"dropdown",
|
"dropdown",
|
||||||
"dropdown-divider-bg",
|
"dropdown-divider-bg",
|
||||||
"dropdown-item",
|
"dropdown-item",
|
||||||
@@ -243,6 +245,9 @@
|
|||||||
"fa-activity",
|
"fa-activity",
|
||||||
"fa-address-card",
|
"fa-address-card",
|
||||||
"fa-angle-left",
|
"fa-angle-left",
|
||||||
|
"fa-angle-right",
|
||||||
|
"fa-angles-left",
|
||||||
|
"fa-angles-right",
|
||||||
"fa-arrow-left",
|
"fa-arrow-left",
|
||||||
"fa-arrow-right",
|
"fa-arrow-right",
|
||||||
"fa-bootstrap",
|
"fa-bootstrap",
|
||||||
@@ -298,6 +303,9 @@
|
|||||||
"faq",
|
"faq",
|
||||||
"fas",
|
"fas",
|
||||||
"figure-caption",
|
"figure-caption",
|
||||||
|
"file",
|
||||||
|
"file-controls",
|
||||||
|
"file-panel",
|
||||||
"fixed-top",
|
"fixed-top",
|
||||||
"flex-column",
|
"flex-column",
|
||||||
"flex-fill",
|
"flex-fill",
|
||||||
@@ -322,10 +330,8 @@
|
|||||||
"g-4",
|
"g-4",
|
||||||
"gap-1",
|
"gap-1",
|
||||||
"gap-2",
|
"gap-2",
|
||||||
"gap-4",
|
|
||||||
"gap-5",
|
"gap-5",
|
||||||
"gradient",
|
"gradient",
|
||||||
"grid",
|
|
||||||
"h-100",
|
"h-100",
|
||||||
"h1",
|
"h1",
|
||||||
"h2",
|
"h2",
|
||||||
@@ -375,9 +381,11 @@
|
|||||||
"me-1",
|
"me-1",
|
||||||
"me-3",
|
"me-3",
|
||||||
"me-auto",
|
"me-auto",
|
||||||
|
"me-md-3",
|
||||||
"mermaid",
|
"mermaid",
|
||||||
"middle-bar",
|
"middle-bar",
|
||||||
"mode-switch",
|
"mode-item",
|
||||||
|
"mode-toggle",
|
||||||
"ms-1",
|
"ms-1",
|
||||||
"ms-3",
|
"ms-3",
|
||||||
"ms-auto",
|
"ms-auto",
|
||||||
@@ -417,6 +425,8 @@
|
|||||||
"navbar-contrast",
|
"navbar-contrast",
|
||||||
"navbar-expand-md",
|
"navbar-expand-md",
|
||||||
"navbar-fixed-top",
|
"navbar-fixed-top",
|
||||||
|
"navbar-fs-6",
|
||||||
|
"navbar-md-fs",
|
||||||
"navbar-mode-selector",
|
"navbar-mode-selector",
|
||||||
"navbar-nav",
|
"navbar-nav",
|
||||||
"navbar-nav-scroll",
|
"navbar-nav-scroll",
|
||||||
@@ -551,6 +561,7 @@
|
|||||||
"timeline-bg-primary-subtle",
|
"timeline-bg-primary-subtle",
|
||||||
"timeline-connector-end",
|
"timeline-connector-end",
|
||||||
"timeline-connector-start",
|
"timeline-connector-start",
|
||||||
|
"timeline-container",
|
||||||
"timeline-description-text-end",
|
"timeline-description-text-end",
|
||||||
"timeline-description-text-start",
|
"timeline-description-text-start",
|
||||||
"timeline-dot",
|
"timeline-dot",
|
||||||
@@ -606,9 +617,11 @@
|
|||||||
"animation",
|
"animation",
|
||||||
"args",
|
"args",
|
||||||
"arguments",
|
"arguments",
|
||||||
|
"articles-de-blog",
|
||||||
"background-type",
|
"background-type",
|
||||||
"badge",
|
"badge",
|
||||||
"barre-de-navigation",
|
"barre-de-navigation",
|
||||||
|
"bienvenue-sur-hinode",
|
||||||
"block-diagram",
|
"block-diagram",
|
||||||
"blog",
|
"blog",
|
||||||
"body-docs-collapse-15",
|
"body-docs-collapse-15",
|
||||||
@@ -644,11 +657,16 @@
|
|||||||
"docs",
|
"docs",
|
||||||
"documentation",
|
"documentation",
|
||||||
"dropdown-nav-0",
|
"dropdown-nav-0",
|
||||||
"dropdown-panel-084bf092239e5f25a71841b46134e2b5",
|
"dropdown-panel-0692e7e68c57d91164039f0f77cce9d8",
|
||||||
"dropdown-panel-09e05d29554c47c7d092c3c332e8ab42",
|
"dropdown-panel-0a5cb51ed9eea57f673dc25545175b8b",
|
||||||
"dropdown-panel-5acf6806020477b731604b7c3506126d",
|
"dropdown-panel-41fccc8aa490d4ea9d475a6d2d44be42",
|
||||||
"dropdown-panel-6bdf123559ba44e375634c7e5392b912",
|
"dropdown-panel-7aa9804adc5998a7a66cd8faf656c6f9",
|
||||||
"dropdown-panel-d09398439fd994d4aafbc4a3a9c28bf2",
|
"dropdown-panel-99dcbfb73d35cee704ca4ee9fb6a5e3c",
|
||||||
|
"dropdown-panel-b06517abb515d4c22a03ca07d577f3de",
|
||||||
|
"dropdown-panel-b434a05f655e7811ee71b4177747a1c0",
|
||||||
|
"dropdown-panel-ba696faaa3c3f34bebc3f1da67a7c8ad",
|
||||||
|
"dropdown-panel-d80f75f98e8a44fe4164fa76a6afd600",
|
||||||
|
"dropdown-panel-d8bdd6a5f6d88907f9d6e8b57d921196",
|
||||||
"elements-type",
|
"elements-type",
|
||||||
"entity-relationship-diagram",
|
"entity-relationship-diagram",
|
||||||
"example",
|
"example",
|
||||||
@@ -666,16 +684,24 @@
|
|||||||
"fab-medium",
|
"fab-medium",
|
||||||
"fab-whatsapp",
|
"fab-whatsapp",
|
||||||
"fab-x-twitter",
|
"fab-x-twitter",
|
||||||
"faq-c3e9e2ab69a8c88825f39038d15bc04f",
|
"faq-1b8aefa895c57fc4fd5452748485b590",
|
||||||
"faq-c3e9e2ab69a8c88825f39038d15bc04f-heading-faq-c3e9e2ab69a8c88825f39038d15bc04f",
|
"faq-1b8aefa895c57fc4fd5452748485b590-heading-faq-1b8aefa895c57fc4fd5452748485b590",
|
||||||
"faq-c3e9e2ab69a8c88825f39038d15bc04f-item-0",
|
"faq-1b8aefa895c57fc4fd5452748485b590-item-0",
|
||||||
"faq-c3e9e2ab69a8c88825f39038d15bc04f-item-1",
|
"faq-1b8aefa895c57fc4fd5452748485b590-item-1",
|
||||||
"faq-c3e9e2ab69a8c88825f39038d15bc04f-item-2",
|
"faq-1b8aefa895c57fc4fd5452748485b590-item-2",
|
||||||
|
"faq-f18dc8d82722290aea32dc7f4423dea5",
|
||||||
|
"faq-f18dc8d82722290aea32dc7f4423dea5-heading-faq-f18dc8d82722290aea32dc7f4423dea5",
|
||||||
|
"faq-f18dc8d82722290aea32dc7f4423dea5-item-0",
|
||||||
|
"faq-f18dc8d82722290aea32dc7f4423dea5-item-1",
|
||||||
|
"faq-f18dc8d82722290aea32dc7f4423dea5-item-2",
|
||||||
"fas-1",
|
"fas-1",
|
||||||
"fas-2",
|
"fas-2",
|
||||||
"fas-3",
|
"fas-3",
|
||||||
"fas-address-card",
|
"fas-address-card",
|
||||||
"fas-angle-left",
|
"fas-angle-left",
|
||||||
|
"fas-angle-right",
|
||||||
|
"fas-angles-left",
|
||||||
|
"fas-angles-right",
|
||||||
"fas-arrow-left",
|
"fas-arrow-left",
|
||||||
"fas-arrow-right",
|
"fas-arrow-right",
|
||||||
"fas-chevron-right",
|
"fas-chevron-right",
|
||||||
@@ -762,11 +788,16 @@
|
|||||||
"nav-0-btn-1",
|
"nav-0-btn-1",
|
||||||
"nav-0-btn-2",
|
"nav-0-btn-2",
|
||||||
"nav-nav-0",
|
"nav-nav-0",
|
||||||
"nav-panel-084bf092239e5f25a71841b46134e2b5",
|
"nav-panel-0692e7e68c57d91164039f0f77cce9d8",
|
||||||
"nav-panel-09e05d29554c47c7d092c3c332e8ab42",
|
"nav-panel-0a5cb51ed9eea57f673dc25545175b8b",
|
||||||
"nav-panel-5acf6806020477b731604b7c3506126d",
|
"nav-panel-41fccc8aa490d4ea9d475a6d2d44be42",
|
||||||
"nav-panel-6bdf123559ba44e375634c7e5392b912",
|
"nav-panel-7aa9804adc5998a7a66cd8faf656c6f9",
|
||||||
"nav-panel-d09398439fd994d4aafbc4a3a9c28bf2",
|
"nav-panel-99dcbfb73d35cee704ca4ee9fb6a5e3c",
|
||||||
|
"nav-panel-b06517abb515d4c22a03ca07d577f3de",
|
||||||
|
"nav-panel-b434a05f655e7811ee71b4177747a1c0",
|
||||||
|
"nav-panel-ba696faaa3c3f34bebc3f1da67a7c8ad",
|
||||||
|
"nav-panel-d80f75f98e8a44fe4164fa76a6afd600",
|
||||||
|
"nav-panel-d8bdd6a5f6d88907f9d6e8b57d921196",
|
||||||
"navbar",
|
"navbar",
|
||||||
"navbar-0-collapse",
|
"navbar-0-collapse",
|
||||||
"navbar-mode",
|
"navbar-mode",
|
||||||
@@ -775,36 +806,66 @@
|
|||||||
"navigation",
|
"navigation",
|
||||||
"notification",
|
"notification",
|
||||||
"overview",
|
"overview",
|
||||||
"panel-084bf092239e5f25a71841b46134e2b5-0",
|
"panel-0692e7e68c57d91164039f0f77cce9d8-0",
|
||||||
"panel-084bf092239e5f25a71841b46134e2b5-1",
|
"panel-0692e7e68c57d91164039f0f77cce9d8-1",
|
||||||
"panel-084bf092239e5f25a71841b46134e2b5-2",
|
"panel-0692e7e68c57d91164039f0f77cce9d8-2",
|
||||||
"panel-084bf092239e5f25a71841b46134e2b5-btn-0",
|
"panel-0692e7e68c57d91164039f0f77cce9d8-btn-0",
|
||||||
"panel-084bf092239e5f25a71841b46134e2b5-btn-1",
|
"panel-0692e7e68c57d91164039f0f77cce9d8-btn-1",
|
||||||
"panel-084bf092239e5f25a71841b46134e2b5-btn-2",
|
"panel-0692e7e68c57d91164039f0f77cce9d8-btn-2",
|
||||||
"panel-09e05d29554c47c7d092c3c332e8ab42-0",
|
"panel-0a5cb51ed9eea57f673dc25545175b8b-0",
|
||||||
"panel-09e05d29554c47c7d092c3c332e8ab42-1",
|
"panel-0a5cb51ed9eea57f673dc25545175b8b-1",
|
||||||
"panel-09e05d29554c47c7d092c3c332e8ab42-2",
|
"panel-0a5cb51ed9eea57f673dc25545175b8b-2",
|
||||||
"panel-09e05d29554c47c7d092c3c332e8ab42-btn-0",
|
"panel-0a5cb51ed9eea57f673dc25545175b8b-btn-0",
|
||||||
"panel-09e05d29554c47c7d092c3c332e8ab42-btn-1",
|
"panel-0a5cb51ed9eea57f673dc25545175b8b-btn-1",
|
||||||
"panel-09e05d29554c47c7d092c3c332e8ab42-btn-2",
|
"panel-0a5cb51ed9eea57f673dc25545175b8b-btn-2",
|
||||||
"panel-5acf6806020477b731604b7c3506126d-0",
|
"panel-41fccc8aa490d4ea9d475a6d2d44be42-0",
|
||||||
"panel-5acf6806020477b731604b7c3506126d-1",
|
"panel-41fccc8aa490d4ea9d475a6d2d44be42-1",
|
||||||
"panel-5acf6806020477b731604b7c3506126d-2",
|
"panel-41fccc8aa490d4ea9d475a6d2d44be42-2",
|
||||||
"panel-5acf6806020477b731604b7c3506126d-btn-0",
|
"panel-41fccc8aa490d4ea9d475a6d2d44be42-btn-0",
|
||||||
"panel-5acf6806020477b731604b7c3506126d-btn-1",
|
"panel-41fccc8aa490d4ea9d475a6d2d44be42-btn-1",
|
||||||
"panel-5acf6806020477b731604b7c3506126d-btn-2",
|
"panel-41fccc8aa490d4ea9d475a6d2d44be42-btn-2",
|
||||||
"panel-6bdf123559ba44e375634c7e5392b912-0",
|
"panel-7aa9804adc5998a7a66cd8faf656c6f9-0",
|
||||||
"panel-6bdf123559ba44e375634c7e5392b912-1",
|
"panel-7aa9804adc5998a7a66cd8faf656c6f9-1",
|
||||||
"panel-6bdf123559ba44e375634c7e5392b912-2",
|
"panel-7aa9804adc5998a7a66cd8faf656c6f9-2",
|
||||||
"panel-6bdf123559ba44e375634c7e5392b912-btn-0",
|
"panel-7aa9804adc5998a7a66cd8faf656c6f9-btn-0",
|
||||||
"panel-6bdf123559ba44e375634c7e5392b912-btn-1",
|
"panel-7aa9804adc5998a7a66cd8faf656c6f9-btn-1",
|
||||||
"panel-6bdf123559ba44e375634c7e5392b912-btn-2",
|
"panel-7aa9804adc5998a7a66cd8faf656c6f9-btn-2",
|
||||||
"panel-d09398439fd994d4aafbc4a3a9c28bf2-0",
|
"panel-99dcbfb73d35cee704ca4ee9fb6a5e3c-0",
|
||||||
"panel-d09398439fd994d4aafbc4a3a9c28bf2-1",
|
"panel-99dcbfb73d35cee704ca4ee9fb6a5e3c-1",
|
||||||
"panel-d09398439fd994d4aafbc4a3a9c28bf2-2",
|
"panel-99dcbfb73d35cee704ca4ee9fb6a5e3c-2",
|
||||||
"panel-d09398439fd994d4aafbc4a3a9c28bf2-btn-0",
|
"panel-99dcbfb73d35cee704ca4ee9fb6a5e3c-btn-0",
|
||||||
"panel-d09398439fd994d4aafbc4a3a9c28bf2-btn-1",
|
"panel-99dcbfb73d35cee704ca4ee9fb6a5e3c-btn-1",
|
||||||
"panel-d09398439fd994d4aafbc4a3a9c28bf2-btn-2",
|
"panel-99dcbfb73d35cee704ca4ee9fb6a5e3c-btn-2",
|
||||||
|
"panel-b06517abb515d4c22a03ca07d577f3de-0",
|
||||||
|
"panel-b06517abb515d4c22a03ca07d577f3de-1",
|
||||||
|
"panel-b06517abb515d4c22a03ca07d577f3de-2",
|
||||||
|
"panel-b06517abb515d4c22a03ca07d577f3de-btn-0",
|
||||||
|
"panel-b06517abb515d4c22a03ca07d577f3de-btn-1",
|
||||||
|
"panel-b06517abb515d4c22a03ca07d577f3de-btn-2",
|
||||||
|
"panel-b434a05f655e7811ee71b4177747a1c0-0",
|
||||||
|
"panel-b434a05f655e7811ee71b4177747a1c0-1",
|
||||||
|
"panel-b434a05f655e7811ee71b4177747a1c0-2",
|
||||||
|
"panel-b434a05f655e7811ee71b4177747a1c0-btn-0",
|
||||||
|
"panel-b434a05f655e7811ee71b4177747a1c0-btn-1",
|
||||||
|
"panel-b434a05f655e7811ee71b4177747a1c0-btn-2",
|
||||||
|
"panel-ba696faaa3c3f34bebc3f1da67a7c8ad-0",
|
||||||
|
"panel-ba696faaa3c3f34bebc3f1da67a7c8ad-1",
|
||||||
|
"panel-ba696faaa3c3f34bebc3f1da67a7c8ad-2",
|
||||||
|
"panel-ba696faaa3c3f34bebc3f1da67a7c8ad-btn-0",
|
||||||
|
"panel-ba696faaa3c3f34bebc3f1da67a7c8ad-btn-1",
|
||||||
|
"panel-ba696faaa3c3f34bebc3f1da67a7c8ad-btn-2",
|
||||||
|
"panel-d80f75f98e8a44fe4164fa76a6afd600-0",
|
||||||
|
"panel-d80f75f98e8a44fe4164fa76a6afd600-1",
|
||||||
|
"panel-d80f75f98e8a44fe4164fa76a6afd600-2",
|
||||||
|
"panel-d80f75f98e8a44fe4164fa76a6afd600-btn-0",
|
||||||
|
"panel-d80f75f98e8a44fe4164fa76a6afd600-btn-1",
|
||||||
|
"panel-d80f75f98e8a44fe4164fa76a6afd600-btn-2",
|
||||||
|
"panel-d8bdd6a5f6d88907f9d6e8b57d921196-0",
|
||||||
|
"panel-d8bdd6a5f6d88907f9d6e8b57d921196-1",
|
||||||
|
"panel-d8bdd6a5f6d88907f9d6e8b57d921196-2",
|
||||||
|
"panel-d8bdd6a5f6d88907f9d6e8b57d921196-btn-0",
|
||||||
|
"panel-d8bdd6a5f6d88907f9d6e8b57d921196-btn-1",
|
||||||
|
"panel-d8bdd6a5f6d88907f9d6e8b57d921196-btn-2",
|
||||||
"persona",
|
"persona",
|
||||||
"pie-chart",
|
"pie-chart",
|
||||||
"pills",
|
"pills",
|
||||||
@@ -852,6 +913,7 @@
|
|||||||
"vidéo",
|
"vidéo",
|
||||||
"vos-droits",
|
"vos-droits",
|
||||||
"welcome-to-hinode",
|
"welcome-to-hinode",
|
||||||
|
"welkom-bij-hinode",
|
||||||
"what-are-cookies",
|
"what-are-cookies",
|
||||||
"xy-chart",
|
"xy-chart",
|
||||||
"your-rights"
|
"your-rights"
|
||||||
|
12
go.mod
12
go.mod
@@ -3,11 +3,11 @@ module github.com/gethinode/hinode
|
|||||||
go 1.19
|
go 1.19
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/airbnb/lottie-web v5.12.2+incompatible // indirect
|
github.com/airbnb/lottie-web v5.13.0+incompatible // indirect
|
||||||
github.com/cloudcannon/bookshop/hugo/v3 v3.16.3 // indirect
|
github.com/cloudcannon/bookshop/hugo/v3 v3.16.4 // indirect
|
||||||
github.com/gethinode/mod-bootstrap v1.3.4 // indirect
|
github.com/gethinode/mod-bootstrap v1.3.4 // indirect
|
||||||
github.com/gethinode/mod-csp v1.0.8 // indirect
|
github.com/gethinode/mod-csp v1.0.8 // indirect
|
||||||
github.com/gethinode/mod-flexsearch/v2 v2.1.3 // indirect
|
github.com/gethinode/mod-flexsearch/v3 v3.0.0 // indirect
|
||||||
github.com/gethinode/mod-fontawesome/v2 v2.1.2 // indirect
|
github.com/gethinode/mod-fontawesome/v2 v2.1.2 // indirect
|
||||||
github.com/gethinode/mod-google-analytics v1.3.3 // indirect
|
github.com/gethinode/mod-google-analytics v1.3.3 // indirect
|
||||||
github.com/gethinode/mod-katex v1.1.4 // indirect
|
github.com/gethinode/mod-katex v1.1.4 // indirect
|
||||||
@@ -15,7 +15,7 @@ require (
|
|||||||
github.com/gethinode/mod-lottie v1.6.1 // indirect
|
github.com/gethinode/mod-lottie v1.6.1 // indirect
|
||||||
github.com/gethinode/mod-mermaid/v3 v3.0.1 // indirect
|
github.com/gethinode/mod-mermaid/v3 v3.0.1 // indirect
|
||||||
github.com/gethinode/mod-simple-datatables/v2 v2.0.2 // indirect
|
github.com/gethinode/mod-simple-datatables/v2 v2.0.2 // indirect
|
||||||
github.com/gethinode/mod-utils/v4 v4.13.0 // indirect
|
github.com/gethinode/mod-utils/v4 v4.14.0 // indirect
|
||||||
github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a // indirect
|
github.com/nextapps-de/flexsearch v0.0.0-20250901122457-99cddafcdc64 // indirect
|
||||||
github.com/twbs/bootstrap v5.3.7+incompatible // indirect
|
github.com/twbs/bootstrap v5.3.8+incompatible // indirect
|
||||||
)
|
)
|
||||||
|
12
go.sum
12
go.sum
@@ -1,5 +1,7 @@
|
|||||||
github.com/airbnb/lottie-web v5.12.2+incompatible h1:Ldogtlhiucf7mMsgisyxSBY0qunV44+lpa9Icy2KoQc=
|
github.com/airbnb/lottie-web v5.12.2+incompatible h1:Ldogtlhiucf7mMsgisyxSBY0qunV44+lpa9Icy2KoQc=
|
||||||
github.com/airbnb/lottie-web v5.12.2+incompatible/go.mod h1:nTss557UK9FGnp8QYlCMO29tjUHwbdAHG/DprbGfHGE=
|
github.com/airbnb/lottie-web v5.12.2+incompatible/go.mod h1:nTss557UK9FGnp8QYlCMO29tjUHwbdAHG/DprbGfHGE=
|
||||||
|
github.com/airbnb/lottie-web v5.13.0+incompatible h1:plBV5Uq/F1kK0EC61Hr0cBGReI9OgUfd/pp0baoDX8o=
|
||||||
|
github.com/airbnb/lottie-web v5.13.0+incompatible/go.mod h1:nTss557UK9FGnp8QYlCMO29tjUHwbdAHG/DprbGfHGE=
|
||||||
github.com/cloudcannon/bookshop/hugo/v3 v3.14.0 h1:QNLtpTINvXkxAG/RQVpdXzxtFjG6YAmnBr7qbOD5GF8=
|
github.com/cloudcannon/bookshop/hugo/v3 v3.14.0 h1:QNLtpTINvXkxAG/RQVpdXzxtFjG6YAmnBr7qbOD5GF8=
|
||||||
github.com/cloudcannon/bookshop/hugo/v3 v3.14.0/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
|
github.com/cloudcannon/bookshop/hugo/v3 v3.14.0/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
|
||||||
github.com/cloudcannon/bookshop/hugo/v3 v3.16.0 h1:Fb76ABHqTyPl9Z2QqYJCwiMBKPyShOe1EnZxXzW3RVo=
|
github.com/cloudcannon/bookshop/hugo/v3 v3.16.0 h1:Fb76ABHqTyPl9Z2QqYJCwiMBKPyShOe1EnZxXzW3RVo=
|
||||||
@@ -8,6 +10,8 @@ github.com/cloudcannon/bookshop/hugo/v3 v3.16.1 h1:WByz6rqg28h94VLVLscu77/CHhi2p
|
|||||||
github.com/cloudcannon/bookshop/hugo/v3 v3.16.1/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
|
github.com/cloudcannon/bookshop/hugo/v3 v3.16.1/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
|
||||||
github.com/cloudcannon/bookshop/hugo/v3 v3.16.3 h1:/Z66xKILl1SNGQePHZCnxo6vFgED7AGI600OSPotXj4=
|
github.com/cloudcannon/bookshop/hugo/v3 v3.16.3 h1:/Z66xKILl1SNGQePHZCnxo6vFgED7AGI600OSPotXj4=
|
||||||
github.com/cloudcannon/bookshop/hugo/v3 v3.16.3/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
|
github.com/cloudcannon/bookshop/hugo/v3 v3.16.3/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
|
||||||
|
github.com/cloudcannon/bookshop/hugo/v3 v3.16.4 h1:k233xdD3ydE6iN8QB+c37//rSsFVtLIo5OUNRN4E3bc=
|
||||||
|
github.com/cloudcannon/bookshop/hugo/v3 v3.16.4/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
|
||||||
github.com/gethinode/mod-bootstrap v1.0.1 h1:NDZar+UEL42YHCvzzO+jVgqkZU5INA12BpjX3y6U4I4=
|
github.com/gethinode/mod-bootstrap v1.0.1 h1:NDZar+UEL42YHCvzzO+jVgqkZU5INA12BpjX3y6U4I4=
|
||||||
github.com/gethinode/mod-bootstrap v1.0.1/go.mod h1:DcpPc2cNaXUPGEvhD7npuEEPA7573NvakTlrwFbyjr8=
|
github.com/gethinode/mod-bootstrap v1.0.1/go.mod h1:DcpPc2cNaXUPGEvhD7npuEEPA7573NvakTlrwFbyjr8=
|
||||||
github.com/gethinode/mod-bootstrap v1.1.0 h1:BbalsW8kmFhv+J+dcc41TGcjIlM/p69AB0h0oGhAXIU=
|
github.com/gethinode/mod-bootstrap v1.1.0 h1:BbalsW8kmFhv+J+dcc41TGcjIlM/p69AB0h0oGhAXIU=
|
||||||
@@ -118,6 +122,8 @@ github.com/gethinode/mod-flexsearch/v2 v2.1.2 h1:B/onreHG/qzIqMo9YYiRk4WWM+GgFj1
|
|||||||
github.com/gethinode/mod-flexsearch/v2 v2.1.2/go.mod h1:0IJGZQRv9X+th/gFmFRusEUSv0oJSr3aw5t1w3lfvYg=
|
github.com/gethinode/mod-flexsearch/v2 v2.1.2/go.mod h1:0IJGZQRv9X+th/gFmFRusEUSv0oJSr3aw5t1w3lfvYg=
|
||||||
github.com/gethinode/mod-flexsearch/v2 v2.1.3 h1:m5I9B7cA1SU99f90yO4OpOcKNPZ5zMF18pEhusLxa80=
|
github.com/gethinode/mod-flexsearch/v2 v2.1.3 h1:m5I9B7cA1SU99f90yO4OpOcKNPZ5zMF18pEhusLxa80=
|
||||||
github.com/gethinode/mod-flexsearch/v2 v2.1.3/go.mod h1:0IJGZQRv9X+th/gFmFRusEUSv0oJSr3aw5t1w3lfvYg=
|
github.com/gethinode/mod-flexsearch/v2 v2.1.3/go.mod h1:0IJGZQRv9X+th/gFmFRusEUSv0oJSr3aw5t1w3lfvYg=
|
||||||
|
github.com/gethinode/mod-flexsearch/v3 v3.0.0 h1:xFeo5ovZMIcUttvpOamPAMML5+5Au/hewZz/18C2H6Q=
|
||||||
|
github.com/gethinode/mod-flexsearch/v3 v3.0.0/go.mod h1:iYvaBF6Y62pjnCepYAqLxoX1ZdEBoD+9caj4cBC+MxY=
|
||||||
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=
|
||||||
@@ -498,6 +504,8 @@ github.com/gethinode/mod-utils/v4 v4.12.0 h1:5sSfYIxZCeQbXLoZdS//rl6thwLwtXuvM0u
|
|||||||
github.com/gethinode/mod-utils/v4 v4.12.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
|
github.com/gethinode/mod-utils/v4 v4.12.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
|
||||||
github.com/gethinode/mod-utils/v4 v4.13.0 h1:VKAA+wKy4saayXfgJuVBRfhNVWQWmxOjO8LSpQCvLfw=
|
github.com/gethinode/mod-utils/v4 v4.13.0 h1:VKAA+wKy4saayXfgJuVBRfhNVWQWmxOjO8LSpQCvLfw=
|
||||||
github.com/gethinode/mod-utils/v4 v4.13.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
|
github.com/gethinode/mod-utils/v4 v4.13.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
|
||||||
|
github.com/gethinode/mod-utils/v4 v4.14.0 h1:CF5dy+HWg22L306bWVhClWK9b1NVinEqtb4Qr2vcl9A=
|
||||||
|
github.com/gethinode/mod-utils/v4 v4.14.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
|
||||||
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=
|
||||||
@@ -520,6 +528,8 @@ github.com/nextapps-de/flexsearch v0.0.0-20250523180618-1f75f5f9d9b6 h1:vUlZHDX+
|
|||||||
github.com/nextapps-de/flexsearch v0.0.0-20250523180618-1f75f5f9d9b6/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
|
github.com/nextapps-de/flexsearch v0.0.0-20250523180618-1f75f5f9d9b6/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
|
||||||
github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a h1:CF/f62ufhBzNvAgoC6JhuqQxtqz0yDj3IIXYKl+A650=
|
github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a h1:CF/f62ufhBzNvAgoC6JhuqQxtqz0yDj3IIXYKl+A650=
|
||||||
github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
|
github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
|
||||||
|
github.com/nextapps-de/flexsearch v0.0.0-20250901122457-99cddafcdc64 h1:8gn/7ZfERwknYk63DskhEfkwwpoXubGrzLv5LuSq6hc=
|
||||||
|
github.com/nextapps-de/flexsearch v0.0.0-20250901122457-99cddafcdc64/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
|
||||||
github.com/twbs/bootstrap v5.3.2+incompatible h1:tuiO5acc6xnZUR77Sbi5aKWXxjYxbmsSbJwYrhAKoQQ=
|
github.com/twbs/bootstrap v5.3.2+incompatible h1:tuiO5acc6xnZUR77Sbi5aKWXxjYxbmsSbJwYrhAKoQQ=
|
||||||
github.com/twbs/bootstrap v5.3.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
|
github.com/twbs/bootstrap v5.3.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
|
||||||
github.com/twbs/bootstrap v5.3.3+incompatible h1:goFoqinzdHfkeegpFP7pvhbd0g+A3O2hbU3XCjuNrEQ=
|
github.com/twbs/bootstrap v5.3.3+incompatible h1:goFoqinzdHfkeegpFP7pvhbd0g+A3O2hbU3XCjuNrEQ=
|
||||||
@@ -530,3 +540,5 @@ github.com/twbs/bootstrap v5.3.6+incompatible h1:efmXVyq839m5QQ0+JBUdQQ1TrmoBqvQ
|
|||||||
github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
|
github.com/twbs/bootstrap v5.3.6+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
|
||||||
github.com/twbs/bootstrap v5.3.7+incompatible h1:ea1W8TOWZFkqSK2M0McpgzLiUQVru3bz8aHb0j/XtuM=
|
github.com/twbs/bootstrap v5.3.7+incompatible h1:ea1W8TOWZFkqSK2M0McpgzLiUQVru3bz8aHb0j/XtuM=
|
||||||
github.com/twbs/bootstrap v5.3.7+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
|
github.com/twbs/bootstrap v5.3.7+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
|
||||||
|
github.com/twbs/bootstrap v5.3.8+incompatible h1:eK1fsXP7R/FWFt+sSNmmvUH9usPocf240nWVw7Dh02o=
|
||||||
|
github.com/twbs/bootstrap v5.3.8+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
|
||||||
|
@@ -8,6 +8,7 @@
|
|||||||
"footer",
|
"footer",
|
||||||
"form",
|
"form",
|
||||||
"head",
|
"head",
|
||||||
|
"hr",
|
||||||
"html",
|
"html",
|
||||||
"img",
|
"img",
|
||||||
"input",
|
"input",
|
||||||
@@ -56,6 +57,7 @@
|
|||||||
"col-md-2",
|
"col-md-2",
|
||||||
"col-md-6",
|
"col-md-6",
|
||||||
"col-md-8",
|
"col-md-8",
|
||||||
|
"col-md-auto",
|
||||||
"col-sm-12",
|
"col-sm-12",
|
||||||
"collapse",
|
"collapse",
|
||||||
"collapsed",
|
"collapsed",
|
||||||
@@ -64,12 +66,14 @@
|
|||||||
"d-flex",
|
"d-flex",
|
||||||
"d-inline",
|
"d-inline",
|
||||||
"d-md-block",
|
"d-md-block",
|
||||||
|
"d-md-flex",
|
||||||
"d-md-none",
|
"d-md-none",
|
||||||
"d-none",
|
"d-none",
|
||||||
"d-sm-block",
|
"d-sm-block",
|
||||||
"d-sm-none",
|
"d-sm-none",
|
||||||
"display-1",
|
"display-1",
|
||||||
"display-4",
|
"display-4",
|
||||||
|
"dropdown-divider-bg",
|
||||||
"emphasis",
|
"emphasis",
|
||||||
"end-0",
|
"end-0",
|
||||||
"fa",
|
"fa",
|
||||||
@@ -82,10 +86,12 @@
|
|||||||
"fa-fw",
|
"fa-fw",
|
||||||
"fa-github",
|
"fa-github",
|
||||||
"fa-linkedin",
|
"fa-linkedin",
|
||||||
|
"fa-magnifying-glass",
|
||||||
"fa-medium",
|
"fa-medium",
|
||||||
"fa-moon",
|
"fa-moon",
|
||||||
"fa-sun",
|
"fa-sun",
|
||||||
"fab",
|
"fab",
|
||||||
|
"fade",
|
||||||
"fas",
|
"fas",
|
||||||
"fixed-top",
|
"fixed-top",
|
||||||
"flex-column",
|
"flex-column",
|
||||||
@@ -97,6 +103,7 @@
|
|||||||
"fw-30",
|
"fw-30",
|
||||||
"fw-bold",
|
"fw-bold",
|
||||||
"h-100",
|
"h-100",
|
||||||
|
"h-50",
|
||||||
"hero",
|
"hero",
|
||||||
"hero-content",
|
"hero-content",
|
||||||
"hero-image",
|
"hero-image",
|
||||||
@@ -120,15 +127,21 @@
|
|||||||
"main-nav-toggler",
|
"main-nav-toggler",
|
||||||
"me-auto",
|
"me-auto",
|
||||||
"middle-bar",
|
"middle-bar",
|
||||||
|
"modal",
|
||||||
|
"modal-body",
|
||||||
|
"modal-content",
|
||||||
|
"modal-dialog",
|
||||||
|
"modal-dialog-centered",
|
||||||
|
"modal-dialog-scrollable",
|
||||||
|
"modal-header",
|
||||||
|
"modal-lg",
|
||||||
"mode-switch",
|
"mode-switch",
|
||||||
"ms-auto",
|
"ms-auto",
|
||||||
"ms-md-3",
|
|
||||||
"mt-3",
|
"mt-3",
|
||||||
"mt-4",
|
|
||||||
"mt-5",
|
"mt-5",
|
||||||
"mt-md-0",
|
|
||||||
"mx-auto",
|
"mx-auto",
|
||||||
"mx-md-0",
|
"mx-md-0",
|
||||||
|
"mx-md-2",
|
||||||
"my-auto",
|
"my-auto",
|
||||||
"my-md-auto",
|
"my-md-auto",
|
||||||
"nav-item",
|
"nav-item",
|
||||||
@@ -139,8 +152,11 @@
|
|||||||
"navbar-container",
|
"navbar-container",
|
||||||
"navbar-expand-md",
|
"navbar-expand-md",
|
||||||
"navbar-fixed-top",
|
"navbar-fixed-top",
|
||||||
|
"navbar-fs-6",
|
||||||
|
"navbar-md-fs",
|
||||||
"navbar-mode-selector",
|
"navbar-mode-selector",
|
||||||
"navbar-nav",
|
"navbar-nav",
|
||||||
|
"navbar-nav-scroll",
|
||||||
"navbar-toggler",
|
"navbar-toggler",
|
||||||
"no-js",
|
"no-js",
|
||||||
"order-0",
|
"order-0",
|
||||||
@@ -159,18 +175,21 @@
|
|||||||
"pt-md-0",
|
"pt-md-0",
|
||||||
"px-4",
|
"px-4",
|
||||||
"px-xxl-0",
|
"px-xxl-0",
|
||||||
|
"py-2",
|
||||||
"py-3",
|
"py-3",
|
||||||
"py-4",
|
"py-4",
|
||||||
|
"py-md-1",
|
||||||
"rounded",
|
"rounded",
|
||||||
"row",
|
"row",
|
||||||
"row-cols-1",
|
"row-cols-1",
|
||||||
"row-cols-2",
|
"row-cols-2",
|
||||||
"row-cols-sm-3",
|
"row-cols-sm-3",
|
||||||
"search",
|
"search",
|
||||||
|
"search-background",
|
||||||
"search-input",
|
"search-input",
|
||||||
|
"search-modal",
|
||||||
"search-suggestions",
|
"search-suggestions",
|
||||||
"section-cover",
|
"section-cover",
|
||||||
"shadow",
|
|
||||||
"svg-inline--fa",
|
"svg-inline--fa",
|
||||||
"text-",
|
"text-",
|
||||||
"text-body",
|
"text-body",
|
||||||
@@ -185,7 +204,9 @@
|
|||||||
"toast-container",
|
"toast-container",
|
||||||
"toast-header",
|
"toast-header",
|
||||||
"toggler-icon",
|
"toggler-icon",
|
||||||
"top-bar"
|
"top-bar",
|
||||||
|
"vr",
|
||||||
|
"w-100"
|
||||||
],
|
],
|
||||||
"ids": [
|
"ids": [
|
||||||
"container",
|
"container",
|
||||||
@@ -196,11 +217,14 @@
|
|||||||
"fas-angle-left",
|
"fas-angle-left",
|
||||||
"fas-chevron-right",
|
"fas-chevron-right",
|
||||||
"fas-ellipsis",
|
"fas-ellipsis",
|
||||||
|
"fas-magnifying-glass",
|
||||||
"fas-moon",
|
"fas-moon",
|
||||||
"fas-sun",
|
"fas-sun",
|
||||||
"navbar-0-collapse",
|
"navbar-0-collapse",
|
||||||
"navbar-mode",
|
"navbar-mode",
|
||||||
"navbar-mode-checkbox",
|
"navbar-mode-checkbox",
|
||||||
|
"search-input-modal",
|
||||||
|
"search-modal",
|
||||||
"toast-container",
|
"toast-container",
|
||||||
"toast-copied-code-message",
|
"toast-copied-code-message",
|
||||||
"welcome-to-hinode"
|
"welcome-to-hinode"
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
<div class="mb-3 syntax-highlight">
|
<div class="codeblock syntax-highlight mb-3">
|
||||||
{{- $result := transform.HighlightCodeBlock . -}}
|
{{- $result := transform.HighlightCodeBlock . -}}
|
||||||
{{- $result.Wrapped -}}
|
{{- $result.Wrapped -}}
|
||||||
</div>
|
</div>
|
@@ -7,45 +7,45 @@
|
|||||||
{{ $error := false }}
|
{{ $error := false }}
|
||||||
|
|
||||||
{{/* Initialize arguments */}}
|
{{/* Initialize arguments */}}
|
||||||
{{ $args := partial "utilities/InitArgs.html" (dict "structure" "featured-illustration" "args" . "group" "partial") }}
|
{{- $args := partial "utilities/InitArgs.html" (dict "structure" "featured-illustration" "args" . "group" "partial") -}}
|
||||||
{{ if or $args.err $args.warnmsg }}
|
{{- if or $args.err $args.warnmsg -}}
|
||||||
{{ partial (cond $args.err "utilities/LogErr.html" "utilities/LogWarn.html") (dict
|
{{- partial (cond $args.err "utilities/LogErr.html" "utilities/LogWarn.html") (dict
|
||||||
"partial" "assets/featured-illustration.html"
|
"partial" "assets/featured-illustration.html"
|
||||||
"warnid" "warn-invalid-arguments"
|
"warnid" "warn-invalid-arguments"
|
||||||
"msg" "Invalid arguments"
|
"msg" "Invalid arguments"
|
||||||
"details" ($args.errmsg | append $args.warnmsg)
|
"details" ($args.errmsg | append $args.warnmsg)
|
||||||
"file" page.File
|
"file" page.File
|
||||||
)}}
|
) -}}
|
||||||
{{ $error = $args.err }}
|
{{- $error = $args.err -}}
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
|
|
||||||
{{/* Initialize local arguments */}}
|
{{/* Initialize local arguments */}}
|
||||||
|
|
||||||
{{ $icon := partial "utilities/GetTargetPath.html" (dict "path" $args.icon "page" $args.page) }}
|
{{- $icon := partial "utilities/GetTargetPath.html" (dict "path" $args.icon "page" $args.page) -}}
|
||||||
{{ $image := partial "utilities/GetTargetPath.html" (dict "path" $args.image "page" $args.page) }}
|
{{- $image := partial "utilities/GetTargetPath.html" (dict "path" $args.image "page" $args.page) -}}
|
||||||
{{- $wrapper := $args.wrapper -}}
|
{{- $wrapper := $args.wrapper -}}
|
||||||
{{ if $image }}{{ $wrapper = print "img-wrap " (or $wrapper "mx-auto") }}{{ end -}}
|
{{- if $image }}{{ $wrapper = printf "img-wrap %s" (or $wrapper "mx-auto") }}{{ end -}}
|
||||||
{{- $class := $args.class -}}
|
{{- $class := $args.class -}}
|
||||||
|
|
||||||
{{ if $icon }}
|
{{- if $icon -}}
|
||||||
{{ if eq (lower (path.Ext $icon)) ".json" }}
|
{{- if eq (lower (path.Ext $icon)) ".json" -}}
|
||||||
{{ if site.Params.env_bookshop_live }}
|
{{- if site.Params.env_bookshop_live }}
|
||||||
<i>Animation preview not supported</i>
|
<i>Animation preview not supported</i>
|
||||||
{{ else }}
|
{{- else }}
|
||||||
{{ partial "assets/animation.html" (dict
|
{{- partial "assets/animation.html" (dict
|
||||||
"data" $icon
|
"data" $icon
|
||||||
"mode" $args.mode
|
"mode" $args.mode
|
||||||
"loop" false
|
"loop" false
|
||||||
"hover" true
|
"hover" true
|
||||||
"class" "col-6 mx-auto text-center"
|
"class" "col-6 mx-auto text-center"
|
||||||
) }}
|
) -}}
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
{{ else }}
|
{{- else }}
|
||||||
{{ partial "assets/icon.html" (dict "icon" $icon "wrapper" $wrapper) }}
|
{{ partial "assets/icon.html" (dict "icon" $icon "wrapper" $wrapper) -}}
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
{{ else if $image }}
|
{{- else if $image -}}
|
||||||
{{ if not (hasSuffix $image "svg") }}{{ $class = printf "%s rounded" $class }}{{ end }}
|
{{- if not (hasSuffix $image "svg") }}{{ $class = printf "%s rounded" $class }}{{ end -}}
|
||||||
{{ partial "assets/live-image.html" (dict
|
{{- partial "assets/live-image.html" (dict
|
||||||
"src" $image
|
"src" $image
|
||||||
"anchor" $args.anchor
|
"anchor" $args.anchor
|
||||||
"ratio" $args.ratio
|
"ratio" $args.ratio
|
||||||
@@ -55,5 +55,5 @@
|
|||||||
"sizes" $args.sizes
|
"sizes" $args.sizes
|
||||||
"priority" "high"
|
"priority" "high"
|
||||||
"mode" $args.mode
|
"mode" $args.mode
|
||||||
) }}
|
) -}}
|
||||||
{{ end }}
|
{{- end -}}
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
{{- $isActive := or (and (eq $pageURL $menuURL) (ne $menuURL ("/" | relLangURL))) (eq $pageURL $menuURL) -}}
|
{{- $isActive := or (and (eq $pageURL $menuURL) (ne $menuURL ("/" | relLangURL))) (eq $pageURL $menuURL) -}}
|
||||||
{{ if not $menu.PageRef }}{{ $isActive = false }}{{ end }}
|
{{ if not $menu.PageRef }}{{ $isActive = false }}{{ end }}
|
||||||
{{- $isAlias := $menu.Params.alias -}}
|
{{- $isAlias := $menu.Params.alias -}}
|
||||||
{{- $isIcon := $menu.Params.icon -}}
|
{{- $isIcon := or $menu.Params.icon $menu.Pre -}}
|
||||||
|
|
||||||
{{- $url := urls.Parse $menuURL -}}
|
{{- $url := urls.Parse $menuURL -}}
|
||||||
{{- $baseURL := urls.Parse $.Site.Params.Baseurl -}}
|
{{- $baseURL := urls.Parse $.Site.Params.Baseurl -}}
|
||||||
@@ -63,6 +63,9 @@
|
|||||||
{{- $childNav := "" -}}
|
{{- $childNav := "" -}}
|
||||||
|
|
||||||
{{- $button := "" -}}
|
{{- $button := "" -}}
|
||||||
|
{{- if $args.modal -}}
|
||||||
|
{{- $button = printf " role=%q data-bs-toggle=%q data-bs-target=%q" "button" "modal" $args.modal -}}
|
||||||
|
{{- end -}}
|
||||||
{{- if $args.parent -}}
|
{{- if $args.parent -}}
|
||||||
{{- $mainNav = urlize (lower $args.parent.Name) -}}
|
{{- $mainNav = urlize (lower $args.parent.Name) -}}
|
||||||
{{- $childNav = urlize (lower $menu.Name) -}}
|
{{- $childNav = urlize (lower $menu.Name) -}}
|
||||||
@@ -92,21 +95,34 @@
|
|||||||
"button-size" "sm"
|
"button-size" "sm"
|
||||||
)}}
|
)}}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ cond (ne $menuURL "") "<a" "<div" | safeHTML }} class="{{ $anchorClass }}{{ if $isActive }} active{{ end }}{{ with $args.class }} {{ . }}{{ end }}"
|
{{ cond (ne $menuURL "") "<a" "<div" | safeHTML }}
|
||||||
|
class="{{ $anchorClass }}{{ if $isActive }} active{{ end }}{{ with $args.class }} {{ . }}{{ end }}"
|
||||||
{{ if $isIcon }}aria-label="{{ $title }}"{{ end }}
|
{{ if $isIcon }}aria-label="{{ $title }}"{{ 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 | safeHTML }}"{{ with $externalHref }} {{ . | safeHTML }}{{ end }}{{ end }} {{ $button | safeHTML }}>
|
{{ if $menuURL }} href="{{ $menuURL }}{{ $params | safeHTML }}"{{ with $externalHref }} {{ . | safeHTML }}{{ end }}{{ end }}
|
||||||
|
{{ $button | safeHTML }}
|
||||||
|
{{ with $args.id }}id="{{ . }}"{{ end }}
|
||||||
|
>
|
||||||
|
|
||||||
{{- with $menu.Pre }}
|
{{- with $menu.Pre }}
|
||||||
{{ if hasPrefix . "<i" }}
|
{{ if hasPrefix . "<i" }}
|
||||||
{{ . | safeHTML }}
|
{{ . | safeHTML }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ partial "assets/icon.html" (dict "icon" (string .) )}}
|
{{ partial "assets/icon.html" (dict "icon" (printf "%s fa-fw" .) "spacing" false )}}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
<span {{ if $isActive }} class="active"{{ end }}>{{ if or (not $isIcon) $args.plain }}{{ $title }}{{ end }}</span>
|
<span class="{{ if $isActive }}active{{ end }} {{ with $args.breakpoint }}d-{{ . }}-none {{ end }}">
|
||||||
|
{{- if $isIcon }} {{ end }}{{ $title }}
|
||||||
{{- with $menu.Post }}{{ . }}{{ end -}}
|
{{- with $menu.Post }}{{ . }}{{ end -}}
|
||||||
{{- if not $isIcon }} {{ $suffix }}{{ end -}}
|
{{- with $suffix }} {{ . }}{{ end -}}
|
||||||
|
</span>
|
||||||
|
{{ if not $isIcon }}
|
||||||
|
<span class="{{ if $isActive }}active{{ end }} {{ with $args.breakpoint }}d-none d-{{ . }}-block{{ end }}">
|
||||||
|
{{- if $isIcon }} {{ end }}{{ $title }}
|
||||||
|
{{- with $menu.Post }}{{ . }}{{ end -}}
|
||||||
|
{{- with $suffix }} {{ . }}{{ end -}}
|
||||||
|
</span>
|
||||||
|
{{ end }}
|
||||||
{{ cond (ne $menuURL "") "</a>" "</div>" | safeHTML }}
|
{{ cond (ne $menuURL "") "</a>" "</div>" | safeHTML }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
38
layouts/_partials/assets/helpers/navbar-languages.html
Normal file
38
layouts/_partials/assets/helpers/navbar-languages.html
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
{{- $page := .page -}}
|
||||||
|
{{- $baseURL := .baseURL -}}
|
||||||
|
{{- $breakpoint := .breakpoint -}}
|
||||||
|
{{- $pretty := .pretty -}}
|
||||||
|
{{- $icon := .icon | default "fas globe" -}}
|
||||||
|
{{- $fs := .fs | default 6 -}}
|
||||||
|
|
||||||
|
{{- $lang := $page.Language.Lang -}}
|
||||||
|
<li class="nav-item dropdown me-auto">
|
||||||
|
<a class="nav-link dropdown-toggle d-{{ $breakpoint }}-none" role="button" data-bs-toggle="dropdown"
|
||||||
|
aria-label="{{ T "languageSwitcherLabel" }}" aria-expanded="false">
|
||||||
|
{{- partial "assets/icon.html" (dict "icon" (printf "%s fa-fw" $icon) "spacing" true) }}{{ T "languageSwitcherLabel" }}
|
||||||
|
</a>
|
||||||
|
<a class="nav-link dropdown-toggle d-none d-{{ $breakpoint }}-block" role="button" data-bs-toggle="dropdown"
|
||||||
|
aria-label="{{ T "languageSwitcherLabel" }}" aria-expanded="false">
|
||||||
|
{{- partial "assets/icon.html" (dict "icon" (printf "%s fa-fw" $icon) "spacing" false) }}
|
||||||
|
</a>
|
||||||
|
<ul id="language-selector" class="dropdown-menu dropdown-menu-end navbar-fs-{{ $fs }} navbar-{{ $breakpoint }}-fs" data-translated="{{ $page.IsTranslated }}">
|
||||||
|
{{- if $page.IsTranslated -}}
|
||||||
|
{{- range $page.AllTranslations -}}
|
||||||
|
<li>
|
||||||
|
{{- $state := cond (eq .Language.Lang $lang) "active" "" }}
|
||||||
|
<a class="dropdown-item {{ $state }}" hreflang="{{ .Language.Lang }}" href="{{ .RelPermalink }}">
|
||||||
|
{{- .Language.LanguageName -}}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{{- end -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- range site.Languages -}}
|
||||||
|
{{ $dest := partial "utilities/URLJoin.html" (dict "base" $baseURL "path" .Lang) }}
|
||||||
|
{{ if and $pretty (not (hasSuffix $dest "/")) }}
|
||||||
|
{{ $dest = printf "%s/" $dest }}
|
||||||
|
{{ end }}
|
||||||
|
<li><a class="dropdown-item" href="{{ $dest }}" hreflang="{{ .Lang }}">{{ default .Lang .LanguageName }}</a></li>
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
</ul>
|
||||||
|
</li>
|
26
layouts/_partials/assets/helpers/navbar-mode.html
Normal file
26
layouts/_partials/assets/helpers/navbar-mode.html
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
{{- $id := .id | default "navbar-mode" -}}
|
||||||
|
{{- $toggle := .toggle | default false -}}
|
||||||
|
{{- $breakpoint := .breakpoint -}}
|
||||||
|
{{- $iconLight := site.Params.main.colorMode.iconLight | default "fas sun" -}}
|
||||||
|
{{- $iconDark := site.Params.main.colorMode.iconDark | default "fas moon" -}}
|
||||||
|
{{- $fs := .fs | default 6 -}}
|
||||||
|
|
||||||
|
<li class="nav-link navbar-fs-{{ $fs }} navbar-{{ $breakpoint }}-fs d-flex mode-{{ cond $toggle "toggle" "switch" }} align-items-center" id="{{ $id }}">
|
||||||
|
<input type="checkbox" class="checkbox navbar-mode-selector" id="{{ $id }}-checkbox" aria-label="{{ T "colorMode" }}" />
|
||||||
|
<label class="label" for="{{ $id }}-checkbox">
|
||||||
|
{{ if $toggle }}
|
||||||
|
<div class="mode-item d-none-dark">
|
||||||
|
{{- partial "assets/icon.html" (dict "icon" (printf "%s fa-fw" $iconLight) "spacing" false) }}
|
||||||
|
<span class="d-{{ $breakpoint }}-none">{{ T "colorMode" }}</span>
|
||||||
|
</div>
|
||||||
|
<div class="mode-item d-none-light">
|
||||||
|
{{- partial "assets/icon.html" (dict "icon" (printf "%s fa-fw" $iconDark) "spacing" false) }}
|
||||||
|
<span class="d-{{ $breakpoint }}-none">{{ T "colorMode" }}</span>
|
||||||
|
</div>
|
||||||
|
{{ else }}
|
||||||
|
{{- partial "assets/icon.html" (dict "icon" (printf "%s fa-fw" $iconLight) "spacing" false) }}
|
||||||
|
{{- partial "assets/icon.html" (dict "icon" (printf "%s fa-fw" $iconDark) "spacing" false) }}
|
||||||
|
<div class="ball"></div>
|
||||||
|
{{ end }}
|
||||||
|
</label>
|
||||||
|
</li>
|
35
layouts/_partials/assets/helpers/navbar-render-menu.html
Normal file
35
layouts/_partials/assets/helpers/navbar-render-menu.html
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
{{- $page := .page -}}
|
||||||
|
{{- $menus := .menus -}}
|
||||||
|
{{- $collapsed := .collapsed -}}
|
||||||
|
{{- $control := .control | default false -}}
|
||||||
|
{{- $horizontal := .horizontal | default false -}}
|
||||||
|
{{- $breakpoint := .breakpoint -}}
|
||||||
|
{{- $fs := .fs | default 6 -}}
|
||||||
|
|
||||||
|
{{- range $menu := $menus -}}
|
||||||
|
{{ if (eq $control ($menu.Params.control | default false)) }}
|
||||||
|
{{ if $menu.Params.spacing }}
|
||||||
|
<li class="nav-item flex-grow-1"></li>
|
||||||
|
{{ else }}
|
||||||
|
<li class="nav-item {{ if .HasChildren }} dropdown me-auto{{ if $horizontal }} dropdown-horizontal-{{ $breakpoint }}{{ end }}{{ end }}">
|
||||||
|
{{- partial "assets/helpers/navbar-item.html" (dict "menu" $menu "page" $page) -}}
|
||||||
|
{{- if .HasChildren -}}
|
||||||
|
<ul class="dropdown-menu{{ if $control }} dropdown-menu-end{{ end }}">
|
||||||
|
{{- range .Children -}}
|
||||||
|
<li>{{- partial "assets/helpers/navbar-item.html" (dict
|
||||||
|
"menu" .
|
||||||
|
"parent" $menu
|
||||||
|
"page" $page
|
||||||
|
"breakpoint" $breakpoint
|
||||||
|
"modal" .Params.modal
|
||||||
|
"id" .Params.id
|
||||||
|
"class" (printf "navbar-fs-%d navbar-%s-fs" $fs $breakpoint)
|
||||||
|
) -}}
|
||||||
|
</li>
|
||||||
|
{{- end -}}
|
||||||
|
</ul>
|
||||||
|
{{- end -}}
|
||||||
|
</li>
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
43
layouts/_partials/assets/helpers/navbar-versions.html
Normal file
43
layouts/_partials/assets/helpers/navbar-versions.html
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
{{- $breakpoint := .breakpoint -}}
|
||||||
|
{{- $collapsed := .collapsed -}}
|
||||||
|
{{- $page := .page -}}
|
||||||
|
{{- $baseURL := .baseURL -}}
|
||||||
|
{{- $list := site.Params.docs.releases -}}
|
||||||
|
{{- $id := .id -}}
|
||||||
|
{{- $version := partial "utilities/GetVersion.html" (dict "page" $page) -}}
|
||||||
|
|
||||||
|
<li class="nav-item dropdown {{ if $collapsed }}d-{{ $breakpoint }}-none{{ else }}d-none d-{{ $breakpoint }}-block{{ end }}">
|
||||||
|
<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 }}
|
||||||
|
</a>
|
||||||
|
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="{{ $id }}-version-switch">
|
||||||
|
{{- range $index, $item := $list -}}
|
||||||
|
{{- $active := eq $item.label $version -}}
|
||||||
|
{{- $disabled := false -}}
|
||||||
|
{{- if hugo.IsServer }}
|
||||||
|
{{- $disabled = and $item.redirect (gt (len $item.redirect) 0) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{ if $item.url }}
|
||||||
|
<li>
|
||||||
|
{{- $url := partial "utilities/URLJoin.html" (dict "base" $baseURL "path" $item.url) | relLangURL -}}
|
||||||
|
<a class="pe-5 dropdown-item{{ if $collapsed }} switch-mode-collapsed{{ end }}{{ if $active }} active{{ end }}{{ if $disabled }} disabled{{ end }}" href="{{ $url }}">{{ $item.label }}
|
||||||
|
{{ if $item.latest }} ({{ T "latest" }}){{ end }}
|
||||||
|
{{ if $active }}
|
||||||
|
<span class="position-absolute end-0 me-3">{{- partial "assets/icon.html" (dict "icon" "fas check fa-fw") }}</span>
|
||||||
|
{{ end }}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{{ else }}
|
||||||
|
{{ if gt $index 0}}<li><hr class="dropdown-divider"></li>{{ end }}
|
||||||
|
<li><span class="dropdown-header fs-6">{{ $item.label }}</span></li>
|
||||||
|
{{ end }}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if site.Params.docs.overview -}}
|
||||||
|
{{ if gt (len $list) 0 }}<li><hr class="dropdown-divider"></li>{{ end }}
|
||||||
|
<li>
|
||||||
|
{{- $url := partial "utilities/URLJoin.html" (dict "base" $baseURL "path" site.Params.docs.overview) | relLangURL -}}
|
||||||
|
<a class="dropdown-item{{ if $collapsed }} switch-mode-collapsed{{ end }}" href="{{ $url }}">{{ T "allVersions" }}</a>
|
||||||
|
</li>
|
||||||
|
{{- end -}}
|
||||||
|
</ul>
|
||||||
|
</li>
|
5
layouts/_partials/assets/modals.html
Normal file
5
layouts/_partials/assets/modals.html
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{{ with .Site.GetPage "/_modals" }}
|
||||||
|
{{ range .Pages }}
|
||||||
|
{{ .Content }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
@@ -6,65 +6,12 @@
|
|||||||
|
|
||||||
{{/* TODO: consider to drop style arg */}}
|
{{/* TODO: consider to drop style arg */}}
|
||||||
|
|
||||||
{{/* Inline partial to render the color mode switcher */}}
|
{{- define "_partials/inline/divider.html" -}}
|
||||||
{{- define "_partials/inline/navbar-mode.html" -}}
|
|
||||||
{{- $id := .id | default "navbar-mode" -}}
|
|
||||||
|
|
||||||
<li class="d-flex mode-switch align-items-center" id="{{ $id }}">
|
|
||||||
<input type="checkbox" class="checkbox navbar-mode-selector" id="{{ $id }}-checkbox" aria-label="{{ T "colorMode" }}" />
|
|
||||||
<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 moon fa-fw" "spacing" false) }}
|
|
||||||
<div class="ball"></div>
|
|
||||||
</label>
|
|
||||||
</li>
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{/* Inline partial to render the version switcher */}}
|
|
||||||
{{- define "_partials/inline/navbar-versions.html" -}}
|
|
||||||
{{- $breakpoint := .breakpoint -}}
|
{{- $breakpoint := .breakpoint -}}
|
||||||
{{- $collapsed := .collapsed -}}
|
<li class="nav-item py-2 py-md-1 col-12 col-md-auto d-none d-{{ $breakpoint }}-block me-auto">
|
||||||
{{- $page := .page -}}
|
<div class="vr d-none d-md-flex h-100 mx-md-2"></div>
|
||||||
{{- $baseURL := .baseURL -}}
|
|
||||||
{{- $list := site.Params.docs.releases -}}
|
|
||||||
{{- $id := .id -}}
|
|
||||||
{{- $version := partial "utilities/GetVersion.html" (dict "page" $page) -}}
|
|
||||||
|
|
||||||
<li class="nav-item dropdown {{ if $collapsed }}d-{{ $breakpoint }}-none{{ else }}d-none d-{{ $breakpoint }}-block{{ end }}">
|
|
||||||
<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 }}
|
|
||||||
</a>
|
|
||||||
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="{{ $id }}-version-switch">
|
|
||||||
{{- range $index, $item := $list -}}
|
|
||||||
{{- $active := eq $item.label $version -}}
|
|
||||||
{{- $disabled := false -}}
|
|
||||||
{{- if hugo.IsServer }}
|
|
||||||
{{- $disabled = and $item.redirect (gt (len $item.redirect) 0) -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{ if $item.url }}
|
|
||||||
<li>
|
|
||||||
{{- $url := partial "utilities/URLJoin.html" (dict "base" $baseURL "path" $item.url) | relLangURL -}}
|
|
||||||
<a class="pe-5 dropdown-item{{ if $collapsed }} switch-mode-collapsed{{ end }}{{ if $active }} active{{ end }}{{ if $disabled }} disabled{{ end }}" href="{{ $url }}">{{ $item.label }}
|
|
||||||
{{ if $item.latest }} ({{ T "latest" }}){{ end }}
|
|
||||||
{{ if $active }}
|
|
||||||
<span class="position-absolute end-0 me-3">{{- partial "assets/icon.html" (dict "icon" "fas check fa-fw") }}</span>
|
|
||||||
{{ end }}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{{ else }}
|
|
||||||
{{ if gt $index 0}}<li><hr class="dropdown-divider"></li>{{ end }}
|
|
||||||
<li><span class="dropdown-header fs-6">{{ $item.label }}</span></li>
|
|
||||||
{{ end }}
|
|
||||||
{{- end -}}
|
|
||||||
{{- if site.Params.docs.overview -}}
|
|
||||||
{{ if gt (len $list) 0 }}<li><hr class="dropdown-divider"></li>{{ end }}
|
|
||||||
<li>
|
|
||||||
{{- $url := partial "utilities/URLJoin.html" (dict "base" $baseURL "path" site.Params.docs.overview) | relLangURL -}}
|
|
||||||
<a class="dropdown-item{{ if $collapsed }} switch-mode-collapsed{{ end }}" href="{{ $url }}">{{ T "allVersions" }}</a>
|
|
||||||
</li>
|
|
||||||
{{- end -}}
|
|
||||||
</ul>
|
|
||||||
</li>
|
</li>
|
||||||
|
<li><hr class="dropdown-divider-bg"></li>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/* Initialize arguments */}}
|
{{/* Initialize arguments */}}
|
||||||
@@ -81,6 +28,9 @@
|
|||||||
|
|
||||||
{{/* Initialize global variables */}}
|
{{/* Initialize global variables */}}
|
||||||
{{- $padding := partial "utilities/GetPadding.html" (dict "section" "navigation") -}}
|
{{- $padding := partial "utilities/GetPadding.html" (dict "section" "navigation") -}}
|
||||||
|
{{- $search := partial "utilities/GetSearchConfig.html" (dict "search" $args.search) -}}
|
||||||
|
{{- $fs := site.Params.navigation.fontsizeCollapsed | default 6 -}}
|
||||||
|
{{- $langIcon := site.Params.navigation.language.icon | default "fas globe" -}}
|
||||||
|
|
||||||
{{/* Initialize local arguments */}}
|
{{/* Initialize local arguments */}}
|
||||||
{{- $absoluteURL := site.Params.main.canonifyAssetsURLs | default false -}}
|
{{- $absoluteURL := site.Params.main.canonifyAssetsURLs | default false -}}
|
||||||
@@ -103,10 +53,15 @@
|
|||||||
{{- $overlayMode := $args.overlayMode | default "dark" -}}
|
{{- $overlayMode := $args.overlayMode | default "dark" -}}
|
||||||
{{- if eq $overlayMode "none" }}{{ $overlayMode = "" }}{{ end }}
|
{{- if eq $overlayMode "none" }}{{ $overlayMode = "" }}{{ end }}
|
||||||
{{- $color := $args.color | default "" -}}
|
{{- $color := $args.color | default "" -}}
|
||||||
{{- $search := $args.search | default site.Params.navigation.search -}}
|
{{- $enableDarkMode := .mode | default (or site.Params.main.enableDarkMode site.Params.main.colorMode.enabled) -}}
|
||||||
{{- $searchModal := and $search site.Params.navigation.searchModal -}}
|
|
||||||
{{- $enableDarkMode := .mode | default site.Params.main.enableDarkMode -}}
|
|
||||||
{{- $modes := site.Params.main.modes | default (slice "light" "dark") -}}
|
{{- $modes := site.Params.main.modes | default (slice "light" "dark") -}}
|
||||||
|
{{ if isset site.Params.main "enabledarkmode" }}
|
||||||
|
{{ warnf "site parameter %q: deprecated in v%s, use %q instead" "main.enableDarkMode" "1.12.0" "main.colorMode.enabled" }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if isset site.Params.main "modes" }}
|
||||||
|
{{ warnf "site parameter %q: deprecated in v%s, use %q instead" "main.modes" "1.12.0" "main.colorMode.modes" }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
|
||||||
{{- $enableVersions := false -}}
|
{{- $enableVersions := false -}}
|
||||||
{{ $list := site.Params.docs.releases }}
|
{{ $list := site.Params.docs.releases }}
|
||||||
@@ -128,8 +83,6 @@
|
|||||||
{{ $logo = partial "assets/image.html" (dict "src" . "loading" "eager" "title" $title "image-height" $height) }}
|
{{ $logo = partial "assets/image.html" (dict "src" . "loading" "eager" "title" $title "image-height" $height) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{- $pre := $args.pre -}}
|
|
||||||
{{- $post := $args.post -}}
|
|
||||||
{{- $class := $args.class -}}
|
{{- $class := $args.class -}}
|
||||||
|
|
||||||
{{- $contrast := false -}}
|
{{- $contrast := false -}}
|
||||||
@@ -143,7 +96,7 @@
|
|||||||
{{/* Main code */}}
|
{{/* Main code */}}
|
||||||
<div class="container-fluid {{ if $args.fixed }}fixed-top{{ else if $overlay }}navbar-overlay{{ end }} p-0{{ with $class }} {{ . }}{{ end }}">
|
<div class="container-fluid {{ if $args.fixed }}fixed-top{{ else if $overlay }}navbar-overlay{{ end }} p-0{{ with $class }} {{ . }}{{ end }}">
|
||||||
{{- partial "assets/page-alert.html" (dict "page" $page) -}}
|
{{- partial "assets/page-alert.html" (dict "page" $page) -}}
|
||||||
<nav class="navbar px-{{ $padding.x }} py-{{ $padding.y }}
|
<nav class="navbar px-{{ $padding.x }} py-{{ $padding.y }} navbar-fs-{{ $fs }} navbar-{{ $args.breakpoint }}-fs
|
||||||
{{- if not $overlay }}{{ with $color }} bg-{{ . }}{{ end }}{{ end -}}
|
{{- if not $overlay }}{{ with $color }} bg-{{ . }}{{ end }}{{ end -}}
|
||||||
{{ if $args.fixed }} navbar-fixed-top{{ end }} navbar-expand-{{ $args.breakpoint -}}
|
{{ if $args.fixed }} navbar-fixed-top{{ end }} navbar-expand-{{ $args.breakpoint -}}
|
||||||
{{ if $contrast }} navbar-contrast{{ end }}"
|
{{ if $contrast }} navbar-contrast{{ end }}"
|
||||||
@@ -158,7 +111,8 @@
|
|||||||
{{/* Insert sidebar toggler when applicable */}}
|
{{/* Insert sidebar toggler when applicable */}}
|
||||||
<div class="d-flex align-items-center">
|
<div class="d-flex align-items-center">
|
||||||
{{- if $page.Scratch.Get "sidebar" -}}
|
{{- if $page.Scratch.Get "sidebar" -}}
|
||||||
<button class="navbar-toggler collapsed p-0 mx-auto fw-30" type="button" data-bs-toggle="offcanvas" data-bs-target="#offcanvass-sidebar" aria-controls="offcanvass-sidebar" aria-label="{{ T "toggleSidebar" }}">
|
<button class="navbar-toggler collapsed p-0 mx-auto fw-30" type="button" data-bs-toggle="offcanvas"
|
||||||
|
data-bs-target="#offcanvass-sidebar" aria-controls="offcanvass-sidebar" aria-label="{{ T "toggleSidebar" }}">
|
||||||
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis fa-fw" "spacing" false) -}}
|
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis fa-fw" "spacing" false) -}}
|
||||||
</button>
|
</button>
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
@@ -178,7 +132,8 @@
|
|||||||
|
|
||||||
{{/* Insert main navigation toggler */}}
|
{{/* Insert main navigation toggler */}}
|
||||||
<div class="d-flex align-items-center">
|
<div class="d-flex align-items-center">
|
||||||
<button class="navbar-toggler main-nav-toggler collapsed p-0" type="button" data-bs-toggle="collapse" data-bs-target="#{{ $id }}-collapse"
|
<button class="navbar-toggler main-nav-toggler collapsed p-0" type="button" data-bs-toggle="collapse"
|
||||||
|
data-bs-target="#{{ $id }}-collapse"
|
||||||
aria-controls="{{ $id }}" aria-expanded="false" aria-label="{{ T "toggleMainNav" }}">
|
aria-controls="{{ $id }}" aria-expanded="false" aria-label="{{ T "toggleMainNav" }}">
|
||||||
<span class="toggler-icon top-bar emphasis"></span>
|
<span class="toggler-icon top-bar emphasis"></span>
|
||||||
<span class="toggler-icon middle-bar emphasis"></span>
|
<span class="toggler-icon middle-bar emphasis"></span>
|
||||||
@@ -189,117 +144,94 @@
|
|||||||
|
|
||||||
<div class="navbar-collapse collapse" id="{{ $id }}-collapse">
|
<div class="navbar-collapse collapse" id="{{ $id }}-collapse">
|
||||||
{{/* Insert search input */}}
|
{{/* Insert search input */}}
|
||||||
{{- if and $search (not $searchModal) }}
|
{{- if and $search.enabled (not $search.modal) }}
|
||||||
{{ partial "assets/search-input.html" (dict "class" (printf "mt-4 mt-%s-0" $args.breakpoint)) }}
|
{{ partial "assets/search-input.html" (dict "class" (printf "mt-4 mt-%s-0 me-%s-3" $args.breakpoint $args.breakpoint)) }}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
|
<ul class="navbar-nav navbar-nav-scroll {{ if $flex }}d-flex w-100{{ else }}ms-auto{{ end }}">
|
||||||
{{/* Render top-menu items (maximum depth of 2) */}}
|
{{/* Render top-menu items (maximum depth of 2) */}}
|
||||||
<ul class="navbar-nav {{ if $flex }}d-flex w-100{{ else }}ms-auto{{ end }}">
|
{{- partial "assets/helpers/navbar-render-menu.html" (dict
|
||||||
{{- range $menu := $menus -}}
|
"page" $page
|
||||||
{{ if $menu.Params.spacing }}
|
"menus" $menus
|
||||||
<li class="nav-item flex-grow-1"></li>
|
"collapsed" $args.collapsed
|
||||||
{{ else }}
|
"horizontal" $horizontal
|
||||||
<li class="nav-item {{ if .HasChildren }} dropdown{{ if $horizontal }} dropdown-horizontal-{{ $args.breakpoint }}{{ end }}{{ end }}">
|
"breakpoint" $args.breakpoint
|
||||||
{{- partial "assets/navbar-item.html" (dict "menu" $menu "page" $page) -}}
|
"control" false
|
||||||
{{- if .HasChildren -}}
|
"fs" $fs
|
||||||
<ul class="dropdown-menu">
|
) }}
|
||||||
{{- range .Children -}}
|
|
||||||
<li>{{- partial "assets/navbar-item.html" (dict "menu" . "parent" $menu "page" $page) -}}</li>
|
|
||||||
{{- end -}}
|
|
||||||
</ul>
|
|
||||||
{{- end -}}
|
|
||||||
</li>
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{/* Insert divider if applicable */}}
|
{{/* Insert divider if applicable */}}
|
||||||
{{- if and $menus (or $enableLanguage $enableVersions) -}}
|
{{- if and $menus (or $enableLanguage $enableVersions) -}}
|
||||||
<li class="nav-item py-2 py-md-1 col-12 col-md-auto d-none d-{{ $args.breakpoint }}-block me-auto">
|
{{ partial "inline/divider.html" (dict "breakpoint" $args.breakpoint) }}
|
||||||
<div class="vr d-none d-md-flex h-100 mx-md-2"></div>
|
|
||||||
</li>
|
|
||||||
<li><hr class="dropdown-divider-bg"></li>
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/* Insert version switcher */}}
|
{{/* Insert version switcher */}}
|
||||||
{{- if $enableVersions -}}
|
{{- if $enableVersions -}}
|
||||||
{{- partial "inline/navbar-versions.html" (dict "page" $page "breakpoint" $args.breakpoint "collapsed" true "id" .id "baseURL" $baseURL) -}}
|
{{- partial "assets/helpers/navbar-versions.html" (dict
|
||||||
{{- partial "inline/navbar-versions.html" (dict "page" $page "breakpoint" $args.breakpoint "collapsed" false "id" .id "baseURL" $baseURL) -}}
|
"page" $page
|
||||||
|
"breakpoint" $args.breakpoint
|
||||||
|
"collapsed" true
|
||||||
|
"id" .id
|
||||||
|
"baseURL" $baseURL
|
||||||
|
"fs" $fs
|
||||||
|
) -}}
|
||||||
|
{{- partial "assets/helpers/navbar-versions.html" (dict
|
||||||
|
"page" $page
|
||||||
|
"breakpoint" $args.breakpoint
|
||||||
|
"collapsed" false
|
||||||
|
"id" .id
|
||||||
|
"baseURL" $baseURL
|
||||||
|
"fs" $fs
|
||||||
|
) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/* Insert language switcher if applicable */}}
|
{{/* Insert language switcher if applicable */}}
|
||||||
{{- if $enableLanguage -}}
|
{{- if $enableLanguage -}}
|
||||||
{{- $currentLang := $page.Language.Lang -}}
|
{{ partial "assets/helpers/navbar-languages.html" (dict
|
||||||
<li class="nav-item dropdown me-auto">
|
"page" $page
|
||||||
<a class="nav-link dropdown-toggle d-{{ $args.breakpoint }}-none" role="button" data-bs-toggle="dropdown" aria-label="{{ T "languageSwitcherLabel" }}" aria-expanded="false">
|
"baseURL" $baseURL
|
||||||
{{- partial "assets/icon.html" (dict "icon" "fas globe fa-fw" "spacing" false) }} {{ T "languageSwitcherLabel" }}
|
"breakpoint" $breakpoint
|
||||||
</a>
|
"pretty" $pretty
|
||||||
<a class="nav-link dropdown-toggle d-none d-{{ $args.breakpoint }}-block" role="button" data-bs-toggle="dropdown" aria-label="{{ T "languageSwitcherLabel" }}" aria-expanded="false">
|
"fs" $fs
|
||||||
{{- partial "assets/icon.html" (dict "icon" "fas globe fa-fw" "spacing" false) }}
|
"icon" $langIcon
|
||||||
</a>
|
)}}
|
||||||
<ul class="dropdown-menu dropdown-menu-end " id="language-selector" data-translated="{{ $page.IsTranslated }}">
|
|
||||||
{{- if $page.IsTranslated -}}
|
|
||||||
{{- range $page.AllTranslations -}}
|
|
||||||
<li><a class="dropdown-item {{ if eq .Language.Lang $currentLang }}active{{ end }}" hreflang="{{ .Language.Lang }}" href="{{ .RelPermalink }}">{{ .Language.LanguageName }}</a></li>
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- else -}}
|
|
||||||
{{- range site.Languages -}}
|
{{/* Insert divider if applicable */}}
|
||||||
{{ $dest := partial "utilities/URLJoin.html" (dict "base" $baseURL "path" .Lang) }}
|
{{ $hasControls := gt (len (where $menus "Params.control" true)) 0 }}
|
||||||
{{ if and $pretty (not (hasSuffix $dest "/")) }}
|
{{ if and (or $menus $enableLanguage $enableVersions) (or $enableDarkMode $search.modal $hasControls) }}
|
||||||
{{ $dest = printf "%s/" $dest }}
|
{{ partial "inline/divider.html" (dict "breakpoint" $args.breakpoint) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<li><a class="dropdown-item" href="{{ $dest }}" hreflang="{{ .Lang }}">{{ default .Lang .LanguageName }}</a></li>
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
||||||
</ul>
|
|
||||||
</li>
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{/* Insert color mode switcher */}}
|
{{/* Insert color mode switcher */}}
|
||||||
{{- if $enableDarkMode -}}
|
{{- if $enableDarkMode -}}
|
||||||
{{- partial "inline/navbar-mode.html" (dict "size" $args.breakpoint "collapsed" true "id" .id) -}}
|
{{- partial "assets/helpers/navbar-mode.html" (dict
|
||||||
|
"breakpoint" $args.breakpoint
|
||||||
|
"collapsed" true
|
||||||
|
"id" .id
|
||||||
|
"toggle" (site.Params.main.colorMode.toggle)
|
||||||
|
"fs" $fs
|
||||||
|
) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/* Insert modal search button */}}
|
{{/* Insert modal search button */}}
|
||||||
{{- if $searchModal }}
|
{{- if $search.modal }}
|
||||||
<li class="nav-item py-2 py-md-1 col-12 col-md-auto d-none d-{{ $args.breakpoint }}-block me-auto">
|
{{ $searchItem := dict "Name" (T "ui_search") "Menu" "Main" "Pre" $search.icon "Params" (dict "icon" true) }}
|
||||||
<div class="vr d-none d-md-flex h-100 mx-md-2"></div>
|
{{- partial "assets/helpers/navbar-item.html" (dict "menu" $searchItem "page" $page "modal" "#search-modal" "fs" $fs) -}}
|
||||||
</li>
|
|
||||||
<li><hr class="dropdown-divider-bg"></li>
|
|
||||||
|
|
||||||
<li class="d-{{ $args.breakpoint }}-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" }}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
<li class="d-none d-{{ $args.breakpoint }}-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") }}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
|
|
||||||
|
{{/* Render custom controls */}}
|
||||||
|
{{- partial "assets/helpers/navbar-render-menu.html" (dict
|
||||||
|
"page" $page
|
||||||
|
"menus" $menus
|
||||||
|
"collapsed" $args.collapsed
|
||||||
|
"horizontal" $horizontal
|
||||||
|
"breakpoint" $args.breakpoint
|
||||||
|
"control" true
|
||||||
|
"fs" $fs
|
||||||
|
) }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{/* Insert modal search element */}}
|
|
||||||
{{- if $searchModal }}
|
|
||||||
<div class="modal fade search-modal" tabindex="-1" id="search-modal" aria-labelledby="searchModalLabel" aria-hidden="true">
|
|
||||||
<div class="modal-dialog modal-dialog-centered modal-dialog-scrollable modal-lg">
|
|
||||||
<div class="modal-content h-50">
|
|
||||||
<div class="modal-header">
|
|
||||||
<div class="w-100">
|
|
||||||
<form class="search position-relative me-auto">
|
|
||||||
<input id="search-input-modal" class="search-input form-control is-search" tabindex="1" type="search" placeholder="{{ T "ui_search" }}..." aria-label="{{ T "ui_search" }}" autocomplete="off">
|
|
||||||
</form>
|
|
||||||
</div>
|
|
||||||
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="{{ T "close" }}"></button>
|
|
||||||
</div>
|
|
||||||
<div class="modal-body p-2 search-background">
|
|
||||||
<div class="search-suggestions" data-no-results="{{ T "ui_no_results" }}"></div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{ end -}}
|
|
||||||
|
@@ -111,7 +111,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{/* Render default timeline */}}
|
{{/* Render default timeline */}}
|
||||||
<div class="container p-0 d-none d-md-block {{ with $background }} timeline-{{ . }} {{ . }}{{ end }}{{ with $args.class }} {{ . }}{{ end }}">
|
<div class="timeline-container container p-0 d-none d-md-block {{ with $background }} timeline-{{ . }} {{ . }}{{ end }}{{ with $args.class }} {{ . }}{{ end }}">
|
||||||
{{ $title | safeHTML }}
|
{{ $title | safeHTML }}
|
||||||
{{ range $index, $item := $data }}
|
{{ range $index, $item := $data }}
|
||||||
<div class="row timeline timeline-{{ $item.color }} timeline-dot g-0 ">
|
<div class="row timeline timeline-{{ $item.color }} timeline-dot g-0 ">
|
||||||
@@ -137,7 +137,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{/* Render timeline for smaller devices */}}
|
{{/* Render timeline for smaller devices */}}
|
||||||
<div class="container p-0 d-block d-md-none small{{ with $background }} timeline-bg-{{ . }} bg-{{ . }}{{ end }}{{ with $args.class }} {{ . }}{{ end }}">
|
<div class="timeline-container container p-0 d-block d-md-none small{{ with $background }} timeline-bg-{{ . }} bg-{{ . }}{{ end }}{{ with $args.class }} {{ . }}{{ end }}">
|
||||||
{{ range $index, $item := $data }}
|
{{ range $index, $item := $data }}
|
||||||
<div class="row timeline-sm timeline-{{ $item.color }} timeline-dot g-0">
|
<div class="row timeline-sm timeline-{{ $item.color }} timeline-dot g-0">
|
||||||
{{ partial "inline/timeline-icon.html" (dict "icon" $item.icon "direction" "end" "col" 3) }}
|
{{ partial "inline/timeline-icon.html" (dict "icon" $item.icon "direction" "end" "col" 3) }}
|
||||||
|
@@ -24,6 +24,7 @@
|
|||||||
{{ $result = $result | append $rendered }}
|
{{ $result = $result | append $rendered }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if lt $item.Level $endLevel }}
|
||||||
{{ range $item.Headings }}
|
{{ range $item.Headings }}
|
||||||
{{ $result = $result | append (partial "inline/toc-item.html" (dict
|
{{ $result = $result | append (partial "inline/toc-item.html" (dict
|
||||||
"base" $base
|
"base" $base
|
||||||
@@ -33,6 +34,7 @@
|
|||||||
"maxNumHeadings" $maxNumHeadings
|
"maxNumHeadings" $maxNumHeadings
|
||||||
)) }}
|
)) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ return $result }}
|
{{ return $result }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@@ -60,7 +60,7 @@
|
|||||||
"navbar-offset-xs" $navbarOffsetXS
|
"navbar-offset-xs" $navbarOffsetXS
|
||||||
"navbar-size" (site.Params.navigation.size | default "md")
|
"navbar-size" (site.Params.navigation.size | default "md")
|
||||||
"overlay-offset" $overlayOffset
|
"overlay-offset" $overlayOffset
|
||||||
"enable-dark-mode" (printf "%t" ((default true site.Params.main.enableDarkMode)))
|
"enable-dark-mode" (printf "%t" ((default true (or site.Params.main.enableDarkMode site.Params.main.colorMode.enabled))))
|
||||||
"import-fonts" (printf "%t" (not (hasPrefix (lower site.Params.style.themeFontPath) "http")))
|
"import-fonts" (printf "%t" (not (hasPrefix (lower site.Params.style.themeFontPath) "http")))
|
||||||
"dark-mode-shade" (default "0%" site.Params.style.darkModeShade)
|
"dark-mode-shade" (default "0%" site.Params.style.darkModeShade)
|
||||||
"dark-mode-tint" (default "0%" site.Params.style.darkModeTint)
|
"dark-mode-tint" (default "0%" site.Params.style.darkModeTint)
|
||||||
|
238
layouts/_partials/utilities/InitArgs.html~~~
Normal file
238
layouts/_partials/utilities/InitArgs.html~~~
Normal file
@@ -0,0 +1,238 @@
|
|||||||
|
<!--
|
||||||
|
Copyright © 2024 - 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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
{{ define "_partials/inline/default.html" }}
|
||||||
|
{{ $config := split .config "." }}
|
||||||
|
{{ $default := .default }}
|
||||||
|
{{ return or (index site.Params $config) $default }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ define "_partials/inline/alias-type.html" }}
|
||||||
|
{{ $type := .type }}
|
||||||
|
{{ $custom := .types }}
|
||||||
|
{{ $references := .references }}
|
||||||
|
{{ $aliases := dict "path" "string" "select" "string" "url" "string" "dict" "[]map[string]interface {}" "slice" "[]interface {}" }}
|
||||||
|
{{ $reserved := slice "bool" "int" "int64" "float" "float64" "string" "dict" "slice" }}
|
||||||
|
|
||||||
|
{{ $input := slice }}
|
||||||
|
{{ if not $type }}
|
||||||
|
{{ errorf "expected type argument: %s" page.File }}
|
||||||
|
{{ else }}
|
||||||
|
{{ $input = slice | append $type }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ $extra := slice }}
|
||||||
|
{{ range $element := $input }}
|
||||||
|
{{ $alias := index $aliases $element }}
|
||||||
|
{{ if $alias }}{{ $extra = $extra | append slice $alias }}{{ end }}
|
||||||
|
{{ if not (in $reserved $element) }}
|
||||||
|
{{ $def := index $references $element }}
|
||||||
|
{{ if $def }}
|
||||||
|
{{ $extra = $extra | append slice $def._reflect }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if $extra }}{{ $input = $input | append $extra }}{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ return $input }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* Initialize arguments */}}
|
||||||
|
{{ $structure := .structure }}
|
||||||
|
{{ $bookshop := .bookshop }}
|
||||||
|
{{ $child := .child }}
|
||||||
|
{{ $named := .named | default true }}
|
||||||
|
{{ $args := .args | default dict }}
|
||||||
|
{{ $group := .group }}
|
||||||
|
|
||||||
|
{{/* Initialize local variables */}}
|
||||||
|
{{ $error := false }}
|
||||||
|
{{ $errmsg := slice }}
|
||||||
|
{{ $warnmsg := slice }}
|
||||||
|
{{ $params := dict }}
|
||||||
|
{{ $types := dict }}
|
||||||
|
{{ $default := slice }}
|
||||||
|
|
||||||
|
{{/* Validate partial arguments */}}
|
||||||
|
{{ if and (not $structure) (not $bookshop) }}
|
||||||
|
{{- $errmsg = $errmsg | append (printf "partial [utilities/InitArgs.html] - Missing value for param 'structure' or 'bookshop'") -}}
|
||||||
|
{{ $error = true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* Initialize type structure */}}
|
||||||
|
{{ if hasPrefix $structure "bookshop-" }}{{ $bookshop = strings.TrimPrefix "bookshop-" $structure }}{{ $structure = "" }}{{ end }}
|
||||||
|
{{ if not $error }}
|
||||||
|
{{ $types = partial "utilities/InitTypes.html" (dict "structure" $structure "bookshop" $bookshop "child" $child ) }}
|
||||||
|
{{ if $types.errmsg }}{{ $errmsg = $errmsg | append $types.errmsg }}{{ $error = $types.err }}{{ end }}
|
||||||
|
{{ if $types.warnmsg }}{{ $warnmsg = $warnmsg | append $types.warnmsg }}{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ $namedargs := dict }}
|
||||||
|
{{ if not $named }}
|
||||||
|
{{ range $index, $val := $args }}
|
||||||
|
{{ $found := false }}
|
||||||
|
{{ range $k, $v := $types.types }}
|
||||||
|
{{ if eq $index $v.position }}
|
||||||
|
{{ $namedargs = merge $namedargs (dict $k $val) }}
|
||||||
|
{{ $found = true }}
|
||||||
|
{{ break }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ if not $found }}
|
||||||
|
{{ $errmsg = $errmsg | append (printf "[%s] unsupported argument at index %d (value: '%s')" (or $structure $bookshop) $index $val) }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ else }}
|
||||||
|
{{ $namedargs = $args }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* Validate passed arguments and initialize their default value when applicable */}}
|
||||||
|
{{ if not $error }}
|
||||||
|
{{ range $key, $val := $namedargs }}
|
||||||
|
{{ $def := index $types.types $key }}
|
||||||
|
|
||||||
|
{{ if not $def }}
|
||||||
|
{{ if eq (printf "%T" $key) "string" }}
|
||||||
|
{{ $errmsg = $errmsg | append (printf "[%s] unsupported argument '%s'" (or $structure $bookshop) $key) }}
|
||||||
|
{{ else if eq (printf "%T" $key) "int" }}
|
||||||
|
{{ $errmsg = $errmsg | append (printf "[%s] unsupported argument at index %d (value: '%s')" (or $structure $bookshop) $key $val) }}
|
||||||
|
{{ else }}
|
||||||
|
{{ $errmsg = $errmsg | append (printf "[%s] unsupported argument value '%v'" (or $structure $bookshop) $val) }}
|
||||||
|
{{ end }}
|
||||||
|
{{ $error = true }}
|
||||||
|
{{ break }}
|
||||||
|
{{ else }}
|
||||||
|
{{/* initialize default value */}}
|
||||||
|
{{ if and (eq $val nil) (or $def.config $def.default) }}
|
||||||
|
{{ $val = (partial "inline/default.html" (dict "config" $def.config "default" $def.default)) }}
|
||||||
|
{{ $default = $default | append $key }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* validate type */}}
|
||||||
|
{{ $expected := partial "inline/alias-type.html" (dict "type" $def.type "types" $types.types "references" $types.udt) }}
|
||||||
|
{{ $actual := printf "%T" $val }}
|
||||||
|
|
||||||
|
{{/* cast supported types from/to string */}}
|
||||||
|
{{ if and (in $expected "bool") (in (slice "true" "false") $val) }}
|
||||||
|
{{ $actual = "bool" }}
|
||||||
|
{{ $val = cond (eq $val "true") true false }}
|
||||||
|
{{ else if and (in $expected "int") (findRE `^-?\d+$` $val) }}
|
||||||
|
{{ $actual = "int" }}
|
||||||
|
{{ $val = int $val }}
|
||||||
|
{{ else if and (in $expected "float") (findRE `^(?:[1-9]\d*|0)?(?:\.\d+)?$` $val) }}
|
||||||
|
{{ $actual = "float" }}
|
||||||
|
{{ $val = float $val }}
|
||||||
|
{{ else if and (in $expected "string") (in (slice "bool" "int" "int64" "float" "float64") $actual) }}
|
||||||
|
{{ $actual = "string" }}
|
||||||
|
{{ $val = string $val }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if and $val (not (in $expected $actual)) }}
|
||||||
|
{{ $errmsg = $errmsg | append (printf "[%s] argument '%s': expected type '%s', got '%s' with value '%v'" (or $structure $bookshop) (string $key) (delimit $expected ", ") $actual $val) }}
|
||||||
|
{{ $error = true }}
|
||||||
|
{{ break }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* validate permitted values */}}
|
||||||
|
{{ if and (reflect.IsMap $def.options) $def.options.values (eq $actual "string") }}
|
||||||
|
{{ if and $val (not (in $def.options.values $val)) }}
|
||||||
|
{{ $errmsg = $errmsg | append (printf "[%s] argument '%s': unexpected value '%s'" (or $structure $bookshop) (string $key) $val) }}
|
||||||
|
{{ $error = true }}
|
||||||
|
{{ break }}
|
||||||
|
{{ end }}
|
||||||
|
{{ else if and (reflect.IsMap $def.options) (or $def.options.min $def.options.max) (in (slice "int" "float" "float64") $actual) }}
|
||||||
|
{{ if or
|
||||||
|
(and $def.options.min (lt $val $def.options.min))
|
||||||
|
(and $def.options.max (gt $val $def.options.max))
|
||||||
|
}}
|
||||||
|
{{ $min := (string (or $def.options.min "-")) }}
|
||||||
|
{{ $max := (string (or $def.options.max "-")) }}
|
||||||
|
{{ $errmsg = $errmsg | append (printf "[%s] argument '%s': value '%s' out of range [%s, %s]" (or $structure $bookshop) (string $key) (string $val) $min $max) }}
|
||||||
|
{{ $error = true }}
|
||||||
|
{{ break }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* validate if argument is deprecated */}}
|
||||||
|
{{ with $def.deprecated }}
|
||||||
|
{{ $warn := printf "[%s] argument '%s': deprecated in v%s" (or $structure $bookshop) $key (strings.TrimPrefix "v" .) }}
|
||||||
|
{{ with $def.alternative }}
|
||||||
|
{{ $warn = printf "%s, use '%s' instead" $warn . }}
|
||||||
|
{{ end }}
|
||||||
|
{{ $warnmsg = $warnmsg | append $warn }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* append the argument to the return set */}}
|
||||||
|
{{ if not $error }}
|
||||||
|
{{ $params = merge $params (dict $key $val) }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if not $error }}
|
||||||
|
{{/* validate required arguments */}}
|
||||||
|
{{ $max := len $namedargs }}
|
||||||
|
{{ $expected := 0 }}
|
||||||
|
{{ range $key, $val := $types.types }}
|
||||||
|
{{ $skip := false }}
|
||||||
|
{{ $groups := slice | append $val.group }}
|
||||||
|
{{ if and $group $val.group }}
|
||||||
|
{{ $skip = not (in $groups $group )}}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if and (not $skip) (not $val.optional) }}
|
||||||
|
{{ if not (isset $namedargs $key) }}
|
||||||
|
{{ $errmsg = $errmsg | append (printf "[%s] argument '%s': expected value" (or $structure $bookshop) $key) }}
|
||||||
|
{{ $error = true }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if lt $max $expected }}
|
||||||
|
{{ $errmsg = $errmsg | append (printf "[%s] expected '%d' args, got '%d'" (or $structure $bookshop) $expected $max) }}
|
||||||
|
{{ $error = true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* add missing keys with default values (nested one level deep) or empty slice */}}
|
||||||
|
{{ range $key, $val := $types.types }}
|
||||||
|
{{ if (not (isset $params $key)) }}
|
||||||
|
{{ $udt := index $types.udt $key }}
|
||||||
|
{{ if or (isset $val "config") (isset $val "default") }}
|
||||||
|
{{ $params = merge $params (dict
|
||||||
|
$key (partial "inline/default.html" (dict "config" $val.config "default" $val.default))
|
||||||
|
) }}
|
||||||
|
{{ $default = $default | append $key }}
|
||||||
|
{{ else if $udt }}
|
||||||
|
{{ if eq $udt._reflect "[]interface {}" }}
|
||||||
|
{{ $params = merge $params (dict $key slice) }}
|
||||||
|
{{ else }}
|
||||||
|
{{ $nested := dict }}
|
||||||
|
{{ range $k, $v := $udt }}
|
||||||
|
{{ if and (reflect.IsMap $v) (or $v.config $v.default) }}
|
||||||
|
{{ $nested = merge $nested (dict
|
||||||
|
$k (partial "inline/default.html" (dict "config" $val.config "default" $val.default))
|
||||||
|
)}}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ $params = merge $params (dict $key $nested) }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* add the key-value pair using camel case to support chaining of the identifier */}}
|
||||||
|
{{/* see https://gohugo.io/configuration/params/#article */}}
|
||||||
|
{{ range $key, $val := $params }}
|
||||||
|
{{ if strings.Contains $key "-" }}
|
||||||
|
{{ $camelKey := partial "utilities/camelize.html" $key }}
|
||||||
|
{{ $params = merge $params (dict $camelKey $val) }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ $params = merge $params (dict "err" $error "errmsg" $errmsg "warnmsg" $warnmsg "default" $default) }}
|
||||||
|
{{ return $params }}
|
144
layouts/_partials/utilities/InitTypes.html~
Normal file
144
layouts/_partials/utilities/InitTypes.html~
Normal file
@@ -0,0 +1,144 @@
|
|||||||
|
<!--
|
||||||
|
Copyright © 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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
{{/* Inline partial to retrieve the type definition of the provided key (without recursion) */}}
|
||||||
|
{{ define "_partials/inline/type-definition.html" }}
|
||||||
|
{{ $key := .key }}
|
||||||
|
{{ $val := .val }}
|
||||||
|
{{ $arguments := .arguments }}
|
||||||
|
{{ $types := .types }}
|
||||||
|
|
||||||
|
{{ $def := index $arguments $key }}
|
||||||
|
{{ $udt := "" }}
|
||||||
|
{{ $reflect := "" }}
|
||||||
|
{{ $reserved := slice "bool" "int" "int64" "float" "float64" "string" "dict" "slice" }}
|
||||||
|
{{ $errorMsg := slice }}
|
||||||
|
|
||||||
|
{{ if and $def $def.type }}
|
||||||
|
{{ $aliases := slice | append $def.type }}
|
||||||
|
{{ range $alias := $aliases }}
|
||||||
|
{{ with index $types $alias }}
|
||||||
|
<!-- Reduce child elements to slice of argument names -->
|
||||||
|
{{ $args := slice }}
|
||||||
|
{{ $reflect = printf "%T" . }}
|
||||||
|
{{ if reflect.IsMap . }}
|
||||||
|
{{ range $k, $_ := . }}
|
||||||
|
{{ $args = $args | append $k }}
|
||||||
|
{{ end }}
|
||||||
|
{{ else if reflect.IsSlice . }}
|
||||||
|
{{ with index . 0 }}
|
||||||
|
{{ range $k, $_ := . }}
|
||||||
|
{{ $args = $args | append $k }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
<!-- Retrieve type definition for each argument -->
|
||||||
|
{{ $definitions := dict }}
|
||||||
|
{{ $definitions := merge $definitions (dict "_reflect" $reflect) }}
|
||||||
|
{{ range $args }}
|
||||||
|
{{ $type := partial "inline/type-definition.html" (dict "key" . "arguments" $arguments "types" $types) }}
|
||||||
|
{{ if and $type $type.definition }}
|
||||||
|
{{ $definitions = merge $definitions (dict . $type.definition) }}
|
||||||
|
{{ else }}
|
||||||
|
{{- $errorMsg = $errorMsg | append (printf "partial [utilities/InitTypes.html] - Missing type for '%s.%s'" $key . ) -}}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ $udt = dict $alias $definitions }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ $merged := or $def dict }}
|
||||||
|
{{ if reflect.IsMap $val }}{{ $merged = merge $merged $val }}{{ end }}
|
||||||
|
{{ if not $merged.type }}
|
||||||
|
{{- $errorMsg = $errorMsg | append (printf "partial [utilities/InitTypes.html] - Missing type for '%s'" $key ) -}}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ return (dict "definition" $merged "udt" $udt "errmsg" $errorMsg) }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* Initalize arguments and local variables */}}
|
||||||
|
{{ $error := false }}
|
||||||
|
{{ $errmsg := slice }}
|
||||||
|
{{ $warnmsg := slice }}
|
||||||
|
{{ $params := dict }}
|
||||||
|
{{ $definitions := dict }}
|
||||||
|
{{ $udt := dict }}
|
||||||
|
|
||||||
|
{{ $structure := .structure }}
|
||||||
|
{{ $bookshop := .bookshop }}
|
||||||
|
{{ $group := .group }}
|
||||||
|
{{ $child := .child }}
|
||||||
|
|
||||||
|
{{ $level := .level | default 0 }}
|
||||||
|
|
||||||
|
{{ if gt $level 5 }}
|
||||||
|
{{ errorf "recursion detected: %s / %s" $structure $bookshop }}
|
||||||
|
{{ return }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if and (not $structure) (not $bookshop) }}
|
||||||
|
{{- $errmsg = $errmsg | append (printf "partial [utilities/InitTypes.html] - Missing value for param 'structure' or 'bookshop'") -}}
|
||||||
|
{{ $error = true }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* Initalize the type structure */}}
|
||||||
|
{{ if not $error }}
|
||||||
|
{{ $args := dict }}
|
||||||
|
{{ $arguments := index (index site.Data.structures "_arguments") "arguments" }}
|
||||||
|
{{ $types := index (index site.Data.structures "_types") "types" }}
|
||||||
|
|
||||||
|
{{/* Initalize the regular or bookshop argument structure */}}
|
||||||
|
{{ if $structure }}
|
||||||
|
{{ if index site.Data.structures $structure}}
|
||||||
|
{{ $args = (index site.Data.structures $structure).arguments | default dict }}
|
||||||
|
{{ else }}
|
||||||
|
{{ $args = (index $types $structure) | default dict }}
|
||||||
|
{{ end }}
|
||||||
|
{{ else }}
|
||||||
|
{{ $args = index (index (index site.Data.structures.components $bookshop) (printf "%s.bookshop" $bookshop)) "blueprint" | default dict }}
|
||||||
|
{{ $args = merge $args (dict "_bookshop_name" nil "_ordinal" nil "id" nil) }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* Merge any child arguments */}}
|
||||||
|
{{ if $child }}
|
||||||
|
{{ $extra_def := (index site.Data.structures $child).arguments }}
|
||||||
|
{{ if not $extra_def }}
|
||||||
|
{{- $errmsg = $errmsg | append (printf "partial [utilities/InitTypes.html] - Missing definitions: %s" $child) -}}
|
||||||
|
{{ $error = true }}
|
||||||
|
{{ else }}
|
||||||
|
{{ range $key, $val := $extra_def }}
|
||||||
|
{{ if and $val $val.parent }}
|
||||||
|
{{ $newval := dict }}
|
||||||
|
{{ range $k, $v := $val }}
|
||||||
|
{{ if ne $k "default" }}{{ $newval = merge $newval (dict $k $v) }}{{ end }}
|
||||||
|
{{ end}}
|
||||||
|
{{ $args = merge $args (dict $key $newval) }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{/* Initialize the arguments and their type definitions recursively */}}
|
||||||
|
{{ range $key, $v := $args }}
|
||||||
|
{{ $type := partial "inline/type-definition.html" (dict "key" $key "val" $v "args" $args "arguments" $arguments "types" $types "structure" $structure) }}
|
||||||
|
{{ $errmsg = $errmsg | append $type.errmsg }}
|
||||||
|
{{ if and $type $type.definition $type.definition.type }}
|
||||||
|
{{ $definitions = merge $definitions (dict $key $type.definition) }}
|
||||||
|
{{ with $type.udt }}
|
||||||
|
{{ $udt = merge $udt . }}
|
||||||
|
{{ end }}
|
||||||
|
{{ else }}
|
||||||
|
{{- $errmsg = $errmsg | append (printf "partial [utilities/InitTypes.html] - Missing type for '%s' in '%s'" $key (or $structure $bookshop) ) -}}
|
||||||
|
{{ $error = true }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
|
{{ $params = merge $params (dict "types" $definitions "udt" $udt "err" $error "errmsg" $errmsg "warnmsg" $warnmsg) }}
|
||||||
|
{{ return $params }}
|
@@ -72,7 +72,7 @@
|
|||||||
{{- $output = (replace $output "<span class=\"c\">#" "<span class=\"c\">" | safeHTML) -}}
|
{{- $output = (replace $output "<span class=\"c\">#" "<span class=\"c\">" | safeHTML) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
<div class="mb-3 syntax-highlight{{ with $args.class }} {{ . }}{{ end }}">
|
<div class="command syntax-highlight mb-3{{ with $args.class }} {{ . }}{{ end }}">
|
||||||
{{- $output -}}
|
{{- $output -}}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
@@ -71,7 +71,8 @@
|
|||||||
{{- $match = replace $match $captureStart "" -}}
|
{{- $match = replace $match $captureStart "" -}}
|
||||||
{{- $match = replace $match $captureEnd "" -}}
|
{{- $match = replace $match $captureEnd "" -}}
|
||||||
|
|
||||||
<ul class="nav nav-tabs{{ with $args.class }} {{ . }}{{ end }}">
|
<div class="docs">
|
||||||
|
<ul class="docs-controls nav nav-tabs{{ with $args.class }} {{ . }}{{ end }}">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link active font-monospace"
|
<a class="nav-link active font-monospace"
|
||||||
href="#body-{{ $id }}"
|
href="#body-{{ $id }}"
|
||||||
@@ -84,7 +85,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="border-start border-end border-bottom mb-3">
|
<div class="docs-panel mb-3">
|
||||||
<div class="collapse multi-{{ $id }}{{ if $args.show }} show{{ end }} syntax-highlight" id="body-{{ $id }}">
|
<div class="collapse multi-{{ $id }}{{ if $args.show }} show{{ end }} syntax-highlight" id="body-{{ $id }}">
|
||||||
{{- highlight (trim $match "\r\n") $extension "" -}}
|
{{- highlight (trim $match "\r\n") $extension "" -}}
|
||||||
</div>
|
</div>
|
||||||
@@ -100,4 +101,5 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
@@ -58,7 +58,8 @@
|
|||||||
{{- $tmp := os.Stat $file -}}
|
{{- $tmp := os.Stat $file -}}
|
||||||
{{- $content := readFile $file -}}
|
{{- $content := readFile $file -}}
|
||||||
|
|
||||||
<ul class="nav nav-tabs{{ with $args.class }} {{ . }}{{ end }}">
|
<div class="file">
|
||||||
|
<ul class="file-controls nav nav-tabs{{ with $args.class }} {{ . }}{{ end }}">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link active font-monospace"
|
<a class="nav-link active font-monospace"
|
||||||
href="#body-{{ $id }}"
|
href="#body-{{ $id }}"
|
||||||
@@ -71,7 +72,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="border-start border-end border-bottom mb-3">
|
<div class="file-panel mb-3">
|
||||||
<div class="collapse multi-{{ $id }}{{ if $args.show }} show{{ end }} syntax-highlight" id="body-{{ $id }}">
|
<div class="collapse multi-{{ $id }}{{ if $args.show }} show{{ end }} syntax-highlight" id="body-{{ $id }}">
|
||||||
{{- highlight (trim $content "\r\n") $lang (or $args.highlightOptions $args.options) -}}
|
{{- highlight (trim $content "\r\n") $lang (or $args.highlightOptions $args.options) -}}
|
||||||
</div>
|
</div>
|
||||||
@@ -87,4 +88,5 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
{{- end -}}
|
{{- end -}}
|
@@ -59,6 +59,7 @@
|
|||||||
{{- partial "footer/footer.html" . -}}
|
{{- partial "footer/footer.html" . -}}
|
||||||
{{- partial "footer/toast-container.html" . -}}
|
{{- partial "footer/toast-container.html" . -}}
|
||||||
{{- partial "assets/symbols.html" . -}}
|
{{- partial "assets/symbols.html" . -}}
|
||||||
|
{{- partial "assets/modals.html" . -}}
|
||||||
{{- partialCached "footer/scripts.html" (dict "page" .) -}}
|
{{- partialCached "footer/scripts.html" (dict "page" .) -}}
|
||||||
{{- partial "footer/scripts.html" (dict "page" . "type" "optional") -}}
|
{{- partial "footer/scripts.html" (dict "page" . "type" "optional") -}}
|
||||||
</body>
|
</body>
|
||||||
|
80
package-lock.json
generated
80
package-lock.json
generated
@@ -11,9 +11,9 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fullhuman/postcss-purgecss": "^7.0.2",
|
"@fullhuman/postcss-purgecss": "^7.0.2",
|
||||||
"autoprefixer": "^10.4.21",
|
"autoprefixer": "^10.4.21",
|
||||||
"cssnano": "^7.1.0",
|
"cssnano": "^7.1.1",
|
||||||
"cssnano-preset-advanced": "^7.0.8",
|
"cssnano-preset-advanced": "^7.0.9",
|
||||||
"hugo-bin": "0.145.2",
|
"hugo-bin": "0.146.0",
|
||||||
"purgecss-whitelister": "^2.4.0"
|
"purgecss-whitelister": "^2.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
"commitizen": "^4.3.1",
|
"commitizen": "^4.3.1",
|
||||||
"cpy-cli": "^6.0.0",
|
"cpy-cli": "^6.0.0",
|
||||||
"cz-conventional-changelog": "^3.3.0",
|
"cz-conventional-changelog": "^3.3.0",
|
||||||
"eslint": "^9.33.0",
|
"eslint": "^9.34.0",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"markdownlint-cli2": "^0.18.1",
|
"markdownlint-cli2": "^0.18.1",
|
||||||
"neostandard": "^0.12.2",
|
"neostandard": "^0.12.2",
|
||||||
@@ -720,9 +720,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@eslint/js": {
|
"node_modules/@eslint/js": {
|
||||||
"version": "9.33.0",
|
"version": "9.34.0",
|
||||||
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.33.0.tgz",
|
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.34.0.tgz",
|
||||||
"integrity": "sha512-5K1/mKhWaMfreBGJTwval43JJmkip0RmM+3+IuqupeSKNC/Th2Kc7ucaq5ovTSra/OOKB9c58CGSz3QMVbWt0A==",
|
"integrity": "sha512-EoyvqQnBNsV1CWaEJ559rxXL4c8V92gxirbawSmVUOWXlsRxxQXl6LmCpdUblgxgSkDIqKnhzba2SjRTI/A5Rw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -3431,9 +3431,10 @@
|
|||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/brace-expansion": {
|
"node_modules/brace-expansion": {
|
||||||
"version": "1.1.11",
|
"version": "1.1.12",
|
||||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.12.tgz",
|
||||||
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
"integrity": "sha512-9T9UjW3r0UW5c1Q7GTwllptXwhvYmEzFhzMfZ9H7FQWt+uZePjZPjBP/W1ZEyZ1twGWom5/56TF4lPcqjnDHcg==",
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"balanced-match": "^1.0.0",
|
"balanced-match": "^1.0.0",
|
||||||
"concat-map": "0.0.1"
|
"concat-map": "0.0.1"
|
||||||
@@ -4409,12 +4410,12 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/cssnano": {
|
"node_modules/cssnano": {
|
||||||
"version": "7.1.0",
|
"version": "7.1.1",
|
||||||
"resolved": "https://registry.npmjs.org/cssnano/-/cssnano-7.1.0.tgz",
|
"resolved": "https://registry.npmjs.org/cssnano/-/cssnano-7.1.1.tgz",
|
||||||
"integrity": "sha512-Pu3rlKkd0ZtlCUzBrKL1Z4YmhKppjC1H9jo7u1o4qaKqyhvixFgu5qLyNIAOjSTg9DjVPtUqdROq2EfpVMEe+w==",
|
"integrity": "sha512-fm4D8ti0dQmFPeF8DXSAA//btEmqCOgAc/9Oa3C1LW94h5usNrJEfrON7b4FkPZgnDEn6OUs5NdxiJZmAtGOpQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cssnano-preset-default": "^7.0.8",
|
"cssnano-preset-default": "^7.0.9",
|
||||||
"lilconfig": "^3.1.3"
|
"lilconfig": "^3.1.3"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
@@ -4429,14 +4430,14 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/cssnano-preset-advanced": {
|
"node_modules/cssnano-preset-advanced": {
|
||||||
"version": "7.0.8",
|
"version": "7.0.9",
|
||||||
"resolved": "https://registry.npmjs.org/cssnano-preset-advanced/-/cssnano-preset-advanced-7.0.8.tgz",
|
"resolved": "https://registry.npmjs.org/cssnano-preset-advanced/-/cssnano-preset-advanced-7.0.9.tgz",
|
||||||
"integrity": "sha512-KYw7gH8xmIzTwHefuM/m3lkMz4jn5EbjxZO2RHVsOGvrXCxSjbc0/f/gELWW9ZIgbQdJMCkijEo76gBYGY4S3Q==",
|
"integrity": "sha512-nczUlcRbMuupYDIjlYTQ6nqWh2AjV1omdf5OkUEKpOqPuRb8CZp/KgpZjD2eelX/sfFh6V/aybfgu7lVJH7Z/w==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"autoprefixer": "^10.4.21",
|
"autoprefixer": "^10.4.21",
|
||||||
"browserslist": "^4.25.1",
|
"browserslist": "^4.25.1",
|
||||||
"cssnano-preset-default": "^7.0.8",
|
"cssnano-preset-default": "^7.0.9",
|
||||||
"postcss-discard-unused": "^7.0.4",
|
"postcss-discard-unused": "^7.0.4",
|
||||||
"postcss-merge-idents": "^7.0.1",
|
"postcss-merge-idents": "^7.0.1",
|
||||||
"postcss-reduce-idents": "^7.0.1",
|
"postcss-reduce-idents": "^7.0.1",
|
||||||
@@ -4450,9 +4451,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/cssnano-preset-default": {
|
"node_modules/cssnano-preset-default": {
|
||||||
"version": "7.0.8",
|
"version": "7.0.9",
|
||||||
"resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-7.0.8.tgz",
|
"resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-7.0.9.tgz",
|
||||||
"integrity": "sha512-d+3R2qwrUV3g4LEMOjnndognKirBZISylDZAF/TPeCWVjEwlXS2e4eN4ICkoobRe7pD3H6lltinKVyS1AJhdjQ==",
|
"integrity": "sha512-tCD6AAFgYBOVpMBX41KjbvRh9c2uUjLXRyV7KHSIrwHiq5Z9o0TFfUCoM3TwVrRsRteN3sVXGNvjVNxYzkpTsA==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"browserslist": "^4.25.1",
|
"browserslist": "^4.25.1",
|
||||||
@@ -4460,7 +4461,7 @@
|
|||||||
"cssnano-utils": "^5.0.1",
|
"cssnano-utils": "^5.0.1",
|
||||||
"postcss-calc": "^10.1.1",
|
"postcss-calc": "^10.1.1",
|
||||||
"postcss-colormin": "^7.0.4",
|
"postcss-colormin": "^7.0.4",
|
||||||
"postcss-convert-values": "^7.0.6",
|
"postcss-convert-values": "^7.0.7",
|
||||||
"postcss-discard-comments": "^7.0.4",
|
"postcss-discard-comments": "^7.0.4",
|
||||||
"postcss-discard-duplicates": "^7.0.2",
|
"postcss-discard-duplicates": "^7.0.2",
|
||||||
"postcss-discard-empty": "^7.0.1",
|
"postcss-discard-empty": "^7.0.1",
|
||||||
@@ -5478,9 +5479,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/eslint": {
|
"node_modules/eslint": {
|
||||||
"version": "9.33.0",
|
"version": "9.34.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.33.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.34.0.tgz",
|
||||||
"integrity": "sha512-TS9bTNIryDzStCpJN93aC5VRSW3uTx9sClUn4B87pwiCaJh220otoI0X8mJKr+VcPtniMdN8GKjlwgWGUv5ZKA==",
|
"integrity": "sha512-RNCHRX5EwdrESy3Jc9o8ie8Bog+PeYvvSR8sDGoZxNFTvZ4dlxUB3WzQ3bQMztFrSRODGrLLj8g6OFuGY/aiQg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -5490,7 +5491,7 @@
|
|||||||
"@eslint/config-helpers": "^0.3.1",
|
"@eslint/config-helpers": "^0.3.1",
|
||||||
"@eslint/core": "^0.15.2",
|
"@eslint/core": "^0.15.2",
|
||||||
"@eslint/eslintrc": "^3.3.1",
|
"@eslint/eslintrc": "^3.3.1",
|
||||||
"@eslint/js": "9.33.0",
|
"@eslint/js": "9.34.0",
|
||||||
"@eslint/plugin-kit": "^0.3.5",
|
"@eslint/plugin-kit": "^0.3.5",
|
||||||
"@humanfs/node": "^0.16.6",
|
"@humanfs/node": "^0.16.6",
|
||||||
"@humanwhocodes/module-importer": "^1.0.1",
|
"@humanwhocodes/module-importer": "^1.0.1",
|
||||||
@@ -7236,9 +7237,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/hugo-bin": {
|
"node_modules/hugo-bin": {
|
||||||
"version": "0.145.2",
|
"version": "0.146.0",
|
||||||
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.145.2.tgz",
|
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.146.0.tgz",
|
||||||
"integrity": "sha512-iI4HutM+45/xdNU8XW/mhV0QWwzuuzVzKQ0fhGZIh1e5QkqWvRGhRjE0UARUSU8pygGgkJalVJgNVIGL/lkZ9g==",
|
"integrity": "sha512-R7c7SEhxNekWIny2HF5uU5Xk0Veg8BsahuyLURojvascGLCjyOAUDmghKnWB8DDVXSUmeDQYW8XdypNvbEC/Vg==",
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
"type": "github",
|
"type": "github",
|
||||||
@@ -7248,7 +7249,7 @@
|
|||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@xhmikosr/bin-wrapper": "^13.1.0",
|
"@xhmikosr/bin-wrapper": "^13.2.0",
|
||||||
"package-config": "^5.0.0"
|
"package-config": "^5.0.0"
|
||||||
},
|
},
|
||||||
"bin": {
|
"bin": {
|
||||||
@@ -13283,9 +13284,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/postcss-convert-values": {
|
"node_modules/postcss-convert-values": {
|
||||||
"version": "7.0.6",
|
"version": "7.0.7",
|
||||||
"resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-7.0.6.tgz",
|
"resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-7.0.7.tgz",
|
||||||
"integrity": "sha512-MD/eb39Mr60hvgrqpXsgbiqluawYg/8K4nKsqRsuDX9f+xN1j6awZCUv/5tLH8ak3vYp/EMXwdcnXvfZYiejCQ==",
|
"integrity": "sha512-HR9DZLN04Xbe6xugRH6lS4ZQH2zm/bFh/ZyRkpedZozhvh+awAfbA0P36InO4fZfDhvYfNJeNvlTf1sjwGbw/A==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"browserslist": "^4.25.1",
|
"browserslist": "^4.25.1",
|
||||||
@@ -14036,9 +14037,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/purgecss/node_modules/brace-expansion": {
|
"node_modules/purgecss/node_modules/brace-expansion": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
|
||||||
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
|
"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"balanced-match": "^1.0.0"
|
"balanced-match": "^1.0.0"
|
||||||
@@ -14652,10 +14653,11 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/rimraf/node_modules/brace-expansion": {
|
"node_modules/rimraf/node_modules/brace-expansion": {
|
||||||
"version": "2.0.1",
|
"version": "2.0.2",
|
||||||
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
|
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.2.tgz",
|
||||||
"integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
|
"integrity": "sha512-Jt0vHyM+jmUBqojB7E1NIYadt0vI0Qxjxd2TErW94wDz+E2LAm5vKMXXwg6ZZBTHPuUlDgQHKXvjGBdfcF1ZDQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"balanced-match": "^1.0.0"
|
"balanced-match": "^1.0.0"
|
||||||
}
|
}
|
||||||
|
@@ -73,9 +73,9 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fullhuman/postcss-purgecss": "^7.0.2",
|
"@fullhuman/postcss-purgecss": "^7.0.2",
|
||||||
"autoprefixer": "^10.4.21",
|
"autoprefixer": "^10.4.21",
|
||||||
"cssnano": "^7.1.0",
|
"cssnano": "^7.1.1",
|
||||||
"cssnano-preset-advanced": "^7.0.8",
|
"cssnano-preset-advanced": "^7.0.9",
|
||||||
"hugo-bin": "0.145.2",
|
"hugo-bin": "0.146.0",
|
||||||
"purgecss-whitelister": "^2.4.0"
|
"purgecss-whitelister": "^2.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -87,7 +87,7 @@
|
|||||||
"commitizen": "^4.3.1",
|
"commitizen": "^4.3.1",
|
||||||
"cpy-cli": "^6.0.0",
|
"cpy-cli": "^6.0.0",
|
||||||
"cz-conventional-changelog": "^3.3.0",
|
"cz-conventional-changelog": "^3.3.0",
|
||||||
"eslint": "^9.33.0",
|
"eslint": "^9.34.0",
|
||||||
"husky": "^9.1.7",
|
"husky": "^9.1.7",
|
||||||
"markdownlint-cli2": "^0.18.1",
|
"markdownlint-cli2": "^0.18.1",
|
||||||
"neostandard": "^0.12.2",
|
"neostandard": "^0.12.2",
|
||||||
|
Reference in New Issue
Block a user