mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-07 10:04:22 +00:00
Compare commits
25 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
89fea6d15f | ||
![]() |
af762c840c | ||
![]() |
c91604d34a | ||
![]() |
842725fd1c | ||
![]() |
5cad7cb0f9 | ||
![]() |
057dd63957 | ||
![]() |
f002cf06e4 | ||
![]() |
9d742f9165 | ||
![]() |
68c2cac3e0 | ||
![]() |
1c0ed71df9 | ||
![]() |
1e8791fdf0 | ||
![]() |
8cfac32280 | ||
![]() |
6e7a1dcdb9 | ||
![]() |
19cda9a986 | ||
![]() |
9ee9ebc960 | ||
![]() |
6f7903a2f2 | ||
![]() |
82d12d693c | ||
![]() |
3ed64f59f1 | ||
![]() |
df8ea923c5 | ||
![]() |
60872ea541 | ||
![]() |
52715cef21 | ||
![]() |
91f79e57ab | ||
![]() |
fdd878241b | ||
![]() |
f32bd92efa | ||
![]() |
c31dca464a |
@@ -174,6 +174,28 @@
|
||||
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 .btn {
|
||||
border-radius: #{$theme-border-radius};
|
||||
}
|
||||
|
||||
.navbar-expanded .search-input {
|
||||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
/* Remove border from toggler */
|
||||
.navbar-toggler {
|
||||
border: 0 if($enable-important-utilities, !important, null);
|
||||
|
@@ -122,7 +122,7 @@
|
||||
) -}}
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="mt-{{ $padding.y }}">
|
||||
<div class="mt-{{ $padding.y }} w-100">
|
||||
{{- partial "inline/messages.html" (dict
|
||||
"list" $list
|
||||
"cols" $args.cols
|
||||
|
@@ -245,9 +245,6 @@
|
||||
"fa-activity",
|
||||
"fa-address-card",
|
||||
"fa-angle-left",
|
||||
"fa-angle-right",
|
||||
"fa-angles-left",
|
||||
"fa-angles-right",
|
||||
"fa-arrow-left",
|
||||
"fa-arrow-right",
|
||||
"fa-bootstrap",
|
||||
@@ -383,6 +380,7 @@
|
||||
"me-1",
|
||||
"me-3",
|
||||
"me-auto",
|
||||
"me-md-3",
|
||||
"mermaid",
|
||||
"middle-bar",
|
||||
"mode-item",
|
||||
@@ -658,11 +656,11 @@
|
||||
"docs",
|
||||
"documentation",
|
||||
"dropdown-nav-0",
|
||||
"dropdown-panel-1cf9fa6c1b8db897289f1e58eca1ed2b",
|
||||
"dropdown-panel-2112fcf4fa7219518b7b70498969a79b",
|
||||
"dropdown-panel-2c61c8fd2a96d840748e5d5aa5e6ab20",
|
||||
"dropdown-panel-94a8f41d03ff238aa65acebc1b274df7",
|
||||
"dropdown-panel-dd79f20dce01073bc4b064a98deaff96",
|
||||
"dropdown-panel-16b2a928aac4d339268b91e7c4518650",
|
||||
"dropdown-panel-53a3afd31606a7ac6129f64a344975d9",
|
||||
"dropdown-panel-5e667cc0c5d40eda2b54232cea073408",
|
||||
"dropdown-panel-8e22977c44c99705a2905fe080b12e3b",
|
||||
"dropdown-panel-e01b3819797b6cc28a2cca7981f9df7f",
|
||||
"elements-type",
|
||||
"entity-relationship-diagram",
|
||||
"example",
|
||||
@@ -680,19 +678,16 @@
|
||||
"fab-medium",
|
||||
"fab-whatsapp",
|
||||
"fab-x-twitter",
|
||||
"faq-40baa94f9dbf495433e3d6b5106aad41",
|
||||
"faq-40baa94f9dbf495433e3d6b5106aad41-heading-faq-40baa94f9dbf495433e3d6b5106aad41",
|
||||
"faq-40baa94f9dbf495433e3d6b5106aad41-item-0",
|
||||
"faq-40baa94f9dbf495433e3d6b5106aad41-item-1",
|
||||
"faq-40baa94f9dbf495433e3d6b5106aad41-item-2",
|
||||
"faq-649be4a23aaadab7d9a46459b05aef4f",
|
||||
"faq-649be4a23aaadab7d9a46459b05aef4f-heading-faq-649be4a23aaadab7d9a46459b05aef4f",
|
||||
"faq-649be4a23aaadab7d9a46459b05aef4f-item-0",
|
||||
"faq-649be4a23aaadab7d9a46459b05aef4f-item-1",
|
||||
"faq-649be4a23aaadab7d9a46459b05aef4f-item-2",
|
||||
"fas-1",
|
||||
"fas-2",
|
||||
"fas-3",
|
||||
"fas-address-card",
|
||||
"fas-angle-left",
|
||||
"fas-angle-right",
|
||||
"fas-angles-left",
|
||||
"fas-angles-right",
|
||||
"fas-arrow-left",
|
||||
"fas-arrow-right",
|
||||
"fas-chevron-right",
|
||||
@@ -779,11 +774,11 @@
|
||||
"nav-0-btn-1",
|
||||
"nav-0-btn-2",
|
||||
"nav-nav-0",
|
||||
"nav-panel-1cf9fa6c1b8db897289f1e58eca1ed2b",
|
||||
"nav-panel-2112fcf4fa7219518b7b70498969a79b",
|
||||
"nav-panel-2c61c8fd2a96d840748e5d5aa5e6ab20",
|
||||
"nav-panel-94a8f41d03ff238aa65acebc1b274df7",
|
||||
"nav-panel-dd79f20dce01073bc4b064a98deaff96",
|
||||
"nav-panel-16b2a928aac4d339268b91e7c4518650",
|
||||
"nav-panel-53a3afd31606a7ac6129f64a344975d9",
|
||||
"nav-panel-5e667cc0c5d40eda2b54232cea073408",
|
||||
"nav-panel-8e22977c44c99705a2905fe080b12e3b",
|
||||
"nav-panel-e01b3819797b6cc28a2cca7981f9df7f",
|
||||
"navbar",
|
||||
"navbar-0-collapse",
|
||||
"navbar-mode",
|
||||
@@ -792,36 +787,36 @@
|
||||
"navigation",
|
||||
"notification",
|
||||
"overview",
|
||||
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-0",
|
||||
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-1",
|
||||
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-2",
|
||||
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-btn-0",
|
||||
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-btn-1",
|
||||
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-btn-2",
|
||||
"panel-2112fcf4fa7219518b7b70498969a79b-0",
|
||||
"panel-2112fcf4fa7219518b7b70498969a79b-1",
|
||||
"panel-2112fcf4fa7219518b7b70498969a79b-2",
|
||||
"panel-2112fcf4fa7219518b7b70498969a79b-btn-0",
|
||||
"panel-2112fcf4fa7219518b7b70498969a79b-btn-1",
|
||||
"panel-2112fcf4fa7219518b7b70498969a79b-btn-2",
|
||||
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-0",
|
||||
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-1",
|
||||
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-2",
|
||||
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-btn-0",
|
||||
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-btn-1",
|
||||
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-btn-2",
|
||||
"panel-94a8f41d03ff238aa65acebc1b274df7-0",
|
||||
"panel-94a8f41d03ff238aa65acebc1b274df7-1",
|
||||
"panel-94a8f41d03ff238aa65acebc1b274df7-2",
|
||||
"panel-94a8f41d03ff238aa65acebc1b274df7-btn-0",
|
||||
"panel-94a8f41d03ff238aa65acebc1b274df7-btn-1",
|
||||
"panel-94a8f41d03ff238aa65acebc1b274df7-btn-2",
|
||||
"panel-dd79f20dce01073bc4b064a98deaff96-0",
|
||||
"panel-dd79f20dce01073bc4b064a98deaff96-1",
|
||||
"panel-dd79f20dce01073bc4b064a98deaff96-2",
|
||||
"panel-dd79f20dce01073bc4b064a98deaff96-btn-0",
|
||||
"panel-dd79f20dce01073bc4b064a98deaff96-btn-1",
|
||||
"panel-dd79f20dce01073bc4b064a98deaff96-btn-2",
|
||||
"panel-16b2a928aac4d339268b91e7c4518650-0",
|
||||
"panel-16b2a928aac4d339268b91e7c4518650-1",
|
||||
"panel-16b2a928aac4d339268b91e7c4518650-2",
|
||||
"panel-16b2a928aac4d339268b91e7c4518650-btn-0",
|
||||
"panel-16b2a928aac4d339268b91e7c4518650-btn-1",
|
||||
"panel-16b2a928aac4d339268b91e7c4518650-btn-2",
|
||||
"panel-53a3afd31606a7ac6129f64a344975d9-0",
|
||||
"panel-53a3afd31606a7ac6129f64a344975d9-1",
|
||||
"panel-53a3afd31606a7ac6129f64a344975d9-2",
|
||||
"panel-53a3afd31606a7ac6129f64a344975d9-btn-0",
|
||||
"panel-53a3afd31606a7ac6129f64a344975d9-btn-1",
|
||||
"panel-53a3afd31606a7ac6129f64a344975d9-btn-2",
|
||||
"panel-5e667cc0c5d40eda2b54232cea073408-0",
|
||||
"panel-5e667cc0c5d40eda2b54232cea073408-1",
|
||||
"panel-5e667cc0c5d40eda2b54232cea073408-2",
|
||||
"panel-5e667cc0c5d40eda2b54232cea073408-btn-0",
|
||||
"panel-5e667cc0c5d40eda2b54232cea073408-btn-1",
|
||||
"panel-5e667cc0c5d40eda2b54232cea073408-btn-2",
|
||||
"panel-8e22977c44c99705a2905fe080b12e3b-0",
|
||||
"panel-8e22977c44c99705a2905fe080b12e3b-1",
|
||||
"panel-8e22977c44c99705a2905fe080b12e3b-2",
|
||||
"panel-8e22977c44c99705a2905fe080b12e3b-btn-0",
|
||||
"panel-8e22977c44c99705a2905fe080b12e3b-btn-1",
|
||||
"panel-8e22977c44c99705a2905fe080b12e3b-btn-2",
|
||||
"panel-e01b3819797b6cc28a2cca7981f9df7f-0",
|
||||
"panel-e01b3819797b6cc28a2cca7981f9df7f-1",
|
||||
"panel-e01b3819797b6cc28a2cca7981f9df7f-2",
|
||||
"panel-e01b3819797b6cc28a2cca7981f9df7f-btn-0",
|
||||
"panel-e01b3819797b6cc28a2cca7981f9df7f-btn-1",
|
||||
"panel-e01b3819797b6cc28a2cca7981f9df7f-btn-2",
|
||||
"persona",
|
||||
"pie-chart",
|
||||
"pills",
|
||||
|
6
go.mod
6
go.mod
@@ -3,7 +3,7 @@ module github.com/gethinode/hinode
|
||||
go 1.19
|
||||
|
||||
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.4 // indirect
|
||||
github.com/gethinode/mod-bootstrap v1.3.4 // indirect
|
||||
github.com/gethinode/mod-csp v1.0.8 // indirect
|
||||
@@ -15,7 +15,7 @@ require (
|
||||
github.com/gethinode/mod-lottie v1.6.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-utils/v4 v4.13.0 // indirect
|
||||
github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a // indirect
|
||||
github.com/gethinode/mod-utils/v4 v4.14.0 // indirect
|
||||
github.com/nextapps-de/flexsearch v0.0.0-20250907103239-defb38b083f0 // indirect
|
||||
github.com/twbs/bootstrap v5.3.8+incompatible // indirect
|
||||
)
|
||||
|
8
go.sum
8
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/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/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
|
||||
github.com/cloudcannon/bookshop/hugo/v3 v3.16.0 h1:Fb76ABHqTyPl9Z2QqYJCwiMBKPyShOe1EnZxXzW3RVo=
|
||||
@@ -502,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.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.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/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
|
||||
github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 h1:re7L8FxbXQpnX8BgzkdUnDpsUmloGNyLmiy2ZCln8pg=
|
||||
@@ -524,6 +528,10 @@ 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-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-20250901122457-99cddafcdc64 h1:8gn/7ZfERwknYk63DskhEfkwwpoXubGrzLv5LuSq6hc=
|
||||
github.com/nextapps-de/flexsearch v0.0.0-20250901122457-99cddafcdc64/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
|
||||
github.com/nextapps-de/flexsearch v0.0.0-20250907103239-defb38b083f0 h1:55phPhe6fDjfjG0jX4+br3nLORKgjgx8abZUdI0YJRA=
|
||||
github.com/nextapps-de/flexsearch v0.0.0-20250907103239-defb38b083f0/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
|
||||
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.3+incompatible h1:goFoqinzdHfkeegpFP7pvhbd0g+A3O2hbU3XCjuNrEQ=
|
||||
|
@@ -7,45 +7,45 @@
|
||||
{{ $error := false }}
|
||||
|
||||
{{/* Initialize arguments */}}
|
||||
{{ $args := partial "utilities/InitArgs.html" (dict "structure" "featured-illustration" "args" . "group" "partial") }}
|
||||
{{ if or $args.err $args.warnmsg }}
|
||||
{{ partial (cond $args.err "utilities/LogErr.html" "utilities/LogWarn.html") (dict
|
||||
{{- $args := partial "utilities/InitArgs.html" (dict "structure" "featured-illustration" "args" . "group" "partial") -}}
|
||||
{{- if or $args.err $args.warnmsg -}}
|
||||
{{- partial (cond $args.err "utilities/LogErr.html" "utilities/LogWarn.html") (dict
|
||||
"partial" "assets/featured-illustration.html"
|
||||
"warnid" "warn-invalid-arguments"
|
||||
"msg" "Invalid arguments"
|
||||
"details" ($args.errmsg | append $args.warnmsg)
|
||||
"file" page.File
|
||||
)}}
|
||||
{{ $error = $args.err }}
|
||||
{{ end }}
|
||||
) -}}
|
||||
{{- $error = $args.err -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/* Initialize local arguments */}}
|
||||
|
||||
{{ $icon := partial "utilities/GetTargetPath.html" (dict "path" $args.icon "page" $args.page) }}
|
||||
{{ $image := partial "utilities/GetTargetPath.html" (dict "path" $args.image "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) -}}
|
||||
{{- $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 -}}
|
||||
|
||||
{{ if $icon }}
|
||||
{{ if eq (lower (path.Ext $icon)) ".json" }}
|
||||
{{ if site.Params.env_bookshop_live }}
|
||||
{{- if $icon -}}
|
||||
{{- if eq (lower (path.Ext $icon)) ".json" -}}
|
||||
{{- if site.Params.env_bookshop_live }}
|
||||
<i>Animation preview not supported</i>
|
||||
{{ else }}
|
||||
{{ partial "assets/animation.html" (dict
|
||||
{{- else }}
|
||||
{{- partial "assets/animation.html" (dict
|
||||
"data" $icon
|
||||
"mode" $args.mode
|
||||
"loop" false
|
||||
"hover" true
|
||||
"class" "col-6 mx-auto text-center"
|
||||
) }}
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
{{ partial "assets/icon.html" (dict "icon" $icon "wrapper" $wrapper) }}
|
||||
{{ end }}
|
||||
{{ else if $image }}
|
||||
{{ if not (hasSuffix $image "svg") }}{{ $class = printf "%s rounded" $class }}{{ end }}
|
||||
{{ partial "assets/live-image.html" (dict
|
||||
) -}}
|
||||
{{- end -}}
|
||||
{{- else }}
|
||||
{{ partial "assets/icon.html" (dict "icon" $icon "wrapper" $wrapper) -}}
|
||||
{{- end -}}
|
||||
{{- else if $image -}}
|
||||
{{- if not (hasSuffix $image "svg") }}{{ $class = printf "%s rounded" $class }}{{ end -}}
|
||||
{{- partial "assets/live-image.html" (dict
|
||||
"src" $image
|
||||
"anchor" $args.anchor
|
||||
"ratio" $args.ratio
|
||||
@@ -55,5 +55,5 @@
|
||||
"sizes" $args.sizes
|
||||
"priority" "high"
|
||||
"mode" $args.mode
|
||||
) }}
|
||||
{{ end }}
|
||||
) -}}
|
||||
{{- end -}}
|
||||
|
@@ -35,7 +35,7 @@
|
||||
{{- $isActive := or (and (eq $pageURL $menuURL) (ne $menuURL ("/" | relLangURL))) (eq $pageURL $menuURL) -}}
|
||||
{{ if not $menu.PageRef }}{{ $isActive = false }}{{ end }}
|
||||
{{- $isAlias := $menu.Params.alias -}}
|
||||
{{- $isIcon := $menu.Params.icon -}}
|
||||
{{- $isIcon := or $menu.Params.icon $menu.Pre -}}
|
||||
|
||||
{{- $url := urls.Parse $menuURL -}}
|
||||
{{- $baseURL := urls.Parse $.Site.Params.Baseurl -}}
|
||||
@@ -112,13 +112,13 @@
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
<span class="{{ if $isActive }}active{{ end }} {{ with $args.breakpoint }}d-{{ . }}-none {{ end }}">
|
||||
{{ $title }}
|
||||
{{- if $isIcon }} {{ end }}{{ $title }}
|
||||
{{- with $menu.Post }}{{ . }}{{ end -}}
|
||||
{{- with $suffix }} {{ . }}{{ end -}}
|
||||
</span>
|
||||
{{ if not $isIcon }}
|
||||
<span class="{{ if $isActive }}active{{ end }} {{ with $args.breakpoint }}d-none d-{{ . }}-block{{ end }}">
|
||||
{{ $title }}
|
||||
{{- if $isIcon }} {{ end }}{{ $title }}
|
||||
{{- with $menu.Post }}{{ . }}{{ end -}}
|
||||
{{- with $suffix }} {{ . }}{{ end -}}
|
||||
</span>
|
||||
|
@@ -11,7 +11,7 @@
|
||||
{{ if $menu.Params.spacing }}
|
||||
<li class="nav-item flex-grow-1"></li>
|
||||
{{ else }}
|
||||
<li class="nav-item {{ if .HasChildren }} dropdown{{ if $horizontal }} dropdown-horizontal-{{ $breakpoint }}{{ end }}{{ end }}">
|
||||
<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 }}">
|
||||
|
@@ -145,7 +145,7 @@
|
||||
<div class="navbar-collapse collapse" id="{{ $id }}-collapse">
|
||||
{{/* Insert search input */}}
|
||||
{{- 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 -}}
|
||||
|
||||
<ul class="navbar-nav navbar-nav-scroll {{ if $flex }}d-flex w-100{{ else }}ms-auto{{ end }}">
|
||||
|
10
package-lock.json
generated
10
package-lock.json
generated
@@ -13,7 +13,7 @@
|
||||
"autoprefixer": "^10.4.21",
|
||||
"cssnano": "^7.1.1",
|
||||
"cssnano-preset-advanced": "^7.0.9",
|
||||
"hugo-bin": "0.145.2",
|
||||
"hugo-bin": "0.146.1",
|
||||
"purgecss-whitelister": "^2.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
@@ -7237,9 +7237,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/hugo-bin": {
|
||||
"version": "0.145.2",
|
||||
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.145.2.tgz",
|
||||
"integrity": "sha512-iI4HutM+45/xdNU8XW/mhV0QWwzuuzVzKQ0fhGZIh1e5QkqWvRGhRjE0UARUSU8pygGgkJalVJgNVIGL/lkZ9g==",
|
||||
"version": "0.146.1",
|
||||
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.146.1.tgz",
|
||||
"integrity": "sha512-b5ETmUIWDaFxQU3FJ+h5fQCC18/09dSQj9hKVGgG2kbctNzILX9HfaKPYEPK47El64VTQiAhKpeGtq/Ndp/6/g==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "github",
|
||||
@@ -7249,7 +7249,7 @@
|
||||
"hasInstallScript": true,
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@xhmikosr/bin-wrapper": "^13.1.0",
|
||||
"@xhmikosr/bin-wrapper": "^13.2.0",
|
||||
"package-config": "^5.0.0"
|
||||
},
|
||||
"bin": {
|
||||
|
@@ -75,7 +75,7 @@
|
||||
"autoprefixer": "^10.4.21",
|
||||
"cssnano": "^7.1.1",
|
||||
"cssnano-preset-advanced": "^7.0.9",
|
||||
"hugo-bin": "0.145.2",
|
||||
"hugo-bin": "0.146.1",
|
||||
"purgecss-whitelister": "^2.4.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
Reference in New Issue
Block a user