mirror of https://github.com/jpanther/congo.git
Compare commits
21 Commits
8880caec17
...
eae474b074
Author | SHA1 | Date |
---|---|---|
Wolf Noble | eae474b074 | |
James Panther | 4acfb7b76a | |
James Panther | 33d34eea0f | |
James Panther | 088c913f67 | |
James Panther | fd49282446 | |
James Panther | 0510d8f655 | |
James Panther | e2fa33ad46 | |
James Panther | 21b554c341 | |
James Panther | eec81f340f | |
James Panther | 6bbcd04910 | |
dependabot[bot] | 8fa0ef1381 | |
dependabot[bot] | c943158c17 | |
James Panther | 67a61da329 | |
James Panther | 4eb6c7ff61 | |
dependabot[bot] | c3c7eb6048 | |
Christiaan de Die le Clercq | cc3872f270 | |
dependabot[bot] | 03a4d345f0 | |
dependabot[bot] | a22b1ad664 | |
Tomy Hsieh | 0a6267c171 | |
Wen Junhua | 4c31074d5c | |
Wolf Noble | ea7d67c735 |
18
CHANGELOG.md
18
CHANGELOG.md
|
@ -6,6 +6,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [2.8.1] - 2024-03-09
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Upgrade to ChartJS v4.4.2 ([#817](https://github.com/jpanther/congo/pull/817))
|
||||||
|
- Upgrade to Mermaid v10.9.0 ([#825](https://github.com/jpanther/congo/pull/825))
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Table of Contents missing left border detail ([#794](https://github.com/jpanther/congo/issues/794))
|
||||||
|
- `x-twitter` option missing when using sharing links ([#809](https://github.com/jpanther/congo/issues/809))
|
||||||
|
- Chinese default config contains incorrect `author` block name ([#807](https://github.com/jpanther/congo/pull/807))
|
||||||
|
- Links in articles are prefixed with a blank space ([#813](https://github.com/jpanther/congo/pull/813))
|
||||||
|
- HTML tables would not fill the container width on desktop ([#826](https://github.com/jpanther/congo/issues/826))
|
||||||
|
|
||||||
## [2.8.0] - 2024-01-22
|
## [2.8.0] - 2024-01-22
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -841,7 +856,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
- Advanced customisation using simple Tailwind colour definitions and styles
|
- Advanced customisation using simple Tailwind colour definitions and styles
|
||||||
- Fully documented
|
- Fully documented
|
||||||
|
|
||||||
[Unreleased]: https://github.com/jpanther/congo/compare/v2.8.0...HEAD
|
[Unreleased]: https://github.com/jpanther/congo/compare/v2.8.1...HEAD
|
||||||
|
[2.8.1]: https://github.com/jpanther/congo/compare/v2.8.0...v2.8.1
|
||||||
[2.8.0]: https://github.com/jpanther/congo/compare/v2.7.6...v2.8.0
|
[2.8.0]: https://github.com/jpanther/congo/compare/v2.7.6...v2.8.0
|
||||||
[2.7.6]: https://github.com/jpanther/congo/compare/v2.7.5...v2.7.6
|
[2.7.6]: https://github.com/jpanther/congo/compare/v2.7.5...v2.7.6
|
||||||
[2.7.5]: https://github.com/jpanther/congo/compare/v2.7.4...v2.7.5
|
[2.7.5]: https://github.com/jpanther/congo/compare/v2.7.4...v2.7.5
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*! Congo v2.8.0 | MIT License | https://github.com/jpanther/congo */
|
/*! Congo v2.8.1 | MIT License | https://github.com/jpanther/congo */
|
||||||
|
|
||||||
/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com */
|
/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com */
|
||||||
|
|
||||||
|
@ -1254,13 +1254,18 @@ table {
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
|
table {
|
||||||
|
display: table;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/* Fix long inline code sections breaking out of article on mobile */
|
/* Fix long inline code sections breaking out of article on mobile */
|
||||||
|
|
||||||
code {
|
code {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
/* All browsers since IE 5.5+ */
|
/* All browsers since IE 5.5+ */
|
||||||
overflow-wrap: break-word;
|
overflow-wrap: break-word;
|
||||||
/* Renamed property in CSS3 draft spec */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -- Chroma Highlight -- */
|
/* -- Chroma Highlight -- */
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*! Congo v2.8.0 | MIT License | https://github.com/jpanther/congo */
|
/*! Congo v2.8.1 | MIT License | https://github.com/jpanther/congo */
|
||||||
|
|
||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
|
@ -109,14 +109,13 @@ body:has(#menu-controller:checked) {
|
||||||
|
|
||||||
/* Fix long tables breaking out of article on mobile */
|
/* Fix long tables breaking out of article on mobile */
|
||||||
table {
|
table {
|
||||||
display: block;
|
@apply block overflow-auto md:table;
|
||||||
overflow: auto;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Fix long inline code sections breaking out of article on mobile */
|
/* Fix long inline code sections breaking out of article on mobile */
|
||||||
code {
|
code {
|
||||||
word-wrap: break-word; /* All browsers since IE 5.5+ */
|
word-wrap: break-word; /* All browsers since IE 5.5+ */
|
||||||
overflow-wrap: break-word; /* Renamed property in CSS3 draft spec */
|
@apply break-words;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* -- Chroma Highlight -- */
|
/* -- Chroma Highlight -- */
|
||||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -7,6 +7,11 @@
|
||||||
|
|
||||||
colorScheme = "congo"
|
colorScheme = "congo"
|
||||||
defaultAppearance = "light" # valid options: light or dark
|
defaultAppearance = "light" # valid options: light or dark
|
||||||
|
[divineRGBVals]
|
||||||
|
debug = false
|
||||||
|
themeColorMap = "congo"
|
||||||
|
tailwindMap = "twcolormap"
|
||||||
|
|
||||||
autoSwitchAppearance = true
|
autoSwitchAppearance = true
|
||||||
|
|
||||||
enableSearch = false
|
enableSearch = false
|
||||||
|
@ -51,7 +56,7 @@ fingerprintAlgorithm = "sha256"
|
||||||
showTaxonomies = false
|
showTaxonomies = false
|
||||||
showWordCount = false
|
showWordCount = false
|
||||||
showComments = false
|
showComments = false
|
||||||
# sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "telegram", "line", "weibo"]
|
# sharingLinks = ["facebook", "x-twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "telegram", "line", "weibo"]
|
||||||
|
|
||||||
[list]
|
[list]
|
||||||
showBreadcrumbs = false
|
showBreadcrumbs = false
|
||||||
|
|
|
@ -0,0 +1,52 @@
|
||||||
|
{
|
||||||
|
"themeColors": [
|
||||||
|
{ "cherry": {
|
||||||
|
"neutral": "neutral",
|
||||||
|
"primary": "rose",
|
||||||
|
"secondary": "green"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ "congo": {
|
||||||
|
"neutral": "gray",
|
||||||
|
"primary": "violet",
|
||||||
|
"secondary": "fuchsia"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ "fire": {
|
||||||
|
"neutral": "stone",
|
||||||
|
"primary": "orange",
|
||||||
|
"secondary": "rose"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ "ocean": {
|
||||||
|
"neutral": "slate",
|
||||||
|
"primary": "blue",
|
||||||
|
"secondary": "cyan"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ "sapphire": {
|
||||||
|
"neutral": "slate",
|
||||||
|
"primary": "indigo",
|
||||||
|
"secondary": "pink"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ "avocado": {
|
||||||
|
"neutral": "stone",
|
||||||
|
"primary": "lime",
|
||||||
|
"secondary": "emerald"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{ "slate": {
|
||||||
|
"neutral": "gray",
|
||||||
|
"primary": "slate",
|
||||||
|
"secondary": "gray"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"colorWeights": {
|
||||||
|
"neutral": "400",
|
||||||
|
"primary": "600",
|
||||||
|
"secondary": "400"
|
||||||
|
},
|
||||||
|
"fallbackWeight": "100"
|
||||||
|
}
|
|
@ -34,6 +34,11 @@
|
||||||
"title": "sharing.twitter",
|
"title": "sharing.twitter",
|
||||||
"url": "https://twitter.com/intent/tweet/?url=%s&text=%s"
|
"url": "https://twitter.com/intent/tweet/?url=%s&text=%s"
|
||||||
},
|
},
|
||||||
|
"x-twitter": {
|
||||||
|
"icon": "x-twitter",
|
||||||
|
"title": "sharing.x-twitter",
|
||||||
|
"url": "https://x.com/intent/tweet/?url=%s&text=%s"
|
||||||
|
},
|
||||||
"telegram": {
|
"telegram": {
|
||||||
"icon": "telegram",
|
"icon": "telegram",
|
||||||
"title": "sharing.telegram",
|
"title": "sharing.telegram",
|
||||||
|
|
|
@ -0,0 +1,310 @@
|
||||||
|
[
|
||||||
|
{
|
||||||
|
"slate": {
|
||||||
|
"50": "#f8fafc",
|
||||||
|
"100": "#f1f5f9",
|
||||||
|
"200": "#e2e8f0",
|
||||||
|
"300": "#cbd5e1",
|
||||||
|
"400": "#94a3b8",
|
||||||
|
"500": "#64748b",
|
||||||
|
"600": "#475569",
|
||||||
|
"700": "#334155",
|
||||||
|
"800": "#1e293b",
|
||||||
|
"900": "#0f172a"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"gray": {
|
||||||
|
"50": "#f9fafb",
|
||||||
|
"100": "#f3f4f6",
|
||||||
|
"200": "#e5e7eb",
|
||||||
|
"300": "#d1d5db",
|
||||||
|
"400": "#9ca3af",
|
||||||
|
"500": "#6b7280",
|
||||||
|
"600": "#4b5563",
|
||||||
|
"700": "#374151",
|
||||||
|
"800": "#1f2937",
|
||||||
|
"900": "#111827"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"zinc": {
|
||||||
|
"50": "#fafafa",
|
||||||
|
"100": "#f4f4f5",
|
||||||
|
"200": "#e4e4e7",
|
||||||
|
"300": "#d4d4d8",
|
||||||
|
"400": "#a1a1aa",
|
||||||
|
"500": "#71717a",
|
||||||
|
"600": "#52525b",
|
||||||
|
"700": "#3f3f46",
|
||||||
|
"800": "#27272a",
|
||||||
|
"900": "#18181b"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"neutral": {
|
||||||
|
"50": "#fafafa",
|
||||||
|
"100": "#f5f5f5",
|
||||||
|
"200": "#e5e5e5",
|
||||||
|
"300": "#d4d4d4",
|
||||||
|
"400": "#a3a3a3",
|
||||||
|
"500": "#737373",
|
||||||
|
"600": "#525252",
|
||||||
|
"700": "#404040",
|
||||||
|
"800": "#262626",
|
||||||
|
"900": "#171717"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"stone": {
|
||||||
|
"50": "#fafaf9",
|
||||||
|
"100": "#f5f5f4",
|
||||||
|
"200": "#e7e5e4",
|
||||||
|
"300": "#d6d3d1",
|
||||||
|
"400": "#a8a29e",
|
||||||
|
"500": "#78716c",
|
||||||
|
"600": "#57534e",
|
||||||
|
"700": "#44403c",
|
||||||
|
"800": "#292524",
|
||||||
|
"900": "#1c1917"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"red": {
|
||||||
|
"50": "#fef2f2",
|
||||||
|
"100": "#fee2e2",
|
||||||
|
"200": "#fecaca",
|
||||||
|
"300": "#fca5a5",
|
||||||
|
"400": "#f87171",
|
||||||
|
"500": "#ef4444",
|
||||||
|
"600": "#dc2626",
|
||||||
|
"700": "#b91c1c",
|
||||||
|
"800": "#991b1b",
|
||||||
|
"900": "#7f1d1d"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"orange": {
|
||||||
|
"50": "#fff7ed",
|
||||||
|
"100": "#ffedd5",
|
||||||
|
"200": "#fed7aa",
|
||||||
|
"300": "#fdba74",
|
||||||
|
"400": "#fb923c",
|
||||||
|
"500": "#f97316",
|
||||||
|
"600": "#ea580c",
|
||||||
|
"700": "#c2410c",
|
||||||
|
"800": "#9a3412",
|
||||||
|
"900": "#7c2d12"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"amber": {
|
||||||
|
"50": "#fffbeb",
|
||||||
|
"100": "#fef3c7",
|
||||||
|
"200": "#fde68a",
|
||||||
|
"300": "#fcd34d",
|
||||||
|
"400": "#fbbf24",
|
||||||
|
"500": "#f59e0b",
|
||||||
|
"600": "#d97706",
|
||||||
|
"700": "#b45309",
|
||||||
|
"800": "#92400e",
|
||||||
|
"900": "#78350f"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"yellow": {
|
||||||
|
"50": "#fefce8",
|
||||||
|
"100": "#fef9c3",
|
||||||
|
"200": "#fef08a",
|
||||||
|
"300": "#fde047",
|
||||||
|
"400": "#facc15",
|
||||||
|
"500": "#eab308",
|
||||||
|
"600": "#ca8a04",
|
||||||
|
"700": "#a16207",
|
||||||
|
"800": "#854d0e",
|
||||||
|
"900": "#713f12"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"lime": {
|
||||||
|
"50": "#f7fee7",
|
||||||
|
"100": "#ecfccb",
|
||||||
|
"200": "#d9f99d",
|
||||||
|
"300": "#bef264",
|
||||||
|
"400": "#a3e635",
|
||||||
|
"500": "#84cc16",
|
||||||
|
"600": "#65a30d",
|
||||||
|
"700": "#4d7c0f",
|
||||||
|
"800": "#3f6212",
|
||||||
|
"900": "#365314"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"green": {
|
||||||
|
"50": "#f0fdf4",
|
||||||
|
"100": "#dcfce7",
|
||||||
|
"200": "#bbf7d0",
|
||||||
|
"300": "#86efac",
|
||||||
|
"400": "#4ade80",
|
||||||
|
"500": "#22c55e",
|
||||||
|
"600": "#16a34a",
|
||||||
|
"700": "#15803d",
|
||||||
|
"800": "#166534",
|
||||||
|
"900": "#14532d"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"emerald": {
|
||||||
|
"50": "#ecfdf5",
|
||||||
|
"100": "#d1fae5",
|
||||||
|
"200": "#a7f3d0",
|
||||||
|
"300": "#6ee7b7",
|
||||||
|
"400": "#34d399",
|
||||||
|
"500": "#10b981",
|
||||||
|
"600": "#059669",
|
||||||
|
"700": "#047857",
|
||||||
|
"800": "#065f46",
|
||||||
|
"900": "#064e3b"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"teal": {
|
||||||
|
"50": "#f0fdfa",
|
||||||
|
"100": "#ccfbf1",
|
||||||
|
"200": "#99f6e4",
|
||||||
|
"300": "#5eead4",
|
||||||
|
"400": "#2dd4bf",
|
||||||
|
"500": "#14b8a6",
|
||||||
|
"600": "#0d9488",
|
||||||
|
"700": "#0f766e",
|
||||||
|
"800": "#115e59",
|
||||||
|
"900": "#134e4a"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cyan": {
|
||||||
|
"50": "#ecfeff",
|
||||||
|
"100": "#cffafe",
|
||||||
|
"200": "#a5f3fc",
|
||||||
|
"300": "#67e8f9",
|
||||||
|
"400": "#22d3ee",
|
||||||
|
"500": "#06b6d4",
|
||||||
|
"600": "#0891b2",
|
||||||
|
"700": "#0e7490",
|
||||||
|
"800": "#155e75",
|
||||||
|
"900": "#164e63"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"sky": {
|
||||||
|
"50": "#f0f9ff",
|
||||||
|
"100": "#e0f2fe",
|
||||||
|
"200": "#bae6fd",
|
||||||
|
"300": "#7dd3fc",
|
||||||
|
"400": "#38bdf8",
|
||||||
|
"500": "#0ea5e9",
|
||||||
|
"600": "#0284c7",
|
||||||
|
"700": "#0369a1",
|
||||||
|
"800": "#075985",
|
||||||
|
"900": "#0c4a6e"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"blue": {
|
||||||
|
"50": "#eff6ff",
|
||||||
|
"100": "#dbeafe",
|
||||||
|
"200": "#bfdbfe",
|
||||||
|
"300": "#93c5fd",
|
||||||
|
"400": "#60a5fa",
|
||||||
|
"500": "#3b82f6",
|
||||||
|
"600": "#2563eb",
|
||||||
|
"700": "#1d4ed8",
|
||||||
|
"800": "#1e40af",
|
||||||
|
"900": "#1e3a8a"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"indigo": {
|
||||||
|
"50": "#eef2ff",
|
||||||
|
"100": "#e0e7ff",
|
||||||
|
"200": "#c7d2fe",
|
||||||
|
"300": "#a5b4fc",
|
||||||
|
"400": "#818cf8",
|
||||||
|
"500": "#6366f1",
|
||||||
|
"600": "#4f46e5",
|
||||||
|
"700": "#4338ca",
|
||||||
|
"800": "#3730a3",
|
||||||
|
"900": "#312e81"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"violet": {
|
||||||
|
"50": "#f5f3ff",
|
||||||
|
"100": "#ede9fe",
|
||||||
|
"200": "#ddd6fe",
|
||||||
|
"300": "#c4b5fd",
|
||||||
|
"400": "#a78bfa",
|
||||||
|
"500": "#8b5cf6",
|
||||||
|
"600": "#7c3aed",
|
||||||
|
"700": "#6d28d9",
|
||||||
|
"800": "#5b21b6",
|
||||||
|
"900": "#4c1d95"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"purple": {
|
||||||
|
"50": "#faf5ff",
|
||||||
|
"100": "#f3e8ff",
|
||||||
|
"200": "#e9d5ff",
|
||||||
|
"300": "#d8b4fe",
|
||||||
|
"400": "#c084fc",
|
||||||
|
"500": "#a855f7",
|
||||||
|
"600": "#9333ea",
|
||||||
|
"700": "#7e22ce",
|
||||||
|
"800": "#6b21a8",
|
||||||
|
"900": "#581c87"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fuchsia": {
|
||||||
|
"50": "#fdf4ff",
|
||||||
|
"100": "#fae8ff",
|
||||||
|
"200": "#f5d0fe",
|
||||||
|
"300": "#f0abfc",
|
||||||
|
"400": "#e879f9",
|
||||||
|
"500": "#d946ef",
|
||||||
|
"600": "#c026d3",
|
||||||
|
"700": "#a21caf",
|
||||||
|
"800": "#86198f",
|
||||||
|
"900": "#701a75"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"pink": {
|
||||||
|
"50": "#fdf2f8",
|
||||||
|
"100": "#fce7f3",
|
||||||
|
"200": "#fbcfe8",
|
||||||
|
"300": "#f9a8d4",
|
||||||
|
"400": "#f472b6",
|
||||||
|
"500": "#ec4899",
|
||||||
|
"600": "#db2777",
|
||||||
|
"700": "#be185d",
|
||||||
|
"800": "#9d174d",
|
||||||
|
"900": "#831843"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"rose": {
|
||||||
|
"50": "#fff1f2",
|
||||||
|
"100": "#ffe4e6",
|
||||||
|
"200": "#fecdd3",
|
||||||
|
"300": "#fda4af",
|
||||||
|
"400": "#fb7185",
|
||||||
|
"500": "#f43f5e",
|
||||||
|
"600": "#e11d48",
|
||||||
|
"700": "#be123c",
|
||||||
|
"800": "#9f1239",
|
||||||
|
"900": "#881337"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
|
@ -12,7 +12,7 @@ copyright = "© 2023 Congo contributors"
|
||||||
mainSections = ["samples"]
|
mainSections = ["samples"]
|
||||||
description = "一款基于Tailwindcss的强大且轻量的Hugo主题"
|
description = "一款基于Tailwindcss的强大且轻量的Hugo主题"
|
||||||
|
|
||||||
[author]
|
[params.author]
|
||||||
name = "Congo"
|
name = "Congo"
|
||||||
image = "img/author.jpg"
|
image = "img/author.jpg"
|
||||||
headline = "非凡的主题!"
|
headline = "非凡的主题!"
|
||||||
|
|
|
@ -162,7 +162,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
||||||
|`article.showTaxonomies`|`false`|Whether or not the taxonomies related to this article are displayed.|
|
|`article.showTaxonomies`|`false`|Whether or not the taxonomies related to this article are displayed.|
|
||||||
|`article.showWordCount`|`false`|Whether or not article word counts are displayed.|
|
|`article.showWordCount`|`false`|Whether or not article word counts are displayed.|
|
||||||
|`article.showComments`|`false`|Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer.|
|
|`article.showComments`|`false`|Whether or not the [comments partial]({{< ref "partials#comments" >}}) is included after the article footer.|
|
||||||
|`article.sharingLinks`|_Not set_|An array of sharing links to display at the end of each article. Valid options include `facebook`, `twitter`, `mastodon`, `pinterest`, `reddit`, `linkedin`, `email`, `telegram` and `line`. When not provided, or set to `false`, no links will be displayed.|
|
|`article.sharingLinks`|_Not set_|An array of sharing links to display at the end of each article. Valid options include `facebook`, `x-twitter`, `mastodon`, `pinterest`, `reddit`, `linkedin`, `email`, `telegram` and `line`. When not provided, or set to `false`, no links will be displayed.|
|
||||||
|`list.showBreadcrumbs`|`false`|Whether or not breadcrumbs are displayed in the header on list pages.|
|
|`list.showBreadcrumbs`|`false`|Whether or not breadcrumbs are displayed in the header on list pages.|
|
||||||
|`list.showTableOfContents`|`false`|Whether or not the table of contents is displayed on list pages.|
|
|`list.showTableOfContents`|`false`|Whether or not the table of contents is displayed on list pages.|
|
||||||
|`list.showTaxonomies`|`false`|Whether or not the taxonomies related to this article are displayed on list pages.|
|
|`list.showTaxonomies`|`false`|Whether or not the taxonomies related to this article are displayed on list pages.|
|
||||||
|
|
|
@ -72,5 +72,6 @@ La lista a continuación es solo un puñado de sitios web creados con el tema Co
|
||||||
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
|
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
|
||||||
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
|
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
|
||||||
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
|
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
|
||||||
|
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
|
||||||
|
|
||||||
**¿Usuaria de congo?** Para agregar tu sitio a esta lista, [haz un pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md).
|
**¿Usuaria de congo?** Para agregar tu sitio a esta lista, [haz un pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md).
|
||||||
|
|
|
@ -72,5 +72,6 @@ Congoを使用して構築された実際のウェブサイト。
|
||||||
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
|
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
|
||||||
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
|
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
|
||||||
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
|
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
|
||||||
|
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
|
||||||
|
|
||||||
**Congoを使っていますか?** あなたのウェブサイトを加えるために[Pull Request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md)を投げてください。
|
**Congoを使っていますか?** あなたのウェブサイトを加えるために[Pull Request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md)を投げてください。
|
||||||
|
|
|
@ -72,5 +72,6 @@ The list below is just a handful of the websites that are built using the Congo
|
||||||
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
|
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
|
||||||
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
|
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
|
||||||
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
|
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
|
||||||
|
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
|
||||||
|
|
||||||
**Congo user?** To add your site to this list, [submit a pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md).
|
**Congo user?** To add your site to this list, [submit a pull request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md).
|
||||||
|
|
|
@ -72,5 +72,6 @@ showEdit: false
|
||||||
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
|
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
|
||||||
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
|
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
|
||||||
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
|
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
|
||||||
|
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
|
||||||
|
|
||||||
**想成为Congo的用户?** 要将您的网站添加到此列表中,请提交[Pull Request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md)来添加。
|
**想成为Congo的用户?** 要将您的网站添加到此列表中,请提交[Pull Request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md)来添加。
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "شارك على تيليجرام"
|
telegram: "شارك على تيليجرام"
|
||||||
line: "شارك على لاين"
|
line: "شارك على لاين"
|
||||||
# weibo: "Share on Weibo"
|
# weibo: "Share on Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "حديثًا"
|
recent_articles: "حديثًا"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Споделете в Telegram"
|
telegram: "Споделете в Telegram"
|
||||||
line: "Споделете в LINE"
|
line: "Споделете в LINE"
|
||||||
weibo: "Споделете в Weibo"
|
weibo: "Споделете в Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Последни"
|
recent_articles: "Последни"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "টেলিগ্রামে শেয়ার করুন"
|
telegram: "টেলিগ্রামে শেয়ার করুন"
|
||||||
line: "লাইনে শেয়ার করুন"
|
line: "লাইনে শেয়ার করুন"
|
||||||
# weibo: "Share on Weibo"
|
# weibo: "Share on Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "সাম্প্রতিক"
|
recent_articles: "সাম্প্রতিক"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Sdílejte na Telegram"
|
telegram: "Sdílejte na Telegram"
|
||||||
line: "Sdílejte na LINE"
|
line: "Sdílejte na LINE"
|
||||||
weibo: "Sdílejte na Weibo"
|
weibo: "Sdílejte na Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Nedávné"
|
recent_articles: "Nedávné"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Auf Telegram teilen"
|
telegram: "Auf Telegram teilen"
|
||||||
line: "Auf LINE teilen"
|
line: "Auf LINE teilen"
|
||||||
weibo: "Auf Weibo teilen"
|
weibo: "Auf Weibo teilen"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Neue Beiträge"
|
recent_articles: "Neue Beiträge"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Share on Telegram"
|
telegram: "Share on Telegram"
|
||||||
line: "Share on LINE"
|
line: "Share on LINE"
|
||||||
weibo: "Share on Weibo"
|
weibo: "Share on Weibo"
|
||||||
|
x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recent"
|
recent_articles: "Recent"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Compartir en Telegram"
|
telegram: "Compartir en Telegram"
|
||||||
line: "Compartir en LINE"
|
line: "Compartir en LINE"
|
||||||
weibo: "Compartir en Weibo"
|
weibo: "Compartir en Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Reciente"
|
recent_articles: "Reciente"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Jaa Telegramissa"
|
telegram: "Jaa Telegramissa"
|
||||||
line: "Jaa LINEssä"
|
line: "Jaa LINEssä"
|
||||||
weibo: "Jaa Weibossä"
|
weibo: "Jaa Weibossä"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Viimeaikaiset"
|
recent_articles: "Viimeaikaiset"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Partager sur Telegram"
|
telegram: "Partager sur Telegram"
|
||||||
line: "Partager sur LINE"
|
line: "Partager sur LINE"
|
||||||
weibo: "Partager sur Weibo"
|
weibo: "Partager sur Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Articles récents"
|
recent_articles: "Articles récents"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "שיתוף בטלגרם"
|
telegram: "שיתוף בטלגרם"
|
||||||
line: "שיתוף בליין"
|
line: "שיתוף בליין"
|
||||||
# weibo: "Share on Weibo"
|
# weibo: "Share on Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "חדשים"
|
recent_articles: "חדשים"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Megosztás a Telegramon"
|
telegram: "Megosztás a Telegramon"
|
||||||
line: "Megosztás a LINE-on"
|
line: "Megosztás a LINE-on"
|
||||||
weibo: "Megosztás a Weibo-on"
|
weibo: "Megosztás a Weibo-on"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Friss"
|
recent_articles: "Friss"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Bagikan ke Telegram"
|
telegram: "Bagikan ke Telegram"
|
||||||
line: "Bagikan ke LINE"
|
line: "Bagikan ke LINE"
|
||||||
weibo: "Bagikan ke Weibo"
|
weibo: "Bagikan ke Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Terbaru"
|
recent_articles: "Terbaru"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Condividi su Telegram"
|
telegram: "Condividi su Telegram"
|
||||||
line: "Condividi su LINE"
|
line: "Condividi su LINE"
|
||||||
weibo: "Condividi su Weibo"
|
weibo: "Condividi su Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recenti"
|
recent_articles: "Recenti"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Telegramでシェアする"
|
telegram: "Telegramでシェアする"
|
||||||
line: "LINEでシェアする"
|
line: "LINEでシェアする"
|
||||||
weibo: "Weiboでシェアする"
|
weibo: "Weiboでシェアする"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "最近の記事"
|
recent_articles: "最近の記事"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Telegram에 공유하기"
|
telegram: "Telegram에 공유하기"
|
||||||
line: "LINE에 공유하기"
|
line: "LINE에 공유하기"
|
||||||
weibo: "Weibo에 공유하기"
|
weibo: "Weibo에 공유하기"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "최신 글"
|
recent_articles: "최신 글"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Deel op Telegram"
|
telegram: "Deel op Telegram"
|
||||||
line: "Deel op LINE"
|
line: "Deel op LINE"
|
||||||
weibo: "Deel op Weibo"
|
weibo: "Deel op Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recent"
|
recent_articles: "Recent"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Udostępnij na Telegram"
|
telegram: "Udostępnij na Telegram"
|
||||||
line: "Udostępnij na LINE"
|
line: "Udostępnij na LINE"
|
||||||
weibo: "Udostępnij na Weibo"
|
weibo: "Udostępnij na Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Ostatnie"
|
recent_articles: "Ostatnie"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Compartilhar pelo Telegram"
|
telegram: "Compartilhar pelo Telegram"
|
||||||
line: "Compartilhar pelo LINE"
|
line: "Compartilhar pelo LINE"
|
||||||
weibo: "Compartilhar pelo weibo"
|
weibo: "Compartilhar pelo weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recente"
|
recent_articles: "Recente"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Partilhar pelo Telegram"
|
telegram: "Partilhar pelo Telegram"
|
||||||
line: "Partilhar pelo LINE"
|
line: "Partilhar pelo LINE"
|
||||||
weibo: "Partilhar pelo Weibo"
|
weibo: "Partilhar pelo Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recente"
|
recent_articles: "Recente"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Trimite pe Telegram"
|
telegram: "Trimite pe Telegram"
|
||||||
line: "Trimite pe LINE"
|
line: "Trimite pe LINE"
|
||||||
weibo: "Trimite pe Weibo"
|
weibo: "Trimite pe Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Cele mai noi"
|
recent_articles: "Cele mai noi"
|
||||||
|
|
|
@ -58,6 +58,7 @@ sharing:
|
||||||
telegram: "Поделиться на Telegram"
|
telegram: "Поделиться на Telegram"
|
||||||
line: "Поделиться на LINE"
|
line: "Поделиться на LINE"
|
||||||
weibo: "Поделиться на Weibo"
|
weibo: "Поделиться на Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Последние"
|
recent_articles: "Последние"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "Zdieľaj na Telegram"
|
telegram: "Zdieľaj na Telegram"
|
||||||
line: "Zdieľaj na LINE"
|
line: "Zdieľaj na LINE"
|
||||||
weibo: "Zdieľaj na Weibo"
|
weibo: "Zdieľaj na Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Nedávne"
|
recent_articles: "Nedávne"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
telegram: "Telegram'da paylaş"
|
telegram: "Telegram'da paylaş"
|
||||||
line: "LINE'da paylaş"
|
line: "LINE'da paylaş"
|
||||||
weibo: "Weibo'da paylaş"
|
weibo: "Weibo'da paylaş"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Güncel"
|
recent_articles: "Güncel"
|
||||||
|
|
|
@ -58,6 +58,7 @@ sharing:
|
||||||
telegram: "Поширити на Telegram"
|
telegram: "Поширити на Telegram"
|
||||||
line: "Поширити на LINE"
|
line: "Поширити на LINE"
|
||||||
weibo: "Поширити на Weibo"
|
weibo: "Поширити на Weibo"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Недавні дописи"
|
recent_articles: "Недавні дописи"
|
||||||
|
|
|
@ -53,6 +53,7 @@ sharing:
|
||||||
telegram: "分享到 Telegram"
|
telegram: "分享到 Telegram"
|
||||||
line: "分享到 LINE"
|
line: "分享到 LINE"
|
||||||
weibo: "分享到 微博"
|
weibo: "分享到 微博"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "最近的文章"
|
recent_articles: "最近的文章"
|
||||||
|
|
|
@ -54,6 +54,7 @@ sharing:
|
||||||
telegram: "分享到 Telegram"
|
telegram: "分享到 Telegram"
|
||||||
line: "分享到 LINE"
|
line: "分享到 LINE"
|
||||||
weibo: "分享到 微博"
|
weibo: "分享到 微博"
|
||||||
|
# x-twitter: "Post on X"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "最近的文章"
|
recent_articles: "最近的文章"
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
{{- $link := .Destination -}}
|
{{- $link := .Destination -}}
|
||||||
{{- $isRemote := strings.HasPrefix $link "http" -}}
|
{{- $isRemote := strings.HasPrefix $link "http" -}}
|
||||||
{{- if not $isRemote }}
|
{{- if not $isRemote }}
|
||||||
{{ $url := urls.Parse .Destination }}
|
{{- $url := urls.Parse .Destination -}}
|
||||||
{{- if $url.Path }}
|
{{- if $url.Path }}
|
||||||
{{ $fragment := "" }}
|
{{- $fragment := "" }}
|
||||||
{{- with $url.Fragment }}{{ $fragment = printf "#%s" . }}{{ end -}}
|
{{- with $url.Fragment }}{{ $fragment = printf "#%s" . }}{{ end -}}
|
||||||
{{- with .Page.GetPage $url.Path }}
|
{{- with .Page.GetPage $url.Path }}
|
||||||
{{ $link = printf "%s%s" .RelPermalink $fragment }}
|
{{ $link = printf "%s%s" .RelPermalink $fragment }}
|
||||||
|
@ -14,5 +14,4 @@
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
<!-- prettier-ignore -->
|
<!-- prettier-ignore --><a href="{{ $link | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if $isRemote }} target="_blank" rel="noreferrer"{{ end }}>{{- .Text | safeHTML -}}</a>
|
||||||
<a href="{{ $link | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if $isRemote }} target="_blank" rel="noreferrer"{{ end }}>{{- .Text | safeHTML -}}</a>
|
|
|
@ -1,10 +1,10 @@
|
||||||
<details open class="-ms-5 mt-0 overflow-hidden rounded-lg ps-5">
|
<details open class="-ms-5 mt-0 overflow-hidden rounded-lg ps-5">
|
||||||
<summary
|
<summary
|
||||||
class="-ms-5 block cursor-pointer bg-neutral-100 py-1 ps-5 text-lg font-semibold text-neutral-800 lg:hidden dark:bg-neutral-700 dark:text-neutral-100"
|
class="block cursor-pointer bg-neutral-100 py-1 ps-5 text-lg font-semibold text-neutral-800 dark:bg-neutral-700 dark:text-neutral-100 lg:hidden"
|
||||||
>
|
>
|
||||||
{{ i18n "article.table_of_contents" }}
|
{{ i18n "article.table_of_contents" }}
|
||||||
</summary>
|
</summary>
|
||||||
<div class="-ms-5 border-s border-dotted border-neutral-300 py-2 ps-5 dark:border-neutral-600">
|
<div class="border-s border-dotted border-neutral-300 py-2 ps-5 dark:border-neutral-600">
|
||||||
{{ .TableOfContents | emojify }}
|
{{ .TableOfContents | emojify }}
|
||||||
</div>
|
</div>
|
||||||
</details>
|
</details>
|
||||||
|
|
|
@ -0,0 +1,273 @@
|
||||||
|
{{- /* util/divineRGBVal consume a tailwind color name and weight, return RGB val in hex format. */ -}}
|
||||||
|
{{- $rgbItchy := newScratch -}}
|
||||||
|
{{- $themeColors := newScratch -}}
|
||||||
|
{{- $debug := (site.Params.divineRGBVals.debug|default false) -}}
|
||||||
|
{{- $rgbItchy.Set "logPrefix" "[util/divineRGBVal.html] " -}}
|
||||||
|
{{- $rgbItchy.Set "debugPrefix" (print "[DEBUG]" ( $rgbItchy.Get "logPrefix" )) -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s Debug enabled" ( $rgbItchy.Get "debugPrefix") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $rgbItchy.Set "needThemeLookup" false -}}
|
||||||
|
{{- $rgbItchy.Set "twLookupSource" (site.Params.divineRGBVals.tailwindMap |default nil ) -}}
|
||||||
|
{{- $rgbItchy.Set "returnVal" "#000000" -}}
|
||||||
|
{{- $rgbItchy.Set "themeSource" (site.Params.divineRGBVals.themeColorMap|default "site.Data.congo") -}}
|
||||||
|
{{- $rgbItchy.Set "twLookupSource" (site.Params.divineRGBVals.tailwindMap |default nil ) -}}
|
||||||
|
{{- $rgbItchy.Set "schemeColors" nil -}}
|
||||||
|
{{- $rgbItchy.Set "primary" (site.Params.divineRGBVals.primary |default nil) -}}
|
||||||
|
{{- $rgbItchy.Set "secondary" (site.Params.divineRGBVals.secondary |default nil) -}}
|
||||||
|
{{- $rgbItchy.Set "neutral" (site.Params.divineRGBVals.neutral |default nil) -}}
|
||||||
|
{{- $colorSchemeName := $rgbItchy.Get "scheme" -}}
|
||||||
|
{{- $ctx := .context -}}
|
||||||
|
{{- $color := (.color|default nil) -}}
|
||||||
|
{{- $shade := (.shade|default nil) -}}
|
||||||
|
{{- $scheme := (.scheme |default nil ) -}}
|
||||||
|
{{- $return := (.return |default "RGB" ) -}}
|
||||||
|
{{- $validReturns := slice "RGB" "TWColor" "TWColorShade" -}}
|
||||||
|
{{- if in $validReturns $return -}}
|
||||||
|
{{- if and $debug (ne $return "RGB") -}}
|
||||||
|
{{- warnf "%s ---- Return set to: %s " ( $rgbItchy.Get "debugPrefix") (string $return) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $rgbItchy.Set "return" $return -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- warnf "%s xxxx Unsupported value of %s set for return. Setting to 'RGB' instead." ($rgbItchy.Get "logPrefix") $return -}}
|
||||||
|
{{- $rgbItchy.Set "return" "RGB" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if $scheme -}}
|
||||||
|
{{- $rgbItchy.Set "scheme" $scheme -}}
|
||||||
|
{{- if ne $scheme ( site.Params.colorScheme ) -}}
|
||||||
|
{{- $rgbItchy.Set "needThemeLookup" true -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s ..-. Requested colorScheme '%s' differs from scheme '%s' read from site.Params.colorScheme. Lookup will be necessary." ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "scheme") (site.Params.colorScheme) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $rgbItchy.Set "scheme" ( site.Params.colorScheme ) -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s ..-. Theme colorScheme not provided on invocation. Read '%s' from site.Params.colorScheme." ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "scheme") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if $shade -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s .+.. Shade given: %s " ( $rgbItchy.Get "debugPrefix") (string $shade) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if (strings.HasSuffix $shade "0") -}}
|
||||||
|
{{- $rgbItchy.Set "shade" (string $shade) -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s .-.. Shade ends with 0 : %s " ($rgbItchy.Get "debugPrefix") ($rgbItchy.Get "shade") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if $color -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s +... Color given: %s " ( $rgbItchy.Get "debugPrefix") $color -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if and ( strings.Contains $color "-" ) (strings.HasSuffix $color "0") -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s -... Color %s seems to be a tailwind-style (color)-(shade)" ( $rgbItchy.Get "debugPrefix") $color -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- /* TODO: There has to be a better way to achieve this ????? */ -}}
|
||||||
|
{{- $c := strings.Split $color "-" -}}
|
||||||
|
{{- $col := delimit (first 1 $c) "" -}}
|
||||||
|
{{- $shd := delimit ( last 1 $c) "" -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s --.. Color/Shade: %s %s " ( $rgbItchy.Get "debugPrefix") $col $shd -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if and ($shade) (ne $shd (string $shade)) -}}
|
||||||
|
{{- warnf "%s --.. We were fed a tailwind-style color-shade ( %s ) and a shade (%s). %s and %s are not the same value. Please provide one or the other. " ( $rgbItchy.Get "logPrefix") $color (string $shade) $shd (string $shade) -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $rgbItchy.Set "color" $col -}}
|
||||||
|
{{- $rgbItchy.Set "shade" $shd -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s ++.. Set Scratch vars Color: %s Shade: %s " ( $rgbItchy.Get "debugPrefix") ( $rgbItchy.Get "color") ( $rgbItchy.Get "shade") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s --.. Color '%s' doesn't seem to be a tailwind-style (color)-(shade) combo. " ( $rgbItchy.Get "debugPrefix") $color -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $rgbItchy.Set "color" $color -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if in ( slice "primary" "secondary" "neutral") ($rgbItchy.Get "color") -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s -.-. Color '%s' references a theme-abstracted value. Further divination required" ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "color") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $rgbItchy.Set "needThemeLookup" true -}}
|
||||||
|
{{- if not ($rgbItchy.Get "shade") -}}
|
||||||
|
{{- $rgbItchy.Set "shade" ($rgbItchy.Get "color") -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s .--. Desired Shade unknown. Will lookup theme-value default for %s" ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "color") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if ($rgbItchy.Get "shade") -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s .+.. Desired Shade: %s" ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "shade") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $rgbItchy.Set "needThemeLookup" true -}}
|
||||||
|
{{- $rgbItchy.Set "shade" ($rgbItchy.Get "color") -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s .--. Desired Shade unknown. Will lookup default for %s" ( $rgbItchy.Get "logPrefix") ($rgbItchy.Get "shade") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- /*
|
||||||
|
At this point, we should know if
|
||||||
|
- we need to lookup theme-specific colormap
|
||||||
|
- we need to lookup default shades
|
||||||
|
*/ -}}
|
||||||
|
{{- if ($rgbItchy.Get "needThemeLookup") -}}
|
||||||
|
{{- /* We need to lookup theme-specific information to return the requested color */ -}}
|
||||||
|
{{- if not (strings.HasSuffix ($rgbItchy.Get "shade") "0") -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s .--? Shade not provided on invocation. Determining fallback value for '%s'." ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "shade") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- with $themeData := (index site.Data ($rgbItchy.Get "themeSource")) -}}
|
||||||
|
{{- range $wK, $wV := $themeData.colorWeights -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s .--. Iterating default weights: %s %s" ( $rgbItchy.Get "debugPrefix") $wK ($rgbItchy.Get "shade") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if eq $wK ($rgbItchy.Get "shade") -}}
|
||||||
|
{{- $rgbItchy.Set "shade" $wV -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s .+-. Found weight for K:%s. Set shade to:%s" ( $rgbItchy.Get "debugPrefix") $wK ($rgbItchy.Get "shade") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if not (strings.HasSuffix ($rgbItchy.Get "shade") "0") -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s +--. Default shade for %s not found. Fetching fallback value." ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "shade") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $rgbItchy.Set "shade" $themeData.fallbackWeight -}}
|
||||||
|
{{- warnf "%s .+-. Shade value set to fallback: %s." ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "shade") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- /* shade should be set no matter what now. */ -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- errorf "%s xxx. Theme DataFile %s not accessible, and color shade not provided. Sorry Charlie." ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "themeSource") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if and (eq ($rgbItchy.Get "primary") nil) (eq ($rgbItchy.Get "secondary") nil) (eq ($rgbItchy.Get "neutral") nil) -}}
|
||||||
|
{{- /* we need to find the Tailwind colors for our theme. */ -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s -.-? %s Scheme Color names unknown. Shortcut this by setting Site params.divineRGBVals.(primary,secondary,neutral) to the values discerned from divination." ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "scheme") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- with $themeData := (index site.Data ($rgbItchy.Get "themeSource")) -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s ..-? Theme Datafile %s Accessible " ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "themeSource") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- range $tK, $tV := $themeData.themeColors -}}
|
||||||
|
{{- if and (reflect.IsMap $tV) (eq ($rgbItchy.Get "primary") nil) (eq ($rgbItchy.Get "secondary") nil) (eq ($rgbItchy.Get "neutral") nil) -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s -.-? Iterating themeData: K:%d V:%s " ( $rgbItchy.Get "debugPrefix") $tK $tV -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- range $label, $blob := $tV -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s ..-? Evaluating Scheme %d Name:%s " ( $rgbItchy.Get "debugPrefix") $tK $label -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if eq $label ($rgbItchy.Get "scheme") -}}
|
||||||
|
{{- /* we got a match. assign the match to an element in our scratch object */ -}}
|
||||||
|
{{- $rgbItchy.Set "schemeColors" $blob -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s ..*? Matched Scheme %s! P: %s, S: %s N: %s " ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "scheme") ($rgbItchy.Get "schemeColors").primary ($rgbItchy.Get "schemeColors").secondary ($rgbItchy.Get "schemeColors").neutral }}
|
||||||
|
{{- end -}}
|
||||||
|
{{- range $colorRole, $colorName := $blob -}}
|
||||||
|
{{- $rgbItchy.Set $colorRole $colorName -}}
|
||||||
|
{{- if not ($themeColors.Get $colorRole) -}}
|
||||||
|
{{- $themeColors.Set $colorRole $colorName -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s +.+? Setting the value of scratch object $rgbItchy.%s. Reading it Back to verify: %s" ( $rgbItchy.Get "debugPrefix") $colorRole ($rgbItchy.Get $colorRole) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- /* We don't have the lookup file for the theme's colors. */ -}}
|
||||||
|
{{- errorf "%s ..x. Theme DataFile %s not accessible, but required to proceed. Sorry.." ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "themeSource") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- range $colorRole := slice "primary" "secondary" "neutral" -}}
|
||||||
|
{{- warnf "%s +... %s color set in params as %s" ( $rgbItchy.Get "debugPrefix") $colorRole ($rgbItchy.Get $colorRole) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- /* we have the Tailwind colors for the requested scheme. */ -}}
|
||||||
|
{{- range $colorRole := slice "primary" "secondary" "neutral" -}}
|
||||||
|
{{- if eq $colorRole ( $rgbItchy.Get "color") -}}
|
||||||
|
{{- $rgbItchy.Set "color" ($rgbItchy.Get $colorRole) -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s +.+? Color %s disambiguated to %s" ( $rgbItchy.Get "debugPrefix") $colorRole ($rgbItchy.Get $colorRole) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if or (eq ($rgbItchy.Get "return") "TWColor") (eq ($rgbItchy.Get "return") "TWColorShade" ) -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s +..+ Returning the Tailwind Color Name for %s %s requested: %s " ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "scheme") $colorRole ($rgbItchy.Get "color") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if eq ($rgbItchy.Get "return") "TWColor" -}}
|
||||||
|
{{- $rgbItchy.Set "returnVal" (printf "%s" ($rgbItchy.Get "color") ) -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s *.** returnVal set to color: %s " ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "returnVal") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- else if eq ($rgbItchy.Get "return") "TWColorShade" -}}
|
||||||
|
{{- $rgbItchy.Set "returnVal" (printf "%s-%s" ($rgbItchy.Get "color") ($rgbItchy.Get "shade") ) -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s **** returnVal set to color-shade: %s " ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "returnVal") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- else if $debug -}}
|
||||||
|
{{- warnf "%s +.+? Role %s is %s" ( $rgbItchy.Get "debugPrefix") $colorRole ($rgbItchy.Get $colorRole) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- /* the lookup in question doesn't need theme-scoped data. just tailwind. */ -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if eq ( $rgbItchy.Get "return") "RGB" -}}
|
||||||
|
{{- with $tailwind := (index site.Data ($rgbItchy.Get "twLookupSource")) -}}{{- /* We have the map of tailwind colors to RGB Vals. */ -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s ...- Tailwind ColorMap Datafile %s Accessible" ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "twLookupSource") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $col := default nil -}}
|
||||||
|
{{- $shd := default nil -}}
|
||||||
|
{{- $val := default nil -}}
|
||||||
|
{{- range $tK, $tV := $tailwind -}}
|
||||||
|
{{- if not $col -}}
|
||||||
|
{{- range $cName, $cVals := $tV }}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s *..- Evaluating Tailwind Mapdata %d:%s %s " ( $rgbItchy.Get "debugPrefix") $tK $cName ($rgbItchy.Get "color") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if eq $cName ($rgbItchy.Get "color") -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s **.+ Found color %s %s" ( $rgbItchy.Get "debugPrefix") $tK ($rgbItchy.Get "color") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $col = $cVals -}}
|
||||||
|
{{- range $sNum, $sVal := $cVals }}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s **.- Evaluating %d:%s Shades :%s %s " ( $rgbItchy.Get "debugPrefix") $tK $cName $sNum ($rgbItchy.Get "shade") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if eq $sNum ($rgbItchy.Get "shade") -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s **.+ Found %s:%d RGBVal: %s" ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "color") $sNum $sVal -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $rgbItchy.Set "returnVal" $sVal -}}
|
||||||
|
{{- if $debug -}}
|
||||||
|
{{- warnf "%s **** ReturnVal set %s" ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "returnVal") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- /* return ( $rgbItchy.Get "returnVal" ) */ -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- /* We don't have the map of tailwind colors to RGB Vals. */ -}}
|
||||||
|
{{- errorf "%s ...x Tailwind ColorMap Datafile %s not accessible." ( $rgbItchy.Get "debugPrefix") ($rgbItchy.Get "twLookupSource") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- return ( $rgbItchy.Get "returnVal" ) -}}
|
|
@ -11,13 +11,13 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.10",
|
"@tailwindcss/typography": "^0.5.10",
|
||||||
"chart.js": "^4.4.1",
|
"chart.js": "^4.4.2",
|
||||||
"fuse.js": "^7.0.0",
|
"fuse.js": "^7.0.0",
|
||||||
"katex": "^0.16.9",
|
"katex": "^0.16.9",
|
||||||
"mermaid": "^10.7.0",
|
"mermaid": "^10.9.0",
|
||||||
"prettier": "^3.2.5",
|
"prettier": "^3.2.5",
|
||||||
"prettier-plugin-go-template": "^0.0.15",
|
"prettier-plugin-go-template": "^0.0.15",
|
||||||
"prettier-plugin-tailwindcss": "^0.5.11",
|
"prettier-plugin-tailwindcss": "^0.5.12",
|
||||||
"quicklink": "^2.3.0",
|
"quicklink": "^2.3.0",
|
||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"tailwindcss": "^3.4.1",
|
"tailwindcss": "^3.4.1",
|
||||||
|
@ -338,15 +338,15 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/chart.js": {
|
"node_modules/chart.js": {
|
||||||
"version": "4.4.1",
|
"version": "4.4.2",
|
||||||
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.2.tgz",
|
||||||
"integrity": "sha512-C74QN1bxwV1v2PEujhmKjOZ7iUM4w6BWs23Md/6aOZZSlwMzeCIDGuZay++rBgChYru7/+QFeoQW0fQoP534Dg==",
|
"integrity": "sha512-6GD7iKwFpP5kbSD4MeRRRlTnQvxfQREy36uEtm1hzHzcOqwWx0YEHuspuoNlslu+nciLIB7fjjsHkUv/FzFcOg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@kurkle/color": "^0.3.0"
|
"@kurkle/color": "^0.3.0"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"pnpm": ">=7"
|
"pnpm": ">=8"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/chokidar": {
|
"node_modules/chokidar": {
|
||||||
|
@ -457,9 +457,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/cytoscape": {
|
"node_modules/cytoscape": {
|
||||||
"version": "3.23.0",
|
"version": "3.28.1",
|
||||||
"resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.28.1.tgz",
|
||||||
"integrity": "sha512-gRZqJj/1kiAVPkrVFvz/GccxsXhF3Qwpptl32gKKypO4IlqnKBjTOu+HbXtEggSGzC5KCaHp3/F7GgENrtsFkA==",
|
"integrity": "sha512-xyItz4O/4zp9/239wCcH8ZcFuuZooEeF8KHRmzjDfGdXsj3OG9MFSMA0pJE0uX3uCN/ygof6hHf4L7lst+JaDg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"heap": "^0.2.6",
|
"heap": "^0.2.6",
|
||||||
|
@ -481,33 +481,6 @@
|
||||||
"cytoscape": "^3.2.0"
|
"cytoscape": "^3.2.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/cytoscape-fcose": {
|
|
||||||
"version": "2.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/cytoscape-fcose/-/cytoscape-fcose-2.2.0.tgz",
|
|
||||||
"integrity": "sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"cose-base": "^2.2.0"
|
|
||||||
},
|
|
||||||
"peerDependencies": {
|
|
||||||
"cytoscape": "^3.2.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/cytoscape-fcose/node_modules/cose-base": {
|
|
||||||
"version": "2.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/cose-base/-/cose-base-2.2.0.tgz",
|
|
||||||
"integrity": "sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==",
|
|
||||||
"dev": true,
|
|
||||||
"dependencies": {
|
|
||||||
"layout-base": "^2.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"node_modules/cytoscape-fcose/node_modules/layout-base": {
|
|
||||||
"version": "2.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/layout-base/-/layout-base-2.0.1.tgz",
|
|
||||||
"integrity": "sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"node_modules/d3": {
|
"node_modules/d3": {
|
||||||
"version": "7.8.4",
|
"version": "7.8.4",
|
||||||
"resolved": "https://registry.npmjs.org/d3/-/d3-7.8.4.tgz",
|
"resolved": "https://registry.npmjs.org/d3/-/d3-7.8.4.tgz",
|
||||||
|
@ -1510,23 +1483,23 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/mermaid": {
|
"node_modules/mermaid": {
|
||||||
"version": "10.7.0",
|
"version": "10.9.0",
|
||||||
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.9.0.tgz",
|
||||||
"integrity": "sha512-PsvGupPCkN1vemAAjScyw4pw34p4/0dZkSrqvAB26hUvJulOWGIwt35FZWmT9wPIi4r0QLa5X0PB4YLIGn0/YQ==",
|
"integrity": "sha512-swZju0hFox/B/qoLKK0rOxxgh8Cf7rJSfAUc1u8fezVihYMvrJAS45GzAxTVf4Q+xn9uMgitBcmWk7nWGXOs/g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@braintree/sanitize-url": "^6.0.1",
|
"@braintree/sanitize-url": "^6.0.1",
|
||||||
"@types/d3-scale": "^4.0.3",
|
"@types/d3-scale": "^4.0.3",
|
||||||
"@types/d3-scale-chromatic": "^3.0.0",
|
"@types/d3-scale-chromatic": "^3.0.0",
|
||||||
"cytoscape": "^3.23.0",
|
"cytoscape": "^3.28.1",
|
||||||
"cytoscape-cose-bilkent": "^4.1.0",
|
"cytoscape-cose-bilkent": "^4.1.0",
|
||||||
"cytoscape-fcose": "^2.1.0",
|
|
||||||
"d3": "^7.4.0",
|
"d3": "^7.4.0",
|
||||||
"d3-sankey": "^0.12.3",
|
"d3-sankey": "^0.12.3",
|
||||||
"dagre-d3-es": "7.0.10",
|
"dagre-d3-es": "7.0.10",
|
||||||
"dayjs": "^1.11.7",
|
"dayjs": "^1.11.7",
|
||||||
"dompurify": "^3.0.5",
|
"dompurify": "^3.0.5",
|
||||||
"elkjs": "^0.9.0",
|
"elkjs": "^0.9.0",
|
||||||
|
"katex": "^0.16.9",
|
||||||
"khroma": "^2.0.0",
|
"khroma": "^2.0.0",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"mdast-util-from-markdown": "^1.3.0",
|
"mdast-util-from-markdown": "^1.3.0",
|
||||||
|
@ -2363,9 +2336,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/prettier-plugin-tailwindcss": {
|
"node_modules/prettier-plugin-tailwindcss": {
|
||||||
"version": "0.5.11",
|
"version": "0.5.12",
|
||||||
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.11.tgz",
|
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.12.tgz",
|
||||||
"integrity": "sha512-AvI/DNyMctyyxGOjyePgi/gqj5hJYClZ1avtQvLlqMT3uDZkRbi4HhGUpok3DRzv9z7Lti85Kdj3s3/1CeNI0w==",
|
"integrity": "sha512-o74kiDBVE73oHW+pdkFSluHBL3cYEvru5YgEqNkBMFF7Cjv+w1vI565lTlfoJT4VLWDe0FMtZ7FkE/7a4pMXSQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=14.21.3"
|
"node": ">=14.21.3"
|
||||||
|
@ -2383,6 +2356,7 @@
|
||||||
"prettier-plugin-marko": "*",
|
"prettier-plugin-marko": "*",
|
||||||
"prettier-plugin-organize-attributes": "*",
|
"prettier-plugin-organize-attributes": "*",
|
||||||
"prettier-plugin-organize-imports": "*",
|
"prettier-plugin-organize-imports": "*",
|
||||||
|
"prettier-plugin-sort-imports": "*",
|
||||||
"prettier-plugin-style-order": "*",
|
"prettier-plugin-style-order": "*",
|
||||||
"prettier-plugin-svelte": "*"
|
"prettier-plugin-svelte": "*"
|
||||||
},
|
},
|
||||||
|
@ -2420,6 +2394,9 @@
|
||||||
"prettier-plugin-organize-imports": {
|
"prettier-plugin-organize-imports": {
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
|
"prettier-plugin-sort-imports": {
|
||||||
|
"optional": true
|
||||||
|
},
|
||||||
"prettier-plugin-style-order": {
|
"prettier-plugin-style-order": {
|
||||||
"optional": true
|
"optional": true
|
||||||
},
|
},
|
||||||
|
@ -3453,9 +3430,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"chart.js": {
|
"chart.js": {
|
||||||
"version": "4.4.1",
|
"version": "4.4.2",
|
||||||
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.1.tgz",
|
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.2.tgz",
|
||||||
"integrity": "sha512-C74QN1bxwV1v2PEujhmKjOZ7iUM4w6BWs23Md/6aOZZSlwMzeCIDGuZay++rBgChYru7/+QFeoQW0fQoP534Dg==",
|
"integrity": "sha512-6GD7iKwFpP5kbSD4MeRRRlTnQvxfQREy36uEtm1hzHzcOqwWx0YEHuspuoNlslu+nciLIB7fjjsHkUv/FzFcOg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@kurkle/color": "^0.3.0"
|
"@kurkle/color": "^0.3.0"
|
||||||
|
@ -3542,9 +3519,9 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"cytoscape": {
|
"cytoscape": {
|
||||||
"version": "3.23.0",
|
"version": "3.28.1",
|
||||||
"resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.23.0.tgz",
|
"resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.28.1.tgz",
|
||||||
"integrity": "sha512-gRZqJj/1kiAVPkrVFvz/GccxsXhF3Qwpptl32gKKypO4IlqnKBjTOu+HbXtEggSGzC5KCaHp3/F7GgENrtsFkA==",
|
"integrity": "sha512-xyItz4O/4zp9/239wCcH8ZcFuuZooEeF8KHRmzjDfGdXsj3OG9MFSMA0pJE0uX3uCN/ygof6hHf4L7lst+JaDg==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"heap": "^0.2.6",
|
"heap": "^0.2.6",
|
||||||
|
@ -3560,32 +3537,6 @@
|
||||||
"cose-base": "^1.0.0"
|
"cose-base": "^1.0.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cytoscape-fcose": {
|
|
||||||
"version": "2.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/cytoscape-fcose/-/cytoscape-fcose-2.2.0.tgz",
|
|
||||||
"integrity": "sha512-ki1/VuRIHFCzxWNrsshHYPs6L7TvLu3DL+TyIGEsRcvVERmxokbf5Gdk7mFxZnTdiGtnA4cfSmjZJMviqSuZrQ==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"cose-base": "^2.2.0"
|
|
||||||
},
|
|
||||||
"dependencies": {
|
|
||||||
"cose-base": {
|
|
||||||
"version": "2.2.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/cose-base/-/cose-base-2.2.0.tgz",
|
|
||||||
"integrity": "sha512-AzlgcsCbUMymkADOJtQm3wO9S3ltPfYOFD5033keQn9NJzIbtnZj+UdBJe7DYml/8TdbtHJW3j58SOnKhWY/5g==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"layout-base": "^2.0.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"layout-base": {
|
|
||||||
"version": "2.0.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/layout-base/-/layout-base-2.0.1.tgz",
|
|
||||||
"integrity": "sha512-dp3s92+uNI1hWIpPGH3jK2kxE2lMjdXdr+DH8ynZHpd6PUlH6x6cbuXnoMmiNumznqaNO31xu9e79F0uuZ0JFg==",
|
|
||||||
"dev": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"d3": {
|
"d3": {
|
||||||
"version": "7.8.4",
|
"version": "7.8.4",
|
||||||
"resolved": "https://registry.npmjs.org/d3/-/d3-7.8.4.tgz",
|
"resolved": "https://registry.npmjs.org/d3/-/d3-7.8.4.tgz",
|
||||||
|
@ -4361,23 +4312,23 @@
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"mermaid": {
|
"mermaid": {
|
||||||
"version": "10.7.0",
|
"version": "10.9.0",
|
||||||
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.7.0.tgz",
|
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.9.0.tgz",
|
||||||
"integrity": "sha512-PsvGupPCkN1vemAAjScyw4pw34p4/0dZkSrqvAB26hUvJulOWGIwt35FZWmT9wPIi4r0QLa5X0PB4YLIGn0/YQ==",
|
"integrity": "sha512-swZju0hFox/B/qoLKK0rOxxgh8Cf7rJSfAUc1u8fezVihYMvrJAS45GzAxTVf4Q+xn9uMgitBcmWk7nWGXOs/g==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"@braintree/sanitize-url": "^6.0.1",
|
"@braintree/sanitize-url": "^6.0.1",
|
||||||
"@types/d3-scale": "^4.0.3",
|
"@types/d3-scale": "^4.0.3",
|
||||||
"@types/d3-scale-chromatic": "^3.0.0",
|
"@types/d3-scale-chromatic": "^3.0.0",
|
||||||
"cytoscape": "^3.23.0",
|
"cytoscape": "^3.28.1",
|
||||||
"cytoscape-cose-bilkent": "^4.1.0",
|
"cytoscape-cose-bilkent": "^4.1.0",
|
||||||
"cytoscape-fcose": "^2.1.0",
|
|
||||||
"d3": "^7.4.0",
|
"d3": "^7.4.0",
|
||||||
"d3-sankey": "^0.12.3",
|
"d3-sankey": "^0.12.3",
|
||||||
"dagre-d3-es": "7.0.10",
|
"dagre-d3-es": "7.0.10",
|
||||||
"dayjs": "^1.11.7",
|
"dayjs": "^1.11.7",
|
||||||
"dompurify": "^3.0.5",
|
"dompurify": "^3.0.5",
|
||||||
"elkjs": "^0.9.0",
|
"elkjs": "^0.9.0",
|
||||||
|
"katex": "^0.16.9",
|
||||||
"khroma": "^2.0.0",
|
"khroma": "^2.0.0",
|
||||||
"lodash-es": "^4.17.21",
|
"lodash-es": "^4.17.21",
|
||||||
"mdast-util-from-markdown": "^1.3.0",
|
"mdast-util-from-markdown": "^1.3.0",
|
||||||
|
@ -4860,9 +4811,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"prettier-plugin-tailwindcss": {
|
"prettier-plugin-tailwindcss": {
|
||||||
"version": "0.5.11",
|
"version": "0.5.12",
|
||||||
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.11.tgz",
|
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.12.tgz",
|
||||||
"integrity": "sha512-AvI/DNyMctyyxGOjyePgi/gqj5hJYClZ1avtQvLlqMT3uDZkRbi4HhGUpok3DRzv9z7Lti85Kdj3s3/1CeNI0w==",
|
"integrity": "sha512-o74kiDBVE73oHW+pdkFSluHBL3cYEvru5YgEqNkBMFF7Cjv+w1vI565lTlfoJT4VLWDe0FMtZ7FkE/7a4pMXSQ==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {}
|
"requires": {}
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hugo-congo-theme",
|
"name": "hugo-congo-theme",
|
||||||
"version": "2.8.0",
|
"version": "2.8.1",
|
||||||
"description": "Congo theme for Hugo",
|
"description": "Congo theme for Hugo",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinstall": "rimraf assets/lib",
|
"preinstall": "rimraf assets/lib",
|
||||||
|
@ -30,13 +30,13 @@
|
||||||
"homepage": "https://github.com/jpanther/congo#readme",
|
"homepage": "https://github.com/jpanther/congo#readme",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.10",
|
"@tailwindcss/typography": "^0.5.10",
|
||||||
"chart.js": "^4.4.1",
|
"chart.js": "^4.4.2",
|
||||||
"fuse.js": "^7.0.0",
|
"fuse.js": "^7.0.0",
|
||||||
"katex": "^0.16.9",
|
"katex": "^0.16.9",
|
||||||
"mermaid": "^10.7.0",
|
"mermaid": "^10.9.0",
|
||||||
"prettier": "^3.2.5",
|
"prettier": "^3.2.5",
|
||||||
"prettier-plugin-go-template": "^0.0.15",
|
"prettier-plugin-go-template": "^0.0.15",
|
||||||
"prettier-plugin-tailwindcss": "^0.5.11",
|
"prettier-plugin-tailwindcss": "^0.5.12",
|
||||||
"quicklink": "^2.3.0",
|
"quicklink": "^2.3.0",
|
||||||
"rimraf": "^5.0.5",
|
"rimraf": "^5.0.5",
|
||||||
"tailwindcss": "^3.4.1",
|
"tailwindcss": "^3.4.1",
|
||||||
|
|
Loading…
Reference in New Issue