Compare commits

...

68 Commits

Author SHA1 Message Date
Mark Dumay
1c4287a3ed Merge pull request #735 from gethinode/develop
Add support for card group data
2024-01-27 12:26:50 +01:00
Mark Dumay
354fa85f38 Fix alignment of features 2024-01-27 11:40:42 +01:00
Mark Dumay
78fb0760f3 Merge branch 'main' into develop 2024-01-27 11:33:14 +01:00
Mark Dumay
dfdda4d27f Bump package release 2024-01-27 11:32:34 +01:00
Mark Dumay
6d8f90bdce Add support for card group data 2024-01-27 11:32:24 +01:00
Mark Dumay
3e531da29c Add support for card group data 2024-01-27 11:31:53 +01:00
Mark Dumay
6065ebb6b4 Fix card-group args 2024-01-27 10:11:15 +01:00
Mark Dumay
75373935f1 Merge pull request #734 from gethinode/develop
Extend card style configuration
2024-01-27 09:59:27 +01:00
Mark Dumay
1d5784a4d1 Merge branch 'main' into develop 2024-01-27 07:28:33 +01:00
Mark Dumay
5df94ffe33 Extend card-group args 2024-01-27 07:26:17 +01:00
Mark Dumay
6aeaa8812a Bump package release 2024-01-27 07:15:19 +01:00
Mark Dumay
b1f8044e02 Update build stats 2024-01-27 07:15:09 +01:00
Mark Dumay
09fc0991bd Extend card args 2024-01-27 07:15:00 +01:00
Mark Dumay
a7b70efef0 Merge pull request #732 from gethinode/develop
Support navbar overlay
2024-01-24 11:12:35 +01:00
Mark Dumay
4c3df8e769 Update build stats 2024-01-24 11:03:38 +01:00
Mark Dumay
15418f7bdc Merge branch 'main' into develop 2024-01-24 11:01:33 +01:00
Mark Dumay
0a2bc468e5 Support navbar overlay 2024-01-24 11:00:34 +01:00
Mark Dumay
df8bcff315 Merge pull request #731 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-01-24 07:30:26 +01:00
markdumay
56e992ba7a fix: update Hugo module dependencies 2024-01-24 06:18:08 +00:00
Mark Dumay
e7a6582229 Merge pull request #730 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-01-23 17:15:53 +01:00
markdumay
02946a9c9b fix: update Hugo module dependencies 2024-01-23 16:08:07 +00:00
Mark Dumay
a5ca5fcff1 Bump package release 2024-01-23 17:06:26 +01:00
Mark Dumay
b412c03b72 Bump package release 2024-01-23 17:06:08 +01:00
Mark Dumay
22678d4ecc Merge pull request #729 from gethinode/develop
Correct list view content on smaller screens
2024-01-23 17:04:44 +01:00
Mark Dumay
d84099e41f Merge branch 'main' into develop 2024-01-23 16:47:54 +01:00
Mark Dumay
853aac57a6 Fixes #728 2024-01-23 16:46:47 +01:00
Mark Dumay
a5bddcb033 Merge pull request #725 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-01-23 11:57:00 +01:00
markdumay
3a7178166f fix: update Hugo module dependencies 2024-01-23 03:17:22 +00:00
Mark Dumay
3f89bfb444 Merge pull request #726 from gethinode/develop
Fix init of fixed navigation parameter
2024-01-22 07:19:53 +01:00
Mark Dumay
e5ba3a94a4 Merge branch 'main' into develop 2024-01-22 06:44:57 +01:00
Mark Dumay
dc7af61a3a Fix init of fixed navigation parameter 2024-01-22 06:43:16 +01:00
Mark Dumay
da560a0275 Merge pull request #724 from gethinode/develop
Bump package release
2024-01-19 07:49:03 +01:00
Mark Dumay
41cf694792 Merge branch 'main' into develop 2024-01-19 07:42:18 +01:00
Mark Dumay
59f42c0dbd Merge pull request #723 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-01-19 07:39:54 +01:00
markdumay
b2302e2e9f fix: update Hugo module dependencies 2024-01-19 06:32:17 +00:00
Mark Dumay
8e6c0f8ade Bump package release 2024-01-19 07:31:06 +01:00
github-actions[bot]
ba92505daa Merge pull request #720 from gethinode/dependabot/npm_and_yarn/markdownlint-cli2-0.12.1
Bump markdownlint-cli2 from 0.11.0 to 0.12.1
2024-01-19 06:30:05 +00:00
Mark Dumay
e6e93888f6 Merge branch 'main' into dependabot/npm_and_yarn/markdownlint-cli2-0.12.1 2024-01-19 07:23:28 +01:00
Mark Dumay
e92598dc5b Merge pull request #722 from gethinode/develop
Disable table validation
2024-01-19 07:23:18 +01:00
Mark Dumay
697c6a1aae Fix #719 2024-01-19 07:16:11 +01:00
Mark Dumay
2487001b0d Merge branch 'main' into develop 2024-01-19 05:39:11 +01:00
Mark Dumay
7cd722bcc2 Disable table validation 2024-01-19 05:38:40 +01:00
dependabot[bot]
e0b7d7c3bb Bump markdownlint-cli2 from 0.11.0 to 0.12.1
Bumps [markdownlint-cli2](https://github.com/DavidAnson/markdownlint-cli2) from 0.11.0 to 0.12.1.
- [Changelog](https://github.com/DavidAnson/markdownlint-cli2/blob/main/CHANGELOG.md)
- [Commits](https://github.com/DavidAnson/markdownlint-cli2/compare/v0.11.0...v0.12.1)

---
updated-dependencies:
- dependency-name: markdownlint-cli2
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 13:25:47 +00:00
github-actions[bot]
23470b705d Merge pull request #721 from gethinode/dependabot/npm_and_yarn/autoprefixer-10.4.17
Bump autoprefixer from 10.4.16 to 10.4.17
2024-01-18 13:25:02 +00:00
dependabot[bot]
70a624a9f3 Bump autoprefixer from 10.4.16 to 10.4.17
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.16 to 10.4.17.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.16...10.4.17)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-18 13:18:06 +00:00
Mark Dumay
bce38385ab Merge pull request #717 from gethinode/develop
Bump package release
2024-01-09 17:06:13 +01:00
mark
8848b126ca Bump package release 2024-01-09 16:45:48 +01:00
Mark Dumay
45a90fbe9d Merge pull request #716 from gethinode/main
Sync with main
2024-01-09 16:42:38 +01:00
Mark Dumay
d2929bf776 Merge pull request #715 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2024-01-09 15:58:59 +01:00
markdumay
3bab1c1250 fix: update Hugo module dependencies 2024-01-09 14:51:46 +00:00
github-actions[bot]
e59d4696da Merge pull request #714 from gethinode/dependabot/npm_and_yarn/eslint-plugin-n-16.6.2
Bump eslint-plugin-n from 16.6.1 to 16.6.2
2024-01-09 14:50:03 +00:00
dependabot[bot]
f44f74f34c Bump eslint-plugin-n from 16.6.1 to 16.6.2
Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) from 16.6.1 to 16.6.2.
- [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases)
- [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/16.6.1...16.6.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-n
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-09 13:47:03 +00:00
Mark Dumay
22474722ad Merge pull request #713 from gethinode/validation
Bump dependencies
2024-01-08 16:39:34 +01:00
Mark Dumay
99df503a90 Merge branch 'main' into validation 2024-01-08 15:21:59 +01:00
mark
0df055db8c Bump GitHub actions 2024-01-08 15:20:50 +01:00
github-actions[bot]
f73936d056 Merge pull request #712 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.118.1
Bump hugo-bin from 0.118.0 to 0.118.1
2024-01-08 13:28:24 +00:00
dependabot[bot]
e1c976e09a Bump hugo-bin from 0.118.0 to 0.118.1
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.118.0 to 0.118.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.118.0...v0.118.1)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 13:21:54 +00:00
Mark Dumay
21579f7a40 Merge pull request #710 from aefly/french-translation
Update `fr.yaml`
2024-01-06 10:10:51 +01:00
aefly
693882aff1 Update fr.yaml 2024-01-06 08:45:20 +01:00
mark
6b42ed0845 Bump DART_SASS_VERSION 2024-01-06 07:24:52 +01:00
Mark Dumay
ed9373bc7e Merge pull request #709 from gethinode/validation
Fix breakpoint-specific responsive behavior of tables
2024-01-06 06:34:53 +01:00
mark
0d2f5cc553 Fix linting issue 2024-01-06 06:24:29 +01:00
mark
12f6e9e552 Update build stats 2024-01-06 06:23:39 +01:00
mark
999c7a8fff Add table shortcode example 2024-01-06 06:23:28 +01:00
Mark Dumay
a5494f4681 Merge branch 'main' into validation 2024-01-06 06:11:02 +01:00
mark
404a5500df Bump package release 2024-01-06 06:09:46 +01:00
mark
4442833c1b Fix breakpoint-specific responsive behavior 2024-01-06 06:09:22 +01:00
mark
4cb800d485 Refine comments 2024-01-06 05:57:34 +01:00
36 changed files with 343 additions and 159 deletions

View File

@@ -20,10 +20,10 @@ jobs:
steps: steps:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Set up Node.js - name: Set up Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: lts/* node-version: lts/*
cache: 'npm' cache: 'npm'
@@ -49,10 +49,10 @@ jobs:
steps: steps:
- name: Check out repository - name: Check out repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Set up Node.js ${{ matrix.node-version }} - name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'

View File

@@ -14,10 +14,10 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: lts/* node-version: lts/*
cache: 'npm' cache: 'npm'

View File

@@ -21,10 +21,10 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Setup .npmrc file to publish to npm - name: Setup .npmrc file to publish to npm
uses: actions/setup-node@v3 uses: actions/setup-node@v4
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
registry-url: ${{ env.REGISTRY_URL }} registry-url: ${{ env.REGISTRY_URL }}

View File

@@ -6,7 +6,9 @@
"MD026": false, "MD026": false,
"MD034": false, "MD034": false,
"MD051": false, "MD051": false,
"MD053": false "MD053": false,
"MD055": false,
"MD056": false
}, },
"ignores": ["node_modules", "CHANGELOG.md"] "ignores": ["node_modules", "CHANGELOG.md"]
} }

View File

@@ -1,8 +1,14 @@
const navbar = document.querySelector('.navbar') const navbar = document.querySelector('.navbar')
const togglers = document.querySelectorAll('.main-nav-toggler') const togglers = document.querySelectorAll('.main-nav-toggler')
const modeSelectors = document.querySelectorAll('.switch-mode-collapsed') const modeSelectors = document.querySelectorAll('.switch-mode-collapsed')
const colorsBG = ['body', 'secondary', 'tertiary']
if (navbar !== null && togglers !== null) { if (navbar !== null && togglers !== null) {
// initialize background color
const color = (navbar.getAttribute('data-navbar-color') || 'body')
const bg = colorsBG.includes(color) ? `var(--bs-${color}-bg)` : `var(--bs-navbar-color-${color})`
navbar.style.setProperty('--bs-navbar-expanded-color', bg)
// set the navbar background color to opaque when scrolling past a breakpoint // set the navbar background color to opaque when scrolling past a breakpoint
window.onscroll = () => { window.onscroll = () => {
if (window.scrollY > 75) { if (window.scrollY > 75) {

View File

@@ -22,13 +22,13 @@ a:active {
} }
.fullscreen { .fullscreen {
--navbar-offset: #{$navbar-offset}; --overlay-offset: #{$overlay-offset};
min-height: calc(100vh - var(--navbar-offset)); min-height: calc(100vh - var(--overlay-offset));
} }
.main-content { .main-content {
margin-top: $navbar-offset; margin-top: $overlay-offset;
} }
$utilities: map-merge( $utilities: map-merge(

View File

@@ -20,6 +20,7 @@ strong {
$navbar-height: h.$navbar-height; $navbar-height: h.$navbar-height;
$navbar-offset: h.$navbar-offset; $navbar-offset: h.$navbar-offset;
$overlay-offset: h.$overlay-offset;
$primary: h.$primary; $primary: h.$primary;
$secondary: h.$secondary; $secondary: h.$secondary;
$success: h.$success; $success: h.$success;

View File

@@ -19,3 +19,11 @@
-webkit-transform: scaleX(-1); -webkit-transform: scaleX(-1);
transform: scaleX(-1); transform: scaleX(-1);
} }
.background-img {
--overlay-offset: #{$overlay-offset};
height: calc(100vh - var(--overlay-offset));
width: 100vw;
object-fit: cover;
}

View File

@@ -2,13 +2,20 @@
// Source: https://jsfiddle.net/njhgr40m/ // Source: https://jsfiddle.net/njhgr40m/
.navbar { .navbar {
--bs-navbar-expanded-color: var(--bs-body-bg);
transition: 0.5s ease-in-out; transition: 0.5s ease-in-out;
background-color: transparent; background-color: transparent;
@each $state, $val in $theme-colors {
--bs-navbar-color-#{$state}: #{$val};
}
} }
.nav-active, .navbar-expanded { .nav-active, .navbar-expanded {
background-color: var(--bs-body-bg); background-color: var(--bs-navbar-expanded-color);
} }
.nav-link { .nav-link {
@@ -31,6 +38,30 @@
box-shadow: $box-shadow-sm; box-shadow: $box-shadow-sm;
} }
.navbar-overlay-dark {
--bs-navbar-color: #{$navbar-dark-color};
--bs-navbar-hover-color: #{$navbar-dark-hover-color};
--bs-navbar-disabled-color: #{$navbar-dark-disabled-color};
--bs-navbar-active-color: #{$navbar-dark-active-color};
--bs-navbar-brand-color: #{$navbar-dark-brand-color};
--bs-navbar-brand-hover-color: #{$navbar-dark-brand-hover-color};
--bs-navbar-toggler-border-color: #{$navbar-dark-toggler-border-color};
}
.navbar-overlay-light, .navbar-overlay-dark.nav-active, .navbar-overlay-dark.navbar-expanded {
--bs-navbar-color: #{$navbar-light-color};
--bs-navbar-hover-color: #{$navbar-light-hover-color};
--bs-navbar-disabled-color: #{$navbar-light-disabled-color};
--bs-navbar-active-color: #{$navbar-light-active-color};
--bs-navbar-brand-color: #{$navbar-light-brand-color};
--bs-navbar-brand-hover-color: #{$navbar-light-brand-hover-color};
--bs-navbar-toggler-border-color: #{$navbar-light-toggler-border-color};
}
.nav-item .vr {
color: var(--bs-navbar-color);
}
/* 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);

View File

@@ -63,6 +63,8 @@
logo = "/img/logo_icon.svg" logo = "/img/logo_icon.svg"
color = "body" color = "body"
fixed = true fixed = true
overlay = false
overlayMode = "dark"
horizontal = false horizontal = false
offset = "5.5rem" offset = "5.5rem"
search = true search = true

View File

@@ -27,10 +27,11 @@ arguments:
release: v0.19.0 release: v0.19.0
list: list:
type: type:
- page.Pages - 'page.Pages'
- resource.Resources - 'resource.Resources'
- '[]map[string]interface {}'
optional: true optional: true
comment: Array of pages to be rendered as cards. comment: Array of pages or structured content to be rendered as cards.
group: partial group: partial
cards: cards:
type: string type: string

View File

@@ -157,19 +157,42 @@ arguments:
optional: true optional: true
comment: >- comment: >-
Font Awesome icon, displayed on top or the left of the card. Font Awesome icon, displayed on top or the left of the card.
align:
type: select
parent: cascade
optional: true
default: start
release: v0.23.0-alpha2
comment: Icon alignment.
options:
values:
- start
- end
- center
style:
type: string
parent: cascade
optional: true
release: v0.23.0-alpha2
comment: Icon style.
orientation: orientation:
type: select type: select
optional: true optional: true
default: stacked default: stacked
parent: cascade parent: cascade
comment: >- comment: Placement of the thumbnail or icon.
Placement of the thumbnail or icon.
options: options:
values: values:
- stacked - stacked
- horizontal - horizontal
- horizontal-sm - horizontal-sm
- none - none
subtle:
type: bool
parent: cascade
optional: true
release: v0.23.0-alpha2
comment: Apply subtle background colors.
body: body:
optional: true optional: true
comment: >- comment: >-

View File

@@ -100,6 +100,26 @@ arguments:
default: false default: false
comment: Flag to indicate the navbar should stick to the top. comment: Flag to indicate the navbar should stick to the top.
group: partial group: partial
overlay:
type: bool
optional: true
default: false
comment: >-
Flag to indicate if the navbar should render as an overlay on the current
page.
group: partial
release: v0.22.6
overlayMode:
type: select
optional: true
default: dark
comment: Color mode of the overlay.
options:
values:
- light
- dark
group: partial
release: v0.23.0
logo: logo:
type: path type: path
optional: true optional: true

View File

@@ -23,7 +23,7 @@ arguments:
class: class:
type: string type: string
optional: true optional: true
comment: Class attribute of the table element, e.g. table-striped-columns w-auto. comment: Class attribute of the table element, e.g. `table-striped-columns w-auto`.
body: body:
type: string type: string
optional: false optional: false

View File

@@ -52,6 +52,8 @@
logo = "/img/logo_icon.svg" logo = "/img/logo_icon.svg"
color = "body" color = "body"
fixed = true fixed = true
overlay = false
overlayMode = "dark"
horizontal = false horizontal = false
offset = "5.5rem" offset = "5.5rem"
search = true search = true

View File

@@ -8,7 +8,7 @@ showComments: false
{{< image src="/img/logo_var.svg#logo" class="img-fluid w-50" wrapper="text-center" >}} {{< image src="/img/logo_var.svg#logo" class="img-fluid w-50" wrapper="text-center" >}}
{{< card-group class="text-center border-0" padding="3" >}} {{< card-group align="center" class="border-0" padding="3" >}}
{{< card title="Bootstrap framework" icon="fab bootstrap" >}} {{< card title="Bootstrap framework" icon="fab bootstrap" >}}
Build fast, responsive sites with Bootstrap 5. Easily customize your site with the source Sass files. Build fast, responsive sites with Bootstrap 5. Easily customize your site with the source Sass files.
{{< /card >}} {{< /card >}}

View File

@@ -404,6 +404,22 @@ As an example, the following shortcode displays superscript text.
{{< /example >}} {{< /example >}}
<!-- markdownlint-enable MD037 --> <!-- markdownlint-enable MD037 -->
## Table
As an example, the following shortcode displays a responsive table.
<!-- markdownlint-disable MD037 -->
{{< example lang="markdown" >}}
{{</* table */>}}
| # | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading | Heading |
|----|---------|---------|---------|---------|---------|---------|---------|---------|---------|
| 1. | cell | cel | cel | cel | cel | cel | cel | cel | cel |
| 2. | cell | cel | cel | cel | cel | cel | cel | cel | cel |
| 3. | cell | cel | cel | cel | cel | cel | cel | cel | cel |
{{</* /table */>}}
{{< /example >}}
<!-- markdownlint-enable MD037 -->
## Timeline ## Timeline
As an example, the following shortcode displays a timeline with the file `data/timeline.en.yml` as data. As an example, the following shortcode displays a timeline with the file `data/timeline.en.yml` as data.

