Compare commits

...

8 Commits

Author SHA1 Message Date
Mark Dumay
ede8fe8066 Merge pull request #507 from gethinode/develop
Fix issues with table and link
2023-09-02 16:26:15 +02:00
mark
51046d9646 Bump package version 2023-09-02 15:44:31 +02:00
mark
f2fd933f50 Update build stats 2023-09-02 15:43:08 +02:00
mark
8d16d50171 Increase min required version of Hugo 2023-09-02 15:42:49 +02:00
mark
3e3e2486ee Remove workaround for incorrect raw content 2023-09-02 15:42:17 +02:00
Mark Dumay
780707d821 Merge branch 'main' into develop 2023-09-02 15:31:43 +02:00
mark
8ac0f752ba Fix class init of link shortcode 2023-09-02 09:36:54 +02:00
mark
180641a72b Refine table colors in dark mode 2023-09-02 09:06:07 +02:00
9 changed files with 20 additions and 45 deletions

View File

@@ -1,11 +1,13 @@
@if $enable-dark-mode { @if $enable-dark-mode {
@include color-mode(dark) { @include color-mode(dark) {
.table-striped, .table-striped-columns { .table-striped, .table-striped-columns {
--bs-table-striped-bg: var(--bs-tertiary-color); --bs-table-striped-bg: var(--bs-tertiary-bg);
--bs-table-striped-color: var(--bs-body-color);
} }
.table-hover { .table-hover {
--bs-table-hover-bg: var(--bs-tertiary-color); --bs-table-hover-bg: var(--bs-tertiary-bg);
--bs-table-striped-color: var(--bs-body-color);
} }
} }
} }

View File

@@ -264,7 +264,6 @@
"mt-3", "mt-3",
"mt-5", "mt-5",
"mt-auto", "mt-auto",
"multi-docs-collapse-14",
"multi-docs-collapse-15", "multi-docs-collapse-15",
"multi-file-collapse-1", "multi-file-collapse-1",
"mx-auto", "mx-auto",
@@ -423,7 +422,6 @@
"alerte", "alerte",
"badge", "badge",
"barre-de-navigation", "barre-de-navigation",
"body-docs-collapse-14",
"body-docs-collapse-15", "body-docs-collapse-15",
"body-file-collapse-1", "body-file-collapse-1",
"bouton", "bouton",
@@ -448,7 +446,6 @@
"fichier", "fichier",
"fil-dariane", "fil-dariane",
"file", "file",
"footer-docs-collapse-14",
"footer-docs-collapse-15", "footer-docs-collapse-15",
"footer-file-collapse-1", "footer-file-collapse-1",
"formula-katex", "formula-katex",
@@ -495,4 +492,4 @@
"tooltip" "tooltip"
] ]
} }
} }

View File

@@ -16,7 +16,6 @@
"link", "link",
"meta", "meta",
"nav", "nav",
"ol",
"p", "p",
"path", "path",
"script", "script",
@@ -38,12 +37,9 @@
"bg-primary", "bg-primary",
"bottom-0", "bottom-0",
"bottom-bar", "bottom-bar",
"breadcrumb",
"breadcrumb-item",
"btn", "btn",
"btn-close", "btn-close",
"btn-primary", "btn-primary",
"btn-social",
"col", "col",
"col-12", "col-12",
"col-lg-2", "col-lg-2",
@@ -84,17 +80,12 @@
"fa-circle-half-stroke", "fa-circle-half-stroke",
"fa-ellipsis", "fa-ellipsis",
"fa-face-frown", "fa-face-frown",
"fa-facebook",
"fa-fw", "fa-fw",
"fa-github", "fa-github",
"fa-link",
"fa-linkedin", "fa-linkedin",
"fa-medium", "fa-medium",
"fa-moon", "fa-moon",
"fa-share-nodes",
"fa-sun", "fa-sun",
"fa-whatsapp",
"fa-x-twitter",
"fab", "fab",
"fas", "fas",
"feature", "feature",
@@ -108,21 +99,16 @@
"fs-3", "fs-3",
"fw-30", "fw-30",
"fw-bold", "fw-bold",
"gap-2",
"h-100", "h-100",
"hstack",
"img-fluid", "img-fluid",
"img-wrap", "img-wrap",
"invisible", "invisible",
"is-search", "is-search",
"justify-content-center", "justify-content-center",
"lead",
"link-bg-footer", "link-bg-footer",
"link-secondary", "link-secondary",
"main-nav-toggler", "main-nav-toggler",
"mb-3",
"mb-4", "mb-4",
"mb-5",
"me-auto", "me-auto",
"middle-bar", "middle-bar",
"min-vh-100", "min-vh-100",
@@ -161,13 +147,11 @@
"px-4", "px-4",
"px-xxl-0", "px-xxl-0",
"py-2", "py-2",
"py-3",
"py-5", "py-5",
"py-md-1", "py-md-1",
"rounded", "rounded",
"row", "row",
"row-cols-1", "row-cols-1",
"row-cols-2",
"row-cols-sm-3", "row-cols-sm-3",
"row-cols-sm-4", "row-cols-sm-4",
"search", "search",
@@ -176,13 +160,10 @@
"shadow", "shadow",
"svg-inline--fa", "svg-inline--fa",
"switch-mode-collapsed", "switch-mode-collapsed",
"text-body-secondary",
"text-center", "text-center",
"text-decoration-none", "text-decoration-none",
"text-end",
"text-secondary", "text-secondary",
"text-sm-start", "text-sm-start",
"text-uppercase",
"theme-icon", "theme-icon",
"theme-icon-active", "theme-icon-active",
"toast", "toast",
@@ -197,11 +178,9 @@
"ids": [ "ids": [
"-theme", "-theme",
"-theme-collapsed", "-theme-collapsed",
"btn-webshare",
"navbar-0-collapse", "navbar-0-collapse",
"toast-container", "toast-container",
"toast-copied-code-message", "toast-copied-code-message"
"toast-message-email-4"
] ]
} }
} }