View File

@@ -9,7 +9,7 @@ showComments: false
{{< image src="/img/logo_var.svg#logo" class="img-fluid w-50" wrapper="text-center" >}} {{< image src="/img/logo_var.svg#logo" class="img-fluid w-50" wrapper="text-center" >}}
{{< card-group class="text-center border-0" padding="3" >}} {{< card-group align="center" class="border-0" padding="3" >}}
{{< card title="Framework Bootstrap" icon="fab bootstrap" >}} {{< card title="Framework Bootstrap" icon="fab bootstrap" >}}
Créez des sites rapides et réactifs avec Bootstrap 5. Personnalisez facilement votre site avec les fichiers source Sass. Créez des sites rapides et réactifs avec Bootstrap 5. Personnalisez facilement votre site avec les fichiers source Sass.
{{< /card >}} {{< /card >}}

View File

@@ -10,7 +10,7 @@ showComments: false
{{< image src="/img/logo_var.svg#logo" class="img-fluid w-50" wrapper="text-center" >}} {{< image src="/img/logo_var.svg#logo" class="img-fluid w-50" wrapper="text-center" >}}
{{< card-group class="text-center border-0" padding="3" >}} {{< card-group align="center" class="border-0" padding="3" >}}
{{< card title="Bootstrap raamwerk" icon="fab bootstrap" >}} {{< card title="Bootstrap raamwerk" icon="fab bootstrap" >}}
Bouw snelle websites geschikt voor mobiele en desktop schermen met Bootstrap 5. Pas de site eenvoudig aan met bronbestanden in Sass. Bouw snelle websites geschikt voor mobiele en desktop schermen met Bootstrap 5. Pas de site eenvoudig aan met bronbestanden in Sass.
{{< /card >}} {{< /card >}}

View File

@@ -26,7 +26,6 @@
"mark", "mark",
"meta", "meta",
"nav", "nav",
"nil",
"noscript", "noscript",
"ol", "ol",
"p", "p",
@@ -39,8 +38,14 @@
"sub", "sub",
"sup", "sup",
"svg", "svg",
"table",
"tbody",
"td",
"th",
"thead",
"time", "time",
"title", "title",
"tr",
"ul", "ul",
"use" "use"
], ],
@@ -57,6 +62,7 @@
"alert-dismissible", "alert-dismissible",
"align-items-center", "align-items-center",
"align-items-end", "align-items-end",
"align-items-start",
"align-middle", "align-middle",
"align-self-center", "align-self-center",
"align-self-end", "align-self-end",
@@ -120,13 +126,11 @@
"col-3", "col-3",
"col-4", "col-4",
"col-6", "col-6",
"col-8",
"col-9", "col-9",
"col-auto", "col-auto",
"col-lg-2", "col-lg-2",
"col-lg-4", "col-lg-4",
"col-lg-8", "col-lg-8",
"col-md-10",
"col-md-2", "col-md-2",
"col-md-3", "col-md-3",
"col-md-4", "col-md-4",
@@ -373,6 +377,8 @@
"syntax-highlight", "syntax-highlight",
"tab-content", "tab-content",
"tab-pane", "tab-pane",
"table",
"table-responsive",
"tag-link", "tag-link",
"text-bg-body", "text-bg-body",
"text-bg-body-tertiary", "text-bg-body-tertiary",
@@ -518,6 +524,7 @@
"spinner", "spinner",
"sub", "sub",
"sup", "sup",
"table",
"timeline", "timeline",
"toast", "toast",
"toast-container", "toast-container",

8
go.mod
View File

@@ -5,12 +5,12 @@ go 1.19
require ( require (
github.com/airbnb/lottie-web v5.12.2+incompatible // indirect github.com/airbnb/lottie-web v5.12.2+incompatible // indirect
github.com/gethinode/mod-bootstrap v1.2.2 // indirect github.com/gethinode/mod-bootstrap v1.2.2 // indirect
github.com/gethinode/mod-flexsearch v1.8.0 // indirect github.com/gethinode/mod-flexsearch v1.8.1 // indirect
github.com/gethinode/mod-fontawesome v1.8.0 // indirect github.com/gethinode/mod-fontawesome v1.8.0 // indirect
github.com/gethinode/mod-katex v1.0.5 // indirect github.com/gethinode/mod-katex v1.0.5 // indirect
github.com/gethinode/mod-leaflet v0.4.0 // indirect github.com/gethinode/mod-leaflet v0.4.0 // indirect
github.com/gethinode/mod-lottie v1.4.0 // indirect github.com/gethinode/mod-lottie v1.4.1 // indirect
github.com/gethinode/mod-utils v1.0.0 // indirect github.com/gethinode/mod-utils v1.0.3 // indirect
github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3 // indirect github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 // indirect
github.com/twbs/bootstrap v5.3.2+incompatible // indirect github.com/twbs/bootstrap v5.3.2+incompatible // indirect
) )