View File

@@ -1,7 +1,5 @@
{{- define "main" -}} {{- define "main" -}}
<!-- Ignore empty content, see https://github.com/gohugoio/hugo/issues/11406 --> {{- $content := partial "utilities/ProcessContent" (dict "page" .Page "raw" .RawContent) -}}
{{- $content := "" -}}
{{- if .Content }}{{ $content = partial "utilities/ProcessContent" (dict "page" .Page "raw" .RawContent) }}{{ end -}}
{{- partial "assets/section-list.html" (dict {{- partial "assets/section-list.html" (dict
"page" . "page" .
"section" .Type "section" .Type

View File

@@ -84,8 +84,7 @@
{{ end -}} {{ end -}}
{{ end }} {{ end }}
<!-- Ignore empty content, see https://github.com/gohugoio/hugo/issues/11406 --> {{ partial "utilities/ProcessContent" (dict "page" .Page "raw" .RawContent) }}
{{- if .Content }}{{ partial "utilities/ProcessContent" (dict "page" .Page "raw" .RawContent) }}{{ end -}}
{{ end -}} {{ end -}}
{{ define "partials/footer.html" -}} {{ define "partials/footer.html" -}}

View File

@@ -30,13 +30,13 @@
{{- $anchor := "" -}} {{- $anchor := "" -}}
{{ if .IsNamedParams }} {{ if .IsNamedParams }}
{{ $href = .Get "href" | default "" -}} {{- $href = .Get "href" | default "" -}}
{{ $name = .Get "name" | default "" -}} {{- $name = .Get "name" | default "" -}}
{{ $url = .Get "url" | default "" -}} {{- $url = .Get "url" | default "" -}}
{{ $cue = .Get "cue" | default site.Params.main.externalLinks.cue -}} {{- $cue = .Get "cue" | default site.Params.main.externalLinks.cue -}}
{{ $tab = .Get "tab" | default site.Params.main.externalLinks.tab -}} {{- $tab = .Get "tab" | default site.Params.main.externalLinks.tab -}}
{{ $case = .Get "case" | default true }} {{- $case = .Get "case" | default true -}}
{{- $class := .Get "class" | default "" -}} {{- $class = .Get "class" | default "" -}}
{{ else }} {{ else }}
{{ $href = .Get 0 }} {{ $href = .Get 0 }}
{{ end }} {{ end }}

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "0.19.0-beta3", "version": "0.19.0",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "0.19.0-beta3", "version": "0.19.0",
"license": "MIT", "license": "MIT",
"devDependencies": { "devDependencies": {
"@fullhuman/postcss-purgecss": "^5.0.0", "@fullhuman/postcss-purgecss": "^5.0.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "0.19.0-beta3", "version": "0.19.0",
"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",

View File

@@ -6,7 +6,7 @@ homepage = "https://gethinode.com"
demosite = "https://demo.gethinode.com" demosite = "https://demo.gethinode.com"
tags = ["blog", "documentation", "minimal", "modern", "customizable", "search", "bootstrap"] tags = ["blog", "documentation", "minimal", "modern", "customizable", "search", "bootstrap"]
features = ["security aware", "fast by default", "seo-ready", "development tools", "bootstrap framework", "netlify-ready", "full text search", "page layouts", "versioned documentation"] features = ["security aware", "fast by default", "seo-ready", "development tools", "bootstrap framework", "netlify-ready", "full text search", "page layouts", "versioned documentation"]
min_version = "0.110.0" min_version = "0.118.0" # fixes Hugo issue #11406
[author] [author]
name = "Mark Dumay" name = "Mark Dumay"