12
go.sum
View File

@@ -42,6 +42,8 @@ github.com/gethinode/mod-flexsearch v1.7.1 h1:f4rjKkhleDVzqwUmwP1xZdhjru5VQ9g0MR
github.com/gethinode/mod-flexsearch v1.7.1/go.mod h1:TXbGbWsvmhBdsTzRt887mcpFfr4ORpzG3+h/l4W3YM4= github.com/gethinode/mod-flexsearch v1.7.1/go.mod h1:TXbGbWsvmhBdsTzRt887mcpFfr4ORpzG3+h/l4W3YM4=
github.com/gethinode/mod-flexsearch v1.8.0 h1:rKu9ackmbGAD/CRJYUDUhy/3nDCEj0IgYDiL1bkwzDc= github.com/gethinode/mod-flexsearch v1.8.0 h1:rKu9ackmbGAD/CRJYUDUhy/3nDCEj0IgYDiL1bkwzDc=
github.com/gethinode/mod-flexsearch v1.8.0/go.mod h1:TXbGbWsvmhBdsTzRt887mcpFfr4ORpzG3+h/l4W3YM4= github.com/gethinode/mod-flexsearch v1.8.0/go.mod h1:TXbGbWsvmhBdsTzRt887mcpFfr4ORpzG3+h/l4W3YM4=
github.com/gethinode/mod-flexsearch v1.8.1 h1:xwPvmmxd8Tdyxp8/rnd9KRGqIDtZs/YwAQJ1i9oQMiM=
github.com/gethinode/mod-flexsearch v1.8.1/go.mod h1:L8hrnpupx27cez2ObMX8gWnhbW6qss4HGH1Ea4UaBRQ=
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=
@@ -114,9 +116,19 @@ github.com/gethinode/mod-lottie v1.3.0 h1:vQ8CXkjdp2IeFskTzu+ZnKOEio8GtN08urVK+o
github.com/gethinode/mod-lottie v1.3.0/go.mod h1:erRCgSL2FCfKHI0jQbSpM+g0jXl7SjKVJrh7kWGteKs= github.com/gethinode/mod-lottie v1.3.0/go.mod h1:erRCgSL2FCfKHI0jQbSpM+g0jXl7SjKVJrh7kWGteKs=
github.com/gethinode/mod-lottie v1.4.0 h1:0Ls1Q/8p0gQpuX9+dtfNGKcjBNeymjE7gERdnN3lCCE= github.com/gethinode/mod-lottie v1.4.0 h1:0Ls1Q/8p0gQpuX9+dtfNGKcjBNeymjE7gERdnN3lCCE=
github.com/gethinode/mod-lottie v1.4.0/go.mod h1:57eu6glS5oxkew2dB1P2zsbhw444aRX0XfuyDe7k/dk= github.com/gethinode/mod-lottie v1.4.0/go.mod h1:57eu6glS5oxkew2dB1P2zsbhw444aRX0XfuyDe7k/dk=
github.com/gethinode/mod-lottie v1.4.1 h1:RzCjYsxFPqyBsYAcdPeUP0rvF+hD9eEl7NrxuaRiKQQ=
github.com/gethinode/mod-lottie v1.4.1/go.mod h1:QjKlEmYbekrNGwa9EdFlPcXxwWWcraJUQ6xIL+syA60=
github.com/gethinode/mod-utils v1.0.0 h1:cqHm2xS5uDiJzRm1KfHaNbq6uMVDKLhQa8/BuTZ1nhY= github.com/gethinode/mod-utils v1.0.0 h1:cqHm2xS5uDiJzRm1KfHaNbq6uMVDKLhQa8/BuTZ1nhY=
github.com/gethinode/mod-utils v1.0.0/go.mod h1:ONJm3pHCq7nvaPNjusLZNCeCbhOhSBH4HVKHwK1FdYE= github.com/gethinode/mod-utils v1.0.0/go.mod h1:ONJm3pHCq7nvaPNjusLZNCeCbhOhSBH4HVKHwK1FdYE=
github.com/gethinode/mod-utils v1.0.1 h1:jhZGlGFHHL1f5HXbBMXfiZ2gCz4TVafAzjnRPTIBSEE=
github.com/gethinode/mod-utils v1.0.1/go.mod h1:ONJm3pHCq7nvaPNjusLZNCeCbhOhSBH4HVKHwK1FdYE=
github.com/gethinode/mod-utils v1.0.2 h1:0b3i+/bBHY1Td9N6khDbL1nf3d5HGc4QzI4BbEWHoU4=
github.com/gethinode/mod-utils v1.0.2/go.mod h1:ONJm3pHCq7nvaPNjusLZNCeCbhOhSBH4HVKHwK1FdYE=
github.com/gethinode/mod-utils v1.0.3 h1:FF6lnam0Bcdj7G1E5P+qi5ByPrl1npL+3uS5YoPx1C0=
github.com/gethinode/mod-utils v1.0.3/go.mod h1:ONJm3pHCq7nvaPNjusLZNCeCbhOhSBH4HVKHwK1FdYE=
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/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=

View File

@@ -136,14 +136,14 @@
# Arguments # Arguments
- id: name - id: name
translation: "Name" translation: "Nom"
- id: type - id: type
translation: "Type" translation: "Type"
- id: required - id: required
translation: "Required" translation: "Requis"
- id: default - id: default
translation: "Default" translation: "Défaut"
- id: comment - id: comment
translation: "Comment" translation: "Commentaire"
- id: supportedValues - id: supportedValues
translation: "Supported values" translation: "Valeurs supportées"

View File

@@ -70,7 +70,9 @@
<div class="d-flex flex-column {{ if $fullCover }} fullscreen{{ end }}{{ if .IsHome }} {{ .Site.Params.home.style }}{{ end }}"> <div class="d-flex flex-column {{ if $fullCover }} fullscreen{{ end }}{{ if .IsHome }} {{ .Site.Params.home.style }}{{ end }}">
{{- partial "assets/navbar.html" (dict {{- partial "assets/navbar.html" (dict
"page" . "page" .
"fixed" (string site.Params.navigation.fixed) "fixed" site.Params.navigation.fixed
"overlay" site.Params.navigation.overlay
"overlayMode" site.Params.navigation.overlayMode
"color" site.Params.navigation.color "color" site.Params.navigation.color
"style" (default "light" site.Params.navigation.style) "style" (default "light" site.Params.navigation.style)
"size" (default "md" site.Params.navigation.size)) "size" (default "md" site.Params.navigation.size))

View File

@@ -27,16 +27,21 @@
{{- $orientation := .orientation -}} {{- $orientation := .orientation -}}
{{- $ratio := .ratio -}} {{- $ratio := .ratio -}}
{{- $wrapper := .wrapper | default "p-0" -}} {{- $wrapper := .wrapper | default "p-0" -}}
{{- $style := .style -}}
{{- $align := .align -}}
{{- $subtle := .subtle }}
{{- $loading := .loading -}} {{- $loading := .loading -}}
<!-- Override arguments --> <!-- Override arguments -->
{{ $isPages := in (slice "page.Pages" "resource.Resources") (printf "%T" $pages) }}
{{ $paginator := "" }} {{ $paginator := "" }}
{{ if $paginate }} {{ if and $isPages $paginate }}
{{ $paginator = $page.Paginate $pages }} {{ $paginator = $page.Paginate $pages }}
{{ $pages = first $paginator.PageSize (after (mul (sub $paginator.PageNumber 1) $paginator.PageSize) $pages) }} {{ $pages = first $paginator.PageSize (after (mul (sub $paginator.PageNumber 1) $paginator.PageSize) $pages) }}
{{ end }} {{ end }}
{{ $list := slice }} {{ $list := slice }}
{{ if $isPages }}
{{ range $index, $element := $pages }} {{ range $index, $element := $pages }}
{{ $params := dict }} {{ $params := dict }}
<!-- regular page --> <!-- regular page -->
@@ -56,6 +61,9 @@
{{- $list = $list | append $params }} {{- $list = $list | append $params }}
{{ end }} {{ end }}
{{ else if $pages }}
{{ $list = $list | append $pages }}
{{ end }}
{{- $count := len $list -}} {{- $count := len $list -}}
{{- $max := $count -}} {{- $max := $count -}}
@@ -90,6 +98,9 @@
"orientation" $orientation "orientation" $orientation
"padding" $padding "padding" $padding
"ratio" $ratio "ratio" $ratio
"subtle" $subtle
"style" $style
"align" $align
) -}} ) -}}
{{- $params = merge $params $element }} {{- $params = merge $params $element }}
@@ -102,7 +113,7 @@
</div> </div>
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
{{- print $cards | safeHTML }} {{if $cards }}{{- print $cards | safeHTML }}{{ end }}
</div> </div>
{{ if $paginate }} {{ if $paginate }}

View File

@@ -19,12 +19,24 @@
{{- $header := .header | default "full" -}} {{- $header := .header | default "full" -}}
{{- $href := .href -}} {{- $href := .href -}}
{{- $icon := .icon -}} {{- $icon := .icon -}}
{{- $iconStyle := "" -}}
{{- $align := .align | default "start" -}}
{{- $style := .style | default "" -}}
{{- $loading := .loading -}} {{- $loading := .loading -}}
{{- $orientation := .orientation | default "stacked" -}} {{- $orientation := .orientation | default "stacked" -}}
{{- $padding := .padding | default "auto" -}} {{- $padding := .padding | default "auto" -}}
{{- $ratio := .ratio -}} {{- $ratio := .ratio -}}
{{- $thumbnail := .thumbnail -}} {{- $thumbnail := .thumbnail -}}
{{- $title := .title -}} {{- $title := .title -}}
{{- $subtle := .subtle -}}
{{- $colorStyle := "" -}}
{{ if $color }}
{{ if $subtle }}
{{- $colorStyle = printf "bg-%s-subtle text-%s-emphasis" $color $color -}}
{{ else }}
{{- $colorStyle = printf "bg-%s text-bg-%s" $color $color -}}
{{ end }}
{{ end }}
<!-- Override arguments --> <!-- Override arguments -->
{{- $page := "" }} {{- $page := "" }}
@@ -42,6 +54,13 @@
{{- if not $icon }}{{ $icon = .Params.icon }}{{ end -}} {{- if not $icon }}{{ $icon = .Params.icon }}{{ end -}}
{{- end -}} {{- end -}}
{{ if (hasPrefix $orientation "horizontal") }}
{{ if not $style }}{{ $style = "fa-fluid fa-fw" }}{{ end }}
{{ else }}
{{ if not $style }}{{ $style = "fa-4x" }}{{ end }}
{{- $iconStyle = "pb-3" -}}
{{ end }}
{{- if eq $orientation "none" }}{{ $thumbnail = "" }}{{ $icon = "" }}{{ end -}} {{- if eq $orientation "none" }}{{ $thumbnail = "" }}{{ $icon = "" }}{{ end -}}
<!-- Inline partial to render the card's body --> <!-- Inline partial to render the card's body -->
@@ -100,18 +119,18 @@
{{- if hasPrefix $orientation "horizontal" -}} {{- if hasPrefix $orientation "horizontal" -}}
<!-- Render horizontal card --> <!-- Render horizontal card -->
<div class="card {{ with $color }}bg-{{ . }} text-bg-{{ . }}{{ end }} {{ $class }}"> <div class="card {{ $colorStyle }} {{ $class }}">
<div class="row g-0 row-cols-1 h-100"> <div class="row g-0 row-cols-1 h-100">
<div class="col-4{{ if eq $orientation "horizontal-sm" }} col-md-2{{ end }}"> <div class="{{ if eq $orientation "horizontal-sm" }}col-2{{ else }}col-4{{ end }}">
{{- if $thumbnail -}} {{- if $thumbnail -}}
{{- partial "assets/image.html" (dict "url" $thumbnail "ratio" (or $ratio "1x1") "wrapper" "h-100 card-img-wrap" "class" "rounded-start card-img-h100" "title" $title "loading" $loading) -}} {{- partial "assets/image.html" (dict "url" $thumbnail "ratio" (or $ratio "1x1") "wrapper" "h-100 card-img-wrap" "class" "rounded-start card-img-h100" "title" $title "loading" $loading) -}}
{{- else if $icon -}} {{- else if $icon -}}
<div class="card-icon p-{{ $padding }} h-100 fa-wrapper d-flex align-items-center justify-content-center"> <div class="card-icon p-{{ $padding }} h-100 fa-wrapper d-flex align-items-{{ $align}} justify-content-center {{ $iconStyle }}">
{{- partial "assets/icon.html" (dict "icon" (printf "%s fa-fluid fa-fw" $icon)) -}} {{- partial "assets/icon.html" (dict "icon" (printf "%s %s" $icon $style)) -}}
</div> </div>
{{- end -}} {{- end -}}
</div> </div>
<div class="col-8{{ if eq $orientation "horizontal-sm" }} col-md-10{{ end }}"> <div class="{{ if eq $orientation "horizontal-sm" }}col-10{{ else }}col-8{{ end }}">
<div class="card-body d-flex p-{{ $padding }} flex-column h-100"> <div class="card-body d-flex p-{{ $padding }} flex-column h-100">
{{ if $page }}<div>{{ partial "card-caption.html" (dict "page" $page "keywords" $header "color" $color) }}</div>{{ end }} {{ if $page }}<div>{{ partial "card-caption.html" (dict "page" $page "keywords" $header "color" $color) }}</div>{{ end }}
<div class="h-100"> <div class="h-100">
@@ -124,12 +143,12 @@
</div> </div>
{{- else -}} {{- else -}}
<!-- Render stacked / default card --> <!-- Render stacked / default card -->
<div class="card {{ with $color }}bg-{{ . }} text-bg-{{ . }}{{ end }} {{ $class }}"> <div class="card {{ $colorStyle }} {{ $class }} text-{{ $align }}">
{{- if $thumbnail -}} {{- if $thumbnail -}}
{{- partial "assets/image.html" (dict "url" $thumbnail "ratio" (or $ratio "16x9") "wrapper" "card-img-wrap" "class" "card-img-top" "title" (or $alt $title) "loading" $loading) -}} {{- partial "assets/image.html" (dict "url" $thumbnail "ratio" (or $ratio "16x9") "wrapper" "card-img-wrap" "class" "card-img-top" "title" (or $alt $title) "loading" $loading) -}}
{{- else if $icon -}} {{- else if $icon -}}
<div class="card-icon p-{{ $padding }}"> <div class="card-icon p-{{ $padding }} {{ $iconStyle }} text-{{ $align }}">
{{- partial "assets/icon.html" (dict "icon" (printf "%s fa-4x" $icon)) -}} {{- partial "assets/icon.html" (dict "icon" (printf "%s %s" $icon $style)) -}}
</div> </div>
{{- end -}} {{- end -}}
<div class="card-body d-flex flex-column p-{{ $padding }}"> <div class="card-body d-flex flex-column p-{{ $padding }}">

View File

@@ -76,7 +76,7 @@
{{ partial "partials/list-img.html" (dict "thumbnail" $thumbnail "title" $item.Title "mode" $item.Params.colormode "loading" $loading) }} {{ partial "partials/list-img.html" (dict "thumbnail" $thumbnail "title" $item.Title "mode" $item.Params.colormode "loading" $loading) }}
</div> </div>
<div class="col-12 p-3"> <div class="col-12 p-3">
{{ partial "partials/list-content.html" (dict "title" $item.Title "content" (partial "utilities/GetDescription.html" $item)) }} {{ partial "partials/list-content.html" (dict "title" $item.Title "content" (or $item.Description $item.Content)) }}
</div> </div>
</div> </div>
</div> </div>

View File

@@ -110,6 +110,8 @@
{{- $size := .size | default "md" -}} {{- $size := .size | default "md" -}}
{{- $fixed := .fixed | default false -}} {{- $fixed := .fixed | default false -}}
{{- $overlay := .overlay | default false -}}
{{- $overlayMode := .overlayMode | default "dark" -}}
{{- $color := .color | default "" -}} {{- $color := .color | default "" -}}
{{- $search := .search | default site.Params.navigation.search -}} {{- $search := .search | default site.Params.navigation.search -}}
{{- $searchModal := and $search site.Params.navigation.searchModal -}} {{- $searchModal := and $search site.Params.navigation.searchModal -}}
@@ -170,7 +172,13 @@
<!-- Main code --> <!-- Main code -->
<div class="container-fluid {{ if $fixed }}fixed-top{{ end }} p-0{{ with $class }} {{ . }}{{ end }}"> <div class="container-fluid {{ if $fixed }}fixed-top{{ 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 {{ if $fixed }}navbar-fixed-top{{ end }} navbar-expand-{{ $size }}{{ if $contrast }} navbar-contrast{{ end }}{{ with $color }} bg-{{ . }}{{ end }} p-4"{{ with $theme }} data-bs-theme="{{ . }}"{{ end }}> <nav class="navbar p-4
{{ if $overlay }}navbar-overlay-{{ $overlayMode }}{{ else }}{{ with $color }}bg-{{ . }}{{ end }}{{ end }}
{{ if $fixed }}navbar-fixed-top{{ end }} navbar-expand-{{ $size }}
{{ if $contrast }}navbar-contrast{{ end }}"
{{ with $theme }}data-bs-theme="{{ . }}"{{ end }}
{{ if $overlay }}data-navbar-color="{{ $color }}"{{ end }}
>
<div class="container-xxl p-0"> <div class="container-xxl p-0">
<!-- Insert sidebar toggler when applicable --> <!-- Insert sidebar toggler when applicable -->
<div class="d-flex align-items-center"> <div class="d-flex align-items-center">

View File

@@ -8,6 +8,9 @@
{{ end -}} {{ end -}}
{{ $description := or (partial "utilities/GetDescription.html" .) .Site.Params.main.description }} {{ $description := or (partial "utilities/GetDescription.html" .) .Site.Params.main.description }}
{{ if gt (strings.RuneCount $description) 150 }}
{{ $description = print (substr $description 0 150) "..." }}
{{ end }}
{{ $.Scratch.Set "description" $description -}} {{ $.Scratch.Set "description" $description -}}
{{- $thumbnail := (or (and (reflect.IsMap .Params.Thumbnail) .Params.Thumbnail.url) .Params.Thumbnail) -}} {{- $thumbnail := (or (and (reflect.IsMap .Params.Thumbnail) .Params.Thumbnail.url) .Params.Thumbnail) -}}

View File

@@ -26,8 +26,10 @@
{{- errorf "partial [head/stylesheet.html] - Invalid value for site param 'style.darkModeTint': %s" site.Params.style.darkModeTint -}} {{- errorf "partial [head/stylesheet.html] - Invalid value for site param 'style.darkModeTint': %s" site.Params.style.darkModeTint -}}
{{ end}} {{ end}}
{{- $navbarOffset := "0em" -}} {{- $navbarOffset := "0rem" -}}
{{- if site.Params.navigation.fixed }}{{ $navbarOffset = site.Params.navigation.offset | default "4em" }}{{ end }} {{- if site.Params.navigation.fixed }}{{ $navbarOffset = site.Params.navigation.offset | default "4rem" }}{{ end }}
{{- $overlayOffset := $navbarOffset -}}
{{- if site.Params.navigation.overlay }}{{ $overlayOffset = "0rem" }}{{ end }}
{{- $vars := dict {{- $vars := dict
"theme-font" (default "Inter" site.Params.style.themeFont) "theme-font" (default "Inter" site.Params.style.themeFont)
"font-size-base" (default "1rem" site.Params.style.fontSizeBase) "font-size-base" (default "1rem" site.Params.style.fontSizeBase)
@@ -39,8 +41,9 @@
"danger" (default "#dc3545" site.Params.style.danger) "danger" (default "#dc3545" site.Params.style.danger)
"light" (default "#f8f9fa" site.Params.style.light) "light" (default "#f8f9fa" site.Params.style.light)
"dark" (default "#212529" site.Params.style.dark) "dark" (default "#212529" site.Params.style.dark)
"navbar-height" (site.Params.navigation.offset | default "4em") "navbar-height" (site.Params.navigation.offset | default "4rem")
"navbar-offset" $navbarOffset "navbar-offset" $navbarOffset
"overlay-offset" $overlayOffset
"enable-dark-mode" (printf "%t" ((default true site.Params.main.enableDarkMode))) "enable-dark-mode" (printf "%t" ((default true site.Params.main.enableDarkMode)))
"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)

View File

@@ -24,6 +24,9 @@
{{- $header := .Get "header" | default "" -}} {{- $header := .Get "header" | default "" -}}
{{- $footer := .Get "footer" | default "" -}} {{- $footer := .Get "footer" | default "" -}}
{{- $orientation := .Get "orientation" | default "" -}} {{- $orientation := .Get "orientation" | default "" -}}
{{- $align := .Get "align" | default "start" -}}
{{- $style := .Get "style" | default "" -}}
{{- $subtle := .Get "subtle" | default false -}}
{{ $inner := .Scratch.Get "inner" }} {{ $inner := .Scratch.Get "inner" }}
{{ $input := trim .Inner " \r\n" }} {{ $input := trim .Inner " \r\n" }}

View File

@@ -21,6 +21,9 @@
{{- $gutter := partial "utilities/GetArgParent" (dict "page" . "arg" "gutter") | default "0" -}} {{- $gutter := partial "utilities/GetArgParent" (dict "page" . "arg" "gutter") | default "0" -}}
{{- $header := partial "utilities/GetArgParent" (dict "page" . "arg" "header") | default "full" -}} {{- $header := partial "utilities/GetArgParent" (dict "page" . "arg" "header") | default "full" -}}
{{- $icon := .Get "icon" -}} {{- $icon := .Get "icon" -}}
{{- $align := partial "utilities/GetArgParent" (dict "page" . "arg" "align") | default "start" -}}
{{- $style := partial "utilities/GetArgParent" (dict "page" . "arg" "style") | default "" -}}
{{- $subtle := partial "utilities/GetArgParent" (dict "page" . "arg" "subtle") | default false -}}
{{- $loading := .Get "loading" -}} {{- $loading := .Get "loading" -}}
{{- $orientation := partial "utilities/GetArgParent" (dict "page" . "arg" "orientation") | default "stacked" -}} {{- $orientation := partial "utilities/GetArgParent" (dict "page" . "arg" "orientation") | default "stacked" -}}
{{- $padding := partial "utilities/GetArgParent" (dict "page" . "arg" "padding") | default "auto" -}} {{- $padding := partial "utilities/GetArgParent" (dict "page" . "arg" "padding") | default "auto" -}}
@@ -59,6 +62,9 @@
"description" $description "description" $description
"ratio" $ratio "ratio" $ratio
"icon" $icon "icon" $icon
"align" $align
"style" $style
"subtle" $subtle
"thumbnail" $thumbnail "thumbnail" $thumbnail
"loading" $loading "loading" $loading
"alt" $alt "alt" $alt

View File

@@ -21,7 +21,6 @@
{{ else }} {{ else }}
{{ $breakpoint = .Get 0 }} {{ $breakpoint = .Get 0 }}
{{ end }} {{ end }}
{{ if eq $breakpoint "none" }}{{ $breakpoint = "" }}{{ end }}
<!-- Main code --> <!-- Main code -->
{{- $input := .Inner | .Page.RenderString }} {{- $input := .Inner | .Page.RenderString }}
@@ -32,6 +31,12 @@
{{- $new := printf "<table class=\"table %s\">" $class -}} {{- $new := printf "<table class=\"table %s\">" $class -}}
{{ $input := replace $input $old $new -}} {{ $input := replace $input $old $new -}}
<div class="{{- with $breakpoint }}table-responsive table-responsive-{{ . }}{{ end -}}"> {{ if not $error }}
{{ if eq $breakpoint "none" }}
{{ $input | safeHTML }}
{{ else }}
<div class="table-responsive{{- with $breakpoint }}-{{ . }}{{ end -}}">
{{ $input | safeHTML }} {{ $input | safeHTML }}
</div> </div>
{{ end }}
{{ end }}

View File

@@ -4,7 +4,7 @@
command = "npm run build:example" command = "npm run build:example"
[build.environment] [build.environment]
DART_SASS_VERSION = "1.69.6" DART_SASS_VERSION = "1.69.7"
HUGO_VERSION = "0.121.1" HUGO_VERSION = "0.121.1"
HUGO_ENV = "production" HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true" HUGO_ENABLEGITINFO = "true"

157
package-lock.json generated
View File

@@ -1,27 +1,27 @@
{ {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "0.22.1", "version": "0.23.0-alpha3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "0.22.1", "version": "0.23.0-alpha3",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@fullhuman/postcss-purgecss": "^5.0.0", "@fullhuman/postcss-purgecss": "^5.0.0",
"@gethinode/netlify-plugin-dartsass": "^0.2.0", "@gethinode/netlify-plugin-dartsass": "^0.2.0",
"@netlify/plugin-lighthouse": "^5.0.0", "@netlify/plugin-lighthouse": "^5.0.0",
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.17",
"cssnano": "^6.0.3", "cssnano": "^6.0.3",
"cssnano-preset-advanced": "^6.0.3", "cssnano-preset-advanced": "^6.0.3",
"eslint": "^8.56.0", "eslint": "^8.56.0",
"eslint-config-standard": "^17.1.0", "eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.1", "eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1", "eslint-plugin-promise": "^6.1.1",
"hugo-bin": "^0.118.0", "hugo-bin": "^0.118.1",
"markdownlint-cli2": "^0.11.0", "markdownlint-cli2": "^0.12.1",
"netlify-plugin-hugo-cache-resources": "^0.2.1", "netlify-plugin-hugo-cache-resources": "^0.2.1",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"postcss-cli": "^11.0.0", "postcss-cli": "^11.0.0",
@@ -1257,9 +1257,9 @@
} }
}, },
"node_modules/autoprefixer": { "node_modules/autoprefixer": {
"version": "10.4.16", "version": "10.4.17",
"resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.16.tgz", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.17.tgz",
"integrity": "sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ==", "integrity": "sha512-/cpVNRLSfhOtcGflT13P2794gVSgmPgTR+erw5ifnMLZb0UnSlkK4tquLmkd3BhA+nLo5tX8Cu0upUsGKvKbmg==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -1276,9 +1276,9 @@
} }
], ],
"dependencies": { "dependencies": {
"browserslist": "^4.21.10", "browserslist": "^4.22.2",
"caniuse-lite": "^1.0.30001538", "caniuse-lite": "^1.0.30001578",
"fraction.js": "^4.3.6", "fraction.js": "^4.3.7",
"normalize-range": "^0.1.2", "normalize-range": "^0.1.2",
"picocolors": "^1.0.0", "picocolors": "^1.0.0",
"postcss-value-parser": "^4.2.0" "postcss-value-parser": "^4.2.0"
@@ -1700,9 +1700,9 @@
} }
}, },
"node_modules/caniuse-lite": { "node_modules/caniuse-lite": {
"version": "1.0.30001574", "version": "1.0.30001579",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001574.tgz", "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001579.tgz",
"integrity": "sha512-BtYEK4r/iHt/txm81KBudCUcTy7t+s9emrIaHqjYurQ10x71zJ5VQ9x1dYPcz/b+pKSp4y/v1xSI67A+LzpNyg==", "integrity": "sha512-u5AUVkixruKHJjw/pj9wISlcMpgFWzSrczLZbrqBSxukQixmg0SJ5sZTpvaFvxU0HoQKd4yoyAogyrAz9pzJnA==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -2480,18 +2480,6 @@
"url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"
} }
}, },
"node_modules/dom-serializer/node_modules/entities": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
"integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
"dev": true,
"engines": {
"node": ">=0.12"
},
"funding": {
"url": "https://github.com/fb55/entities?sponsor=1"
}
},
"node_modules/domelementtype": { "node_modules/domelementtype": {
"version": "2.3.0", "version": "2.3.0",
"resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz",
@@ -2613,9 +2601,9 @@
} }
}, },
"node_modules/entities": { "node_modules/entities": {
"version": "3.0.1", "version": "4.5.0",
"resolved": "https://registry.npmjs.org/entities/-/entities-3.0.1.tgz", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",
"integrity": "sha512-WiyBqoomrwMdFG1e0kqvASYfnlb0lp8M5o5Fw2OFq1hNZxxcNk8Ik0Xm7LxzBhuidnZB/UtBqVCgUz3kBOP51Q==", "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",
"dev": true, "dev": true,
"engines": { "engines": {
"node": ">=0.12" "node": ">=0.12"
@@ -2986,9 +2974,9 @@
"dev": true "dev": true
}, },
"node_modules/eslint-plugin-n": { "node_modules/eslint-plugin-n": {
"version": "16.6.1", "version": "16.6.2",
"resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-16.6.1.tgz", "resolved": "https://registry.npmjs.org/eslint-plugin-n/-/eslint-plugin-n-16.6.2.tgz",
"integrity": "sha512-M1kE5bVQRLBMDYRZwDhWzlzbp370SRRRC1MHqq4I3L2Tatey+9/2csc5mwLDPlmhJaDvkojbrNUME5/llpRyDg==", "integrity": "sha512-6TyDmZ1HXoFQXnhCTUjVFULReoBPOAjpuiKELMkeP40yffI/1ZRO+d9ug/VC6fqISo2WkuIBk3cvuRPALaWlOQ==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.4.0", "@eslint-community/eslint-utils": "^4.4.0",
@@ -4377,9 +4365,9 @@
"dev": true "dev": true
}, },
"node_modules/hugo-bin": { "node_modules/hugo-bin": {
"version": "0.118.0", "version": "0.118.1",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.118.0.tgz", "resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.118.1.tgz",
"integrity": "sha512-YVmmJIhoN9wJtHOR+FfVP2OFDymJF1Nop2MKSFmIKqOSu9B7ZfAn+yVCwernWNelepacjSYSoAebt+vFSsF5+g==", "integrity": "sha512-WIS4kLNySb5u2+iwk//N7ClLUCksmyjvqdkGQTFc5v7Bqjpn1yLcIIBWwxU3R4SBc2Lr772/auxlzzsRffGbVA==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -5040,6 +5028,12 @@
"json5": "lib/cli.js" "json5": "lib/cli.js"
} }
}, },
"node_modules/jsonc-parser": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.2.0.tgz",
"integrity": "sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w==",
"dev": true
},
"node_modules/jsonfile": { "node_modules/jsonfile": {
"version": "6.1.0", "version": "6.1.0",
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
@@ -5173,12 +5167,12 @@
"dev": true "dev": true
}, },
"node_modules/linkify-it": { "node_modules/linkify-it": {
"version": "4.0.1", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-4.0.1.tgz", "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz",
"integrity": "sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==", "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"uc.micro": "^1.0.1" "uc.micro": "^2.0.0"
} }
}, },
"node_modules/load-json-file": { "node_modules/load-json-file": {
@@ -5335,29 +5329,30 @@
} }
}, },
"node_modules/markdown-it": { "node_modules/markdown-it": {
"version": "13.0.2", "version": "14.0.0",
"resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-13.0.2.tgz", "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.0.0.tgz",
"integrity": "sha512-FtwnEuuK+2yVU7goGn/MJ0WBZMM9ZPgU9spqlFs7/A/pDIUNSOQZhUgOqYCficIuR2QaFnrt8LHqBWsbTAoI5w==", "integrity": "sha512-seFjF0FIcPt4P9U39Bq1JYblX0KZCjDLFFQPHpL5AzHpqPEKtosxmdq/LTVZnjfH7tjt9BxStm+wXcDBNuYmzw==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"argparse": "^2.0.1", "argparse": "^2.0.1",
"entities": "~3.0.1", "entities": "^4.4.0",
"linkify-it": "^4.0.1", "linkify-it": "^5.0.0",
"mdurl": "^1.0.1", "mdurl": "^2.0.0",
"uc.micro": "^1.0.5" "punycode.js": "^2.3.1",
"uc.micro": "^2.0.0"
}, },
"bin": { "bin": {
"markdown-it": "bin/markdown-it.js" "markdown-it": "bin/markdown-it.mjs"
} }
}, },
"node_modules/markdownlint": { "node_modules/markdownlint": {
"version": "0.32.1", "version": "0.33.0",
"resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.32.1.tgz", "resolved": "https://registry.npmjs.org/markdownlint/-/markdownlint-0.33.0.tgz",
"integrity": "sha512-3sx9xpi4xlHlokGyHO9k0g3gJbNY4DI6oNEeEYq5gQ4W7UkiJ90VDAnuDl2U+yyXOUa6BX+0gf69ZlTUGIBp6A==", "integrity": "sha512-4lbtT14A3m0LPX1WS/3d1m7Blg+ZwiLq36WvjQqFGsX3Gik99NV+VXp/PW3n+Q62xyPdbvGOCfjPqjW+/SKMig==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"markdown-it": "13.0.2", "markdown-it": "14.0.0",
"markdownlint-micromark": "0.1.7" "markdownlint-micromark": "0.1.8"
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=18"
@@ -5367,22 +5362,20 @@
} }
}, },
"node_modules/markdownlint-cli2": { "node_modules/markdownlint-cli2": {
"version": "0.11.0", "version": "0.12.1",
"resolved": "https://registry.npmjs.org/markdownlint-cli2/-/markdownlint-cli2-0.11.0.tgz", "resolved": "https://registry.npmjs.org/markdownlint-cli2/-/markdownlint-cli2-0.12.1.tgz",
"integrity": "sha512-RmFpr+My5in8KT+H/A6ozKIVYVzZtL5t9c8DYdv0YJdljl385z44CcCVBrclpHxCGMY2tr0hZ/ca+meGGvgdnQ==", "integrity": "sha512-RcK+l5FjJEyrU3REhrThiEUXNK89dLYNJCYbvOUKypxqIGfkcgpz8g08EKqhrmUbYfYoLC5nEYQy53NhJSEtfQ==",
"dev": true, "dev": true,
"dependencies": { "dependencies": {
"globby": "14.0.0", "globby": "14.0.0",
"markdownlint": "0.32.1", "jsonc-parser": "3.2.0",
"markdownlint": "0.33.0",
"markdownlint-cli2-formatter-default": "0.0.4", "markdownlint-cli2-formatter-default": "0.0.4",
"micromatch": "4.0.5", "micromatch": "4.0.5",
"strip-json-comments": "5.0.1",
"yaml": "2.3.4" "yaml": "2.3.4"
}, },
"bin": { "bin": {
"markdownlint-cli2": "markdownlint-cli2.js", "markdownlint-cli2": "markdownlint-cli2.js"
"markdownlint-cli2-config": "markdownlint-cli2-config.js",
"markdownlint-cli2-fix": "markdownlint-cli2-fix.js"
}, },
"engines": { "engines": {
"node": ">=18" "node": ">=18"
@@ -5400,25 +5393,16 @@
"markdownlint-cli2": ">=0.0.4" "markdownlint-cli2": ">=0.0.4"
} }
}, },
"node_modules/markdownlint-cli2/node_modules/strip-json-comments": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-5.0.1.tgz",
"integrity": "sha512-0fk9zBqO67Nq5M/m45qHCJxylV/DhBlIOVExqgOMiCCrzrhU6tCibRXNqE3jwJLftzE9SNuZtYbpzcO+i9FiKw==",
"dev": true,
"engines": {
"node": ">=14.16"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/markdownlint-micromark": { "node_modules/markdownlint-micromark": {
"version": "0.1.7", "version": "0.1.8",
"resolved": "https://registry.npmjs.org/markdownlint-micromark/-/markdownlint-micromark-0.1.7.tgz", "resolved": "https://registry.npmjs.org/markdownlint-micromark/-/markdownlint-micromark-0.1.8.tgz",
"integrity": "sha512-BbRPTC72fl5vlSKv37v/xIENSRDYL/7X/XoFzZ740FGEbs9vZerLrIkFRY0rv7slQKxDczToYuMmqQFN61fi4Q==", "integrity": "sha512-1ouYkMRo9/6gou9gObuMDnvZM8jC/ly3QCFQyoSPCS2XV1ZClU0xpKbL1Ar3bWWRT1RnBZkWUEiNKrI2CwiBQA==",
"dev": true, "dev": true,
"engines": { "engines": {
"node": ">=16" "node": ">=16"
},
"funding": {
"url": "https://github.com/sponsors/DavidAnson"
} }
}, },
"node_modules/marky": { "node_modules/marky": {
@@ -5444,9 +5428,9 @@
"dev": true "dev": true
}, },
"node_modules/mdurl": { "node_modules/mdurl": {
"version": "1.0.1", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/mdurl/-/mdurl-1.0.1.tgz", "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz",
"integrity": "sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==", "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==",
"dev": true "dev": true
}, },
"node_modules/media-typer": { "node_modules/media-typer": {
@@ -7352,6 +7336,15 @@
"node": ">=6" "node": ">=6"
} }
}, },
"node_modules/punycode.js": {
"version": "2.3.1",
"resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz",
"integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==",
"dev": true,
"engines": {
"node": ">=6"
}
},
"node_modules/puppeteer": { "node_modules/puppeteer": {
"version": "18.2.1", "version": "18.2.1",
"resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-18.2.1.tgz", "resolved": "https://registry.npmjs.org/puppeteer/-/puppeteer-18.2.1.tgz",
@@ -9483,9 +9476,9 @@
} }
}, },
"node_modules/uc.micro": { "node_modules/uc.micro": {
"version": "1.0.6", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.0.0.tgz",
"integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==", "integrity": "sha512-DffL94LsNOccVn4hyfRe5rdKa273swqeA5DJpMOeFmEn1wCDc7nAbbB0gXlgBCL7TNzeTv6G7XVWzan7iJtfig==",
"dev": true "dev": true
}, },
"node_modules/uglify-js": { "node_modules/uglify-js": {

View File

@@ -1,6 +1,6 @@
{ {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "0.22.1", "version": "0.23.0-alpha3",
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator", "description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
"keywords": [ "keywords": [
"hugo", "hugo",
@@ -70,16 +70,16 @@
"@fullhuman/postcss-purgecss": "^5.0.0", "@fullhuman/postcss-purgecss": "^5.0.0",
"@gethinode/netlify-plugin-dartsass": "^0.2.0", "@gethinode/netlify-plugin-dartsass": "^0.2.0",
"@netlify/plugin-lighthouse": "^5.0.0", "@netlify/plugin-lighthouse": "^5.0.0",
"autoprefixer": "^10.4.16", "autoprefixer": "^10.4.17",
"cssnano": "^6.0.3", "cssnano": "^6.0.3",
"cssnano-preset-advanced": "^6.0.3", "cssnano-preset-advanced": "^6.0.3",
"eslint": "^8.56.0", "eslint": "^8.56.0",
"eslint-config-standard": "^17.1.0", "eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.1", "eslint-plugin-n": "^16.6.2",
"eslint-plugin-promise": "^6.1.1", "eslint-plugin-promise": "^6.1.1",
"hugo-bin": "^0.118.0", "hugo-bin": "^0.118.1",
"markdownlint-cli2": "^0.11.0", "markdownlint-cli2": "^0.12.1",
"netlify-plugin-hugo-cache-resources": "^0.2.1", "netlify-plugin-hugo-cache-resources": "^0.2.1",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
"postcss-cli": "^11.0.0", "postcss-cli": "^11.0.0",