Compare commits

...

75 Commits
v2.8.0 ... dev

Author SHA1 Message Date
James Panther 577d2bbe6e
📝 Update changelog 2024-04-17 15:11:56 +10:00
James Panther 26159437b7
🔀 Merge pull request #849 from ItsSunnyMonster/add-theme-color
 add defaultThemeColor option
2024-04-17 15:10:10 +10:00
James Panther b9ffd9598d
🔀 Merge pull request #832 from fmaida/fmaida
Add support for Umami Analytics
2024-04-17 15:08:10 +10:00
James Panther a6e1afcc80
📝 Update changelog 2024-04-17 15:06:32 +10:00
James Panther f6eef7257b
🔀 Merge pull request #851 from clouvet/bluesky-icon
Add icon for Bluesky social network
2024-04-17 15:05:02 +10:00
James Panther 041e423d42
🔨 Preparing release v2.8.2 2024-04-17 10:41:41 +10:00
James Panther e81bb254e7
📝 Update changelog 2024-04-17 10:21:02 +10:00
James Panther 8866702717
🔀 Merge pull request #848 from ItsSunnyMonster/dev
🐛 fix theme color not set correctly on load
2024-04-17 10:19:04 +10:00
James Panther 8d38b5c7e2
📝 Update changelog 2024-04-17 09:44:01 +10:00
James Panther 2163e918cc
🔀 Merge pull request #860 from jpanther/dependabot/npm_and_yarn/tailwindcss/typography-0.5.12
📌 Bump @tailwindcss/typography from 0.5.11 to 0.5.12
2024-04-17 09:43:26 +10:00
dependabot[bot] ba23fbc99e 💄 Rebuild CSS 2024-04-16 23:39:01 +00:00
dependabot[bot] 9a6856ab06
📌 Bump @tailwindcss/typography from 0.5.11 to 0.5.12
Bumps [@tailwindcss/typography](https://github.com/tailwindlabs/tailwindcss-typography) from 0.5.11 to 0.5.12.
- [Release notes](https://github.com/tailwindlabs/tailwindcss-typography/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.11...v0.5.12)

---
updated-dependencies:
- dependency-name: "@tailwindcss/typography"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-16 23:38:39 +00:00
James Panther 13785850b9
📝 Update changelog 2024-04-17 09:37:25 +10:00
James Panther 11c22ea1ea
🔀 Merge pull request #843 from jpanther/dependabot/npm_and_yarn/tailwindcss-3.4.3
📌 Bump tailwindcss from 3.4.1 to 3.4.3
2024-04-17 09:34:06 +10:00
James Panther 3f1e7d6b93
🔀 Merge pull request #841 from jpanther/dependabot/npm_and_yarn/tailwindcss/typography-0.5.11
📌 Bump @tailwindcss/typography from 0.5.10 to 0.5.11
2024-04-17 09:33:13 +10:00
James Panther 96f9861020
🔀 Merge pull request #839 from jpanther/dependabot/npm_and_yarn/katex-0.16.10
📌 Bump katex from 0.16.9 to 0.16.10
2024-04-17 09:31:28 +10:00
James Panther f12fadff66
📝 Update docs 2024-04-17 09:30:51 +10:00
James Panther 6e3d150fc3
🔀 Merge pull request #852 from eliaserland/dev
Add Swedish localization
2024-04-17 09:26:49 +10:00
James Panther 0fa54fbd7a
🔀 Merge pull request #845 from badungphan99/dev
Add Vietnamese Localization
2024-04-17 09:26:13 +10:00
James Panther d6e163108a
🔀 Merge pull request #858 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.5.14
📌 Bump prettier-plugin-tailwindcss from 0.5.12 to 0.5.14
2024-04-17 09:23:15 +10:00
James Panther d91b152329
🔀 Merge pull request #856 from jpanther/dependabot/github_actions/peaceiris/actions-gh-pages-4
👷 Bump peaceiris/actions-gh-pages from 3 to 4
2024-04-17 09:22:38 +10:00
James Panther 5b0af18658
🔀 Merge pull request #853 from jpanther/dependabot/github_actions/peaceiris/actions-hugo-3
👷 Bump peaceiris/actions-hugo from 2 to 3
2024-04-17 09:22:16 +10:00
James Panther 60ff4ea210
🔀 Merge pull request #844 from hosni/patch-1
Add hosni.info as user of the theme
2024-04-17 09:19:39 +10:00
dependabot[bot] 8ac844a477
📌 Bump prettier-plugin-tailwindcss from 0.5.12 to 0.5.14
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.12 to 0.5.14.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.12...v0.5.14)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-15 23:46:28 +00:00
dependabot[bot] 1a44321cf4
👷 Bump peaceiris/actions-gh-pages from 3 to 4
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4)

---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-13 23:10:44 +00:00
dependabot[bot] 419c70fc77
👷 Bump peaceiris/actions-hugo from 2 to 3
Bumps [peaceiris/actions-hugo](https://github.com/peaceiris/actions-hugo) from 2 to 3.
- [Release notes](https://github.com/peaceiris/actions-hugo/releases)
- [Changelog](https://github.com/peaceiris/actions-hugo/blob/main/CHANGELOG.md)
- [Commits](https://github.com/peaceiris/actions-hugo/compare/v2...v3)

---
updated-dependencies:
- dependency-name: peaceiris/actions-hugo
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-06 23:31:45 +00:00
Elias Olofsson 33a3ac9430 Add Swedish localization 2024-04-06 15:47:26 +02:00
Christopher Louvet 480d921cef Add Bluesky icon 2024-04-04 09:45:12 +07:00
ItsSunnyMonster 4f65d3bf4e
add defaultThemeColor option 2024-04-01 19:43:01 +13:00
ItsSunnyMonster c8e11d8e47
🐛 fix theme color not set correctly on load
Fixes #796 by setting the theme color when the DOM loads
2024-04-01 18:02:33 +13:00
Phan Bá Dũng c3d6f71d55
Add Vietnamese Localization 2024-03-29 13:08:37 +07:00
Hossein Hosni 5744de4e4d
Add hosni.info as user of the theme 2024-03-28 15:10:34 +03:30
dependabot[bot] a9c3dd1533 💄 Rebuild CSS 2024-03-27 22:40:10 +00:00
dependabot[bot] b0e502cc72
📌 Bump tailwindcss from 3.4.1 to 3.4.3
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.4.1 to 3.4.3.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/v3.4.3/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.4.1...v3.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-27 22:39:49 +00:00
dependabot[bot] ef63a8d807 💄 Rebuild CSS 2024-03-26 22:22:45 +00:00
dependabot[bot] 00e1cbbc6b
📌 Bump @tailwindcss/typography from 0.5.10 to 0.5.11
Bumps [@tailwindcss/typography](https://github.com/tailwindlabs/tailwindcss-typography) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/tailwindlabs/tailwindcss-typography/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss-typography/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss-typography/compare/v0.5.10...v0.5.11)

---
updated-dependencies:
- dependency-name: "@tailwindcss/typography"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-26 22:22:22 +00:00
dependabot[bot] b4a59f00d2 📦 Update packaged KaTeX 2024-03-25 22:47:37 +00:00
dependabot[bot] a6ec609f49
📌 Bump katex from 0.16.9 to 0.16.10
Bumps [katex](https://github.com/KaTeX/KaTeX) from 0.16.9 to 0.16.10.
- [Release notes](https://github.com/KaTeX/KaTeX/releases)
- [Changelog](https://github.com/KaTeX/KaTeX/blob/main/CHANGELOG.md)
- [Commits](https://github.com/KaTeX/KaTeX/compare/v0.16.9...v0.16.10)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-25 22:47:18 +00:00
James Panther 50b77b2836
📝 Update configuration docs 2024-03-20 08:40:17 +11:00
James Panther 6759a28216
📝 Update users list 2024-03-19 13:50:19 +11:00
James Panther 16b24b1381
📝 Update changelog 2024-03-19 13:49:54 +11:00
James Panther 06b4eb8fad
🔀 Merge pull request #833 from k-capehart/dev
add kylecapehart.com as user of the theme
2024-03-19 13:48:01 +11:00
James Panther 49562152d0
🔀 Merge pull request #830 from kbdharun/dev
🌐 feat: add Tamil i18n
2024-03-19 13:47:07 +11:00
Kyle Capehart bebcbfda1c
add kylecapehart.com as user of the theme
Thanks for the awesome theme! I love it.
2024-03-18 11:20:42 -04:00
Francesco Maida 78560462ca Add Umami Analytics info to the documentation (in the english version) 📝 2024-03-17 21:00:55 +01:00
Francesco Maida c816c5fc3d Added support for Umami Analytics See #829 for further references. 2024-03-16 17:28:00 +01:00
Francesco Maida 4d5643f861 Added support for Umami Analytics. See #829 for further references. 2024-03-16 17:13:29 +01:00
K.B.Dharun Krishna 2dde30daf3
🌐 feat: add Tamil i18n
Signed-off-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2024-03-14 20:23:32 +05:30
James Panther 4acfb7b76a
🔨 Preparing release v2.8.1 2024-03-09 15:37:15 +11:00
James Panther 33d34eea0f
🐛 Fix table of contents border missing
Fixes: #794
2024-03-09 15:34:56 +11:00
James Panther 088c913f67
🐛 Fix HTML table not full width on desktop
Fixes: #826
2024-03-09 15:26:31 +11:00
James Panther fd49282446
🚸 Add `x-twitter` sharing links
Fixes: #809
2024-03-09 14:52:22 +11:00
James Panther 0510d8f655
📝 Update changelog 2024-03-09 14:23:45 +11:00
James Panther e2fa33ad46
🔀 Merge pull request #813 from tomy0000000/dev
🛠 fix: Space in rendered link
2024-03-09 14:02:23 +11:00
James Panther 21b554c341
🔀 Merge pull request #807 from Jh123x/fix/fix-author-params-in-chinese-translation
fix: fix chinese config settings
2024-03-09 14:00:55 +11:00
James Panther eec81f340f
🔀 Merge pull request #817 from jpanther/dependabot/npm_and_yarn/chart.js-4.4.2
📌 Bump chart.js from 4.4.1 to 4.4.2
2024-03-09 13:59:15 +11:00
James Panther 6bbcd04910
🔀 Merge pull request #825 from jpanther/dependabot/npm_and_yarn/mermaid-10.9.0
📌 Bump mermaid from 10.7.0 to 10.9.0
2024-03-09 13:58:48 +11:00
dependabot[bot] 8fa0ef1381 📦 Update packaged Mermaid 2024-03-09 13:55:38 +11:00
dependabot[bot] c943158c17 📌 Bump mermaid from 10.7.0 to 10.9.0
Bumps [mermaid](https://github.com/mermaid-js/mermaid) from 10.7.0 to 10.9.0.
- [Release notes](https://github.com/mermaid-js/mermaid/releases)
- [Changelog](https://github.com/mermaid-js/mermaid/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/mermaid-js/mermaid/compare/v10.7.0...v10.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-09 13:55:38 +11:00
James Panther 67a61da329
🔀 Merge pull request #824 from jpanther/dependabot/npm_and_yarn/prettier-plugin-tailwindcss-0.5.12
📌 Bump prettier-plugin-tailwindcss from 0.5.11 to 0.5.12
2024-03-09 13:54:54 +11:00
James Panther 4eb6c7ff61
🔀 Merge pull request #821 from Techwolf12/dev
Add techwolf12.nl as user of the theme
2024-03-09 13:53:35 +11:00
dependabot[bot] c3c7eb6048
📌 Bump prettier-plugin-tailwindcss from 0.5.11 to 0.5.12
Bumps [prettier-plugin-tailwindcss](https://github.com/tailwindlabs/prettier-plugin-tailwindcss) from 0.5.11 to 0.5.12.
- [Release notes](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/prettier-plugin-tailwindcss/compare/v0.5.11...v0.5.12)

---
updated-dependencies:
- dependency-name: prettier-plugin-tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-06 22:38:08 +00:00
Christiaan de Die le Clercq cc3872f270
Add techwolf12.nl as user of the theme 2024-03-03 15:25:17 +01:00
dependabot[bot] 03a4d345f0 📦 Update packaged ChartJS 2024-02-28 22:25:40 +00:00
dependabot[bot] a22b1ad664
📌 Bump chart.js from 4.4.1 to 4.4.2
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 4.4.1 to 4.4.2.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v4.4.1...v4.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-28 22:25:16 +00:00
Tomy Hsieh 0a6267c171
🛠 fix: Space in rendered link 2024-02-22 21:36:43 -05:00
Wen Junhua 4c31074d5c fix: fix config for chinese translation 2024-02-06 23:20:48 +08:00
James Panther 94feae3cca
🔀 Merge pull request #803 from jpanther/dependabot/npm_and_yarn/prettier-3.2.5
📌 Bump prettier from 3.2.4 to 3.2.5
2024-02-06 08:05:35 +11:00
dependabot[bot] 59c35d947c
📌 Bump prettier from 3.2.4 to 3.2.5
Bumps [prettier](https://github.com/prettier/prettier) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.2.4...3.2.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-04 22:27:40 +00:00
James Panther 3bdb8f768c
🔀 Merge pull request #799 from g0rbe/dev
Add gorbe.io to Congo users
2024-02-04 09:35:51 +11:00
Dániel Görbe 6fea38edd9
Update index.es.md 2024-01-31 11:05:20 +01:00
Dániel Görbe 8fc918d855
Update index.ja.md 2024-01-31 11:05:05 +01:00
Dániel Görbe 81582cd147
Update index.md 2024-01-31 11:04:50 +01:00
Dániel Görbe 22f4ff0011
Update index.zh-cn.md 2024-01-31 11:04:33 +01:00
Dániel Görbe d21901aa19
Update index.md 2024-01-31 11:03:17 +01:00
65 changed files with 1262 additions and 591 deletions

View File

@ -19,7 +19,7 @@ jobs:
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "latest"
extended: true
@ -29,7 +29,7 @@ jobs:
run: hugo --minify --themesDir ../.. --buildDrafts --baseURL https://jpanther.github.io/congo/
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/stable' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

View File

@ -16,7 +16,7 @@ jobs:
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "latest"
extended: true

View File

@ -6,6 +6,45 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
## [Unreleased]
### Added
- Umami Analytics support ([#832](https://github.com/jpanther/congo/pull/832))
- Theme parameter to set a default HTML theme colour ([#849](https://github.com/jpanther/congo/pull/849))
- New icon for `bluesky` ([#851](https://github.com/jpanther/congo/pull/851))
## [2.8.2] - 2024-04-17
### Added
- Tamil translation ([#830](https://github.com/jpanther/congo/pull/830))
- Vietnamese translation ([#845](https://github.com/jpanther/congo/pull/845))
- Swedish translation ([#852](https://github.com/jpanther/congo/pull/852))
### Changed
- Upgrade to KaTeX v0.16.10 ([#839](https://github.com/jpanther/congo/pull/839))
- Upgrade to Typography v0.5.12 ([#841](https://github.com/jpanther/congo/pull/841), [#860](https://github.com/jpanther/congo/pull/860))
- Upgrade to Tailwind v3.4.3 ([#843](https://github.com/jpanther/congo/pull/843))
### Fixed
- Background color inconsistent on mobile when dark mode enabled ([#796](https://github.com/jpanther/congo/issues/796))
## [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
### Added
@ -841,7 +880,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Advanced customisation using simple Tailwind colour definitions and styles
- Fully documented
[Unreleased]: https://github.com/jpanther/congo/compare/v2.8.0...HEAD
[Unreleased]: https://github.com/jpanther/congo/compare/v2.8.2...HEAD
[2.8.2]: https://github.com/jpanther/congo/compare/v2.8.1...v2.8.2
[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.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

View File

@ -28,7 +28,7 @@ Congo is designed to be a powerful, lightweight theme for [Hugo](https://gohugo.
- Heading anchors, Tables of Contents, Code copy, Buttons, Badges and more
- HTML and Emoji support in articles 🎉
- SEO friendly with links for sharing to social media
- Fathom Analytics and Google Analytics support
- Fathom Analytics, Plausible Analytics, Umami Analytics and Google Analytics support
- RSS feeds, Favicons and comments support
- Advanced customisation using simple Tailwind colour definitions and styles
- Optimised for performance and accessibility with perfect Lighthouse scores

View File

@ -1,6 +1,6 @@
/*! Congo v2.8.0 | MIT License | https://github.com/jpanther/congo */
/*! Congo v2.8.2 | MIT License | https://github.com/jpanther/congo */
/*! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com */
/*! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
@ -211,6 +211,8 @@ textarea {
/* 1 */
line-height: inherit;
/* 1 */
letter-spacing: inherit;
/* 1 */
color: inherit;
/* 1 */
margin: 0;
@ -234,9 +236,9 @@ select {
*/
button,
[type='button'],
[type='reset'],
[type='submit'] {
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
-webkit-appearance: button;
/* 1 */
background-color: transparent;
@ -492,6 +494,10 @@ video {
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia: ;
--tw-contain-size: ;
--tw-contain-layout: ;
--tw-contain-paint: ;
--tw-contain-style: ;
}
::backdrop {
@ -542,6 +548,10 @@ video {
--tw-backdrop-opacity: ;
--tw-backdrop-saturate: ;
--tw-backdrop-sepia: ;
--tw-contain-size: ;
--tw-contain-layout: ;
--tw-contain-paint: ;
--tw-contain-style: ;
}
.prose {
@ -597,7 +607,7 @@ video {
list-style-type: decimal;
margin-top: 1.25em;
margin-bottom: 1.25em;
padding-left: 1.625em;
padding-inline-start: 1.625em;
}
.prose :where(ol[type="A"]):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
@ -640,7 +650,7 @@ video {
list-style-type: disc;
margin-top: 1.25em;
margin-bottom: 1.25em;
padding-left: 1.625em;
padding-inline-start: 1.625em;
}
.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *))::marker {
@ -669,12 +679,12 @@ video {
font-weight: 500;
font-style: italic;
color: var(--tw-prose-quotes);
border-left-width: 0.25rem;
border-left-color: var(--tw-prose-quote-borders);
border-inline-start-width: 0.25rem;
border-inline-start-color: var(--tw-prose-quote-borders);
quotes: "\201C""\201D""\2018""\2019";
margin-top: 1.6em;
margin-bottom: 1.6em;
padding-left: 1em;
padding-inline-start: 1em;
}
.prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"],[class~="not-prose"] *))::before {
@ -751,6 +761,11 @@ video {
margin-bottom: 2em;
}
.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 2em;
margin-bottom: 2em;
}
.prose :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
font-weight: 600;
font-family: inherit;
@ -759,9 +774,9 @@ video {
font-size: 0.9rem;
border-radius: 0.25rem;
padding-top: 0.1875em;
padding-right: 0.375em;
padding-inline-end: 0.375em;
padding-bottom: 0.1875em;
padding-left: 0.375em;
padding-inline-start: 0.375em;
background-color: rgba(var(--color-neutral-200), 1);
padding: 0.1rem 0.4rem;
}
@ -821,9 +836,9 @@ video {
margin-bottom: 1.7142857em;
border-radius: 0.375rem;
padding-top: 0.8571429em;
padding-right: 1.1428571em;
padding-inline-end: 1.1428571em;
padding-bottom: 0.8571429em;
padding-left: 1.1428571em;
padding-inline-start: 1.1428571em;
}
.prose :where(pre code):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
@ -849,7 +864,7 @@ video {
.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
width: 100%;
table-layout: auto;
text-align: left;
text-align: start;
margin-top: 2em;
margin-bottom: 2em;
font-size: 0.875em;
@ -865,9 +880,9 @@ video {
color: var(--tw-prose-headings);
font-weight: 600;
vertical-align: bottom;
padding-right: 0.5714286em;
padding-inline-end: 0.5714286em;
padding-bottom: 0.5714286em;
padding-left: 0.5714286em;
padding-inline-start: 0.5714286em;
}
.prose :where(tbody tr):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
@ -950,22 +965,17 @@ video {
margin-bottom: 0;
}
.prose :where(video):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 2em;
margin-bottom: 2em;
}
.prose :where(li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.prose :where(ol > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-left: 0.375em;
padding-inline-start: 0.375em;
}
.prose :where(ul > li):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-left: 0.375em;
padding-inline-start: 0.375em;
}
.prose :where(.prose > ul > li p):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
@ -1001,7 +1011,7 @@ video {
.prose :where(dd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0.5em;
padding-left: 1.625em;
padding-inline-start: 1.625em;
}
.prose :where(hr + *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
@ -1021,26 +1031,26 @@ video {
}
.prose :where(thead th:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-left: 0;
padding-inline-start: 0;
}
.prose :where(thead th:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-right: 0;
padding-inline-end: 0;
}
.prose :where(tbody td, tfoot td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-top: 0.5714286em;
padding-right: 0.5714286em;
padding-inline-end: 0.5714286em;
padding-bottom: 0.5714286em;
padding-left: 0.5714286em;
padding-inline-start: 0.5714286em;
}
.prose :where(tbody td:first-child, tfoot td:first-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-left: 0;
padding-inline-start: 0;
}
.prose :where(tbody td:last-child, tfoot td:last-child):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
padding-right: 0;
padding-inline-end: 0;
}
.prose :where(figure):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
@ -1165,7 +1175,7 @@ body:has(#menu-controller:checked) {
color: rgba(var(--color-neutral-700), var(--tw-text-opacity));
}
:is(.dark .toc a) {
.toc a:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-neutral-400), var(--tw-text-opacity));
}
@ -1212,7 +1222,7 @@ body:has(#menu-controller:checked) {
opacity: 0.9;
}
:is(.dark .copy-button) {
.copy-button:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgba(var(--color-neutral-600), var(--tw-bg-opacity));
--tw-text-opacity: 1;
@ -1227,10 +1237,10 @@ body:has(#menu-controller:checked) {
background-color: rgba(var(--color-primary-100), var(--tw-bg-opacity));
}
:is(.dark .copy-button:hover),:is(.dark
.copy-button:focus),:is(.dark
.copy-button:active),:is(.dark
.copy-button:active:hover) {
.copy-button:hover:is(.dark *),
.copy-button:focus:is(.dark *),
.copy-button:active:is(.dark *),
.copy-button:active:hover:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgba(var(--color-primary-600), var(--tw-bg-opacity));
}
@ -1254,13 +1264,18 @@ table {
overflow: auto;
}
@media (min-width: 768px) {
table {
display: table;
}
}
/* Fix long inline code sections breaking out of article on mobile */
code {
word-wrap: break-word;
/* All browsers since IE 5.5+ */
overflow-wrap: break-word;
/* Renamed property in CSS3 draft spec */
}
/* -- Chroma Highlight -- */
@ -1277,7 +1292,7 @@ code {
color: rgba(var(--color-neutral-700), var(--tw-text-opacity));
}
:is(.dark .chroma) {
.chroma:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgba(var(--color-neutral-700), var(--tw-bg-opacity));
--tw-text-opacity: 1;
@ -1313,8 +1328,8 @@ code {
color: rgba(var(--color-neutral-600), var(--tw-text-opacity));
}
:is(.dark .chroma .lnt),:is(.dark
.chroma .ln) {
.chroma .lnt:is(.dark *),
.chroma .ln:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-neutral-300), var(--tw-text-opacity));
}
@ -1337,7 +1352,7 @@ code {
background-color: rgba(var(--color-primary-100), var(--tw-bg-opacity));
}
:is(.dark .chroma .hl) {
.chroma .hl:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgba(var(--color-primary-900), var(--tw-bg-opacity));
}
@ -1376,16 +1391,16 @@ code {
color: rgba(var(--color-primary-600), var(--tw-text-opacity));
}
:is(.dark .chroma .k),:is(.dark
.chroma .kd),:is(.dark
.chroma .kn),:is(.dark
.chroma .kp),:is(.dark
.chroma .kr),:is(.dark
.chroma .nc),:is(.dark
.chroma .fm),:is(.dark
.chroma .nn),:is(.dark
.chroma .vc),:is(.dark
.chroma .o) {
.chroma .k:is(.dark *),
.chroma .kd:is(.dark *),
.chroma .kn:is(.dark *),
.chroma .kp:is(.dark *),
.chroma .kr:is(.dark *),
.chroma .nc:is(.dark *),
.chroma .fm:is(.dark *),
.chroma .nn:is(.dark *),
.chroma .vc:is(.dark *),
.chroma .o:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-primary-300), var(--tw-text-opacity));
}
@ -1398,7 +1413,7 @@ code {
color: rgba(var(--color-secondary-400), var(--tw-text-opacity));
}
:is(.dark .chroma .kc) {
.chroma .kc:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-secondary-500), var(--tw-text-opacity));
}
@ -1440,17 +1455,17 @@ code {
color: rgba(var(--color-secondary-400), var(--tw-text-opacity));
}
:is(.dark .chroma .kt),:is(.dark
.chroma .nv),:is(.dark
.chroma .vi),:is(.dark
.chroma .vm),:is(.dark
.chroma .m),:is(.dark
.chroma .mb),:is(.dark
.chroma .mf),:is(.dark
.chroma .mh),:is(.dark
.chroma .mi),:is(.dark
.chroma .il),:is(.dark
.chroma .mo) {
.chroma .kt:is(.dark *),
.chroma .nv:is(.dark *),
.chroma .vi:is(.dark *),
.chroma .vm:is(.dark *),
.chroma .m:is(.dark *),
.chroma .mb:is(.dark *),
.chroma .mf:is(.dark *),
.chroma .mh:is(.dark *),
.chroma .mi:is(.dark *),
.chroma .il:is(.dark *),
.chroma .mo:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-secondary-600), var(--tw-text-opacity));
}
@ -1471,10 +1486,10 @@ code {
color: rgba(var(--color-secondary-900), var(--tw-text-opacity));
}
:is(.dark .chroma .n),:is(.dark
.chroma .nd),:is(.dark
.chroma .ni),:is(.dark
.chroma .nl) {
.chroma .n:is(.dark *),
.chroma .nd:is(.dark *),
.chroma .ni:is(.dark *),
.chroma .nl:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-secondary-200), var(--tw-text-opacity));
}
@ -1501,12 +1516,12 @@ code {
color: rgba(var(--color-secondary-800), var(--tw-text-opacity));
}
:is(.dark .chroma .na),:is(.dark
.chroma .nb),:is(.dark
.chroma .bp),:is(.dark
.chroma .nx),:is(.dark
.chroma .py),:is(.dark
.chroma .nt) {
.chroma .na:is(.dark *),
.chroma .nb:is(.dark *),
.chroma .bp:is(.dark *),
.chroma .nx:is(.dark *),
.chroma .py:is(.dark *),
.chroma .nt:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-secondary-300), var(--tw-text-opacity));
}
@ -1525,9 +1540,9 @@ code {
color: rgba(var(--color-secondary-400), var(--tw-text-opacity));
}
:is(.dark .chroma .no),:is(.dark
.chroma .ne),:is(.dark
.chroma .vg) {
.chroma .no:is(.dark *),
.chroma .ne:is(.dark *),
.chroma .vg:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-secondary-500), var(--tw-text-opacity));
}
@ -1539,7 +1554,7 @@ code {
color: rgba(var(--color-secondary-600), var(--tw-text-opacity));
}
:is(.dark .chroma .nf) {
.chroma .nf:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-secondary-500), var(--tw-text-opacity));
}
@ -1596,22 +1611,22 @@ code {
color: rgba(var(--color-primary-800), var(--tw-text-opacity));
}
:is(.dark .chroma .l),:is(.dark
.chroma .ld),:is(.dark
.chroma .s),:is(.dark
.chroma .sa),:is(.dark
.chroma .sb),:is(.dark
.chroma .sc),:is(.dark
.chroma .dl),:is(.dark
.chroma .sd),:is(.dark
.chroma .s2),:is(.dark
.chroma .sh),:is(.dark
.chroma .si),:is(.dark
.chroma .sx),:is(.dark
.chroma .s1),:is(.dark
.chroma .gi),:is(.dark
.chroma .go),:is(.dark
.chroma .gp) {
.chroma .l:is(.dark *),
.chroma .ld:is(.dark *),
.chroma .s:is(.dark *),
.chroma .sa:is(.dark *),
.chroma .sb:is(.dark *),
.chroma .sc:is(.dark *),
.chroma .dl:is(.dark *),
.chroma .sd:is(.dark *),
.chroma .s2:is(.dark *),
.chroma .sh:is(.dark *),
.chroma .si:is(.dark *),
.chroma .sx:is(.dark *),
.chroma .s1:is(.dark *),
.chroma .gi:is(.dark *),
.chroma .go:is(.dark *),
.chroma .gp:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-primary-400), var(--tw-text-opacity));
}
@ -1624,7 +1639,7 @@ code {
color: rgba(var(--color-secondary-400), var(--tw-text-opacity));
}
:is(.dark .chroma .se) {
.chroma .se:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-secondary-500), var(--tw-text-opacity));
}
@ -1640,8 +1655,8 @@ code {
color: rgba(var(--color-primary-800), var(--tw-text-opacity));
}
:is(.dark .chroma .sr),:is(.dark
.chroma .ss) {
.chroma .sr:is(.dark *),
.chroma .ss:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-primary-400), var(--tw-text-opacity));
}
@ -1654,7 +1669,7 @@ code {
color: rgba(var(--color-primary-400), var(--tw-text-opacity));
}
:is(.dark .chroma .ow) {
.chroma .ow:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-primary-600), var(--tw-text-opacity));
}
@ -1682,12 +1697,12 @@ code {
color: rgba(var(--color-neutral-500), var(--tw-text-opacity));
}
:is(.dark .chroma .c),:is(.dark
.chroma .cm),:is(.dark
.chroma .c1),:is(.dark
.chroma .cs),:is(.dark
.chroma .cp),:is(.dark
.chroma .cpf) {
.chroma .c:is(.dark *),
.chroma .cm:is(.dark *),
.chroma .c1:is(.dark *),
.chroma .cs:is(.dark *),
.chroma .cp:is(.dark *),
.chroma .cpf:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-neutral-400), var(--tw-text-opacity));
}
@ -1701,7 +1716,7 @@ code {
color: rgba(var(--color-neutral-500), var(--tw-text-opacity));
}
:is(.dark .chroma .ch) {
.chroma .ch:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-neutral-400), var(--tw-text-opacity));
}
@ -2636,7 +2651,7 @@ code {
transition-duration: 150ms;
}
:is(.dark .dark\:prose-invert) {
.dark\:prose-invert:is(.dark *) {
--tw-prose-body: var(--tw-prose-invert-body);
--tw-prose-headings: var(--tw-prose-invert-headings);
--tw-prose-lead: var(--tw-prose-invert-lead);
@ -2657,16 +2672,16 @@ code {
--tw-prose-td-borders: var(--tw-prose-invert-td-borders);
}
:is(.dark .dark\:prose-invert) :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
.dark\:prose-invert:is(.dark *) :where(a):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
text-decoration-color: rgba(var(--color-neutral-600), 1);
}
:is(.dark .dark\:prose-invert) :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
.dark\:prose-invert:is(.dark *) :where(kbd):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
color: rgba(var(--color-neutral-200), 1);
background-color: rgba(var(--color-neutral-700), 1);
}
:is(.dark .dark\:prose-invert) :where(mark):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
.dark\:prose-invert:is(.dark *) :where(mark):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
background-color: rgba(var(--color-secondary-400), 1);
}
@ -2802,147 +2817,147 @@ code {
opacity: 1;
}
:is(.dark .dark\:inline) {
.dark\:inline:is(.dark *) {
display: inline;
}
:is(.dark .dark\:flex) {
.dark\:flex:is(.dark *) {
display: flex;
}
:is(.dark .dark\:hidden) {
.dark\:hidden:is(.dark *) {
display: none;
}
:is(.dark .dark\:border-neutral-600) {
.dark\:border-neutral-600:is(.dark *) {
--tw-border-opacity: 1;
border-color: rgba(var(--color-neutral-600), var(--tw-border-opacity));
}
:is(.dark .dark\:border-neutral-700) {
.dark\:border-neutral-700:is(.dark *) {
--tw-border-opacity: 1;
border-color: rgba(var(--color-neutral-700), var(--tw-border-opacity));
}
:is(.dark .dark\:border-primary-600) {
.dark\:border-primary-600:is(.dark *) {
--tw-border-opacity: 1;
border-color: rgba(var(--color-primary-600), var(--tw-border-opacity));
}
:is(.dark .dark\:bg-neutral-600) {
.dark\:bg-neutral-600:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgba(var(--color-neutral-600), var(--tw-bg-opacity));
}
:is(.dark .dark\:bg-neutral-700) {
.dark\:bg-neutral-700:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgba(var(--color-neutral-700), var(--tw-bg-opacity));
}
:is(.dark .dark\:bg-neutral-800) {
.dark\:bg-neutral-800:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgba(var(--color-neutral-800), var(--tw-bg-opacity));
}
:is(.dark .dark\:bg-neutral-800\/50) {
.dark\:bg-neutral-800\/50:is(.dark *) {
background-color: rgba(var(--color-neutral-800), 0.5);
}
:is(.dark .dark\:bg-neutral-900\/50) {
.dark\:bg-neutral-900\/50:is(.dark *) {
background-color: rgba(var(--color-neutral-900), 0.5);
}
:is(.dark .dark\:bg-primary-400) {
.dark\:bg-primary-400:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgba(var(--color-primary-400), var(--tw-bg-opacity));
}
:is(.dark .dark\:bg-primary-800) {
.dark\:bg-primary-800:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgba(var(--color-primary-800), var(--tw-bg-opacity));
}
:is(.dark .dark\:bg-primary-900) {
.dark\:bg-primary-900:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgba(var(--color-primary-900), var(--tw-bg-opacity));
}
:is(.dark .dark\:text-neutral) {
.dark\:text-neutral:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-neutral), var(--tw-text-opacity));
}
:is(.dark .dark\:text-neutral-100) {
.dark\:text-neutral-100:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-neutral-100), var(--tw-text-opacity));
}
:is(.dark .dark\:text-neutral-300) {
.dark\:text-neutral-300:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-neutral-300), var(--tw-text-opacity));
}
:is(.dark .dark\:text-neutral-400) {
.dark\:text-neutral-400:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-neutral-400), var(--tw-text-opacity));
}
:is(.dark .dark\:text-neutral-500) {
.dark\:text-neutral-500:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-neutral-500), var(--tw-text-opacity));
}
:is(.dark .dark\:text-neutral-800) {
.dark\:text-neutral-800:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-neutral-800), var(--tw-text-opacity));
}
:is(.dark .dark\:text-primary-400) {
.dark\:text-primary-400:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-primary-400), var(--tw-text-opacity));
}
:is(.dark .dark\:hover\:border-primary-600:hover) {
.dark\:hover\:border-primary-600:hover:is(.dark *) {
--tw-border-opacity: 1;
border-color: rgba(var(--color-primary-600), var(--tw-border-opacity));
}
:is(.dark .dark\:hover\:\!bg-primary-700:hover) {
.dark\:hover\:\!bg-primary-700:hover:is(.dark *) {
--tw-bg-opacity: 1 !important;
background-color: rgba(var(--color-primary-700), var(--tw-bg-opacity)) !important;
}
:is(.dark .dark\:hover\:bg-primary-400:hover) {
.dark\:hover\:bg-primary-400:hover:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgba(var(--color-primary-400), var(--tw-bg-opacity));
}
:is(.dark .dark\:hover\:bg-primary-900:hover) {
.dark\:hover\:bg-primary-900:hover:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgba(var(--color-primary-900), var(--tw-bg-opacity));
}
:is(.dark .dark\:hover\:text-neutral-800:hover) {
.dark\:hover\:text-neutral-800:hover:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-neutral-800), var(--tw-text-opacity));
}
:is(.dark .dark\:hover\:text-primary-400:hover) {
.dark\:hover\:text-primary-400:hover:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-primary-400), var(--tw-text-opacity));
}
:is(.dark .dark\:focus\:bg-primary-900:focus) {
.dark\:focus\:bg-primary-900:focus:is(.dark *) {
--tw-bg-opacity: 1;
background-color: rgba(var(--color-primary-900), var(--tw-bg-opacity));
}
:is(.dark .group:hover .dark\:group-hover\:text-neutral-700) {
.group:hover .dark\:group-hover\:text-neutral-700:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-neutral-700), var(--tw-text-opacity));
}
:is(.dark .group:hover .dark\:group-hover\:text-primary-400) {
.group:hover .dark\:group-hover\:text-primary-400:is(.dark *) {
--tw-text-opacity: 1;
color: rgba(var(--color-primary-400), var(--tw-text-opacity));
}

View File

@ -1,4 +1,4 @@
/*! Congo v2.8.0 | MIT License | https://github.com/jpanther/congo */
/*! Congo v2.8.2 | MIT License | https://github.com/jpanther/congo */
@tailwind base;
@tailwind components;
@ -109,14 +109,13 @@ body:has(#menu-controller:checked) {
/* Fix long tables breaking out of article on mobile */
table {
display: block;
overflow: auto;
@apply block overflow-auto md:table;
}
/* Fix long inline code sections breaking out of article on mobile */
code {
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 -- */

View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><!--!Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M407.8 294.7c-3.3-.4-6.7-.8-10-1.3c3.4 .4 6.7 .9 10 1.3zM288 227.1C261.9 176.4 190.9 81.9 124.9 35.3C61.6-9.4 37.5-1.7 21.6 5.5C3.3 13.8 0 41.9 0 58.4S9.1 194 15 213.9c19.5 65.7 89.1 87.9 153.2 80.7c3.3-.5 6.6-.9 10-1.4c-3.3 .5-6.6 1-10 1.4C74.3 308.6-9.1 342.8 100.3 464.5C220.6 589.1 265.1 437.8 288 361.1c22.9 76.7 49.2 222.5 185.6 103.4c102.4-103.4 28.1-156-65.8-169.9c-3.3-.4-6.7-.8-10-1.3c3.4 .4 6.7 .9 10 1.3c64.1 7.1 133.6-15.1 153.2-80.7C566.9 194 576 75 576 58.4s-3.3-44.7-21.6-52.9c-15.8-7.1-40-14.9-103.2 29.8C385.1 81.9 314.1 176.4 288 227.1z"/></svg>

After

Width:  |  Height:  |  Size: 786 B

View File

@ -39,6 +39,7 @@ if (document.documentElement.getAttribute("data-auto-appearance") === "true") {
}
window.addEventListener("DOMContentLoaded", (event) => {
setThemeColor();
var switchers = document.querySelectorAll("[id^='appearance-switcher']");
switchers.forEach((switcher) => {
switcher.addEventListener("click", () => {

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("katex")):"function"==typeof define&&define.amd?define(["katex"],t):"object"==typeof exports?exports.renderMathInElement=t(require("katex")):e.renderMathInElement=t(e.katex)}("undefined"!=typeof self?self:this,(function(e){return function(){"use strict";var t={771:function(t){t.exports=e}},r={};function n(e){var i=r[e];if(void 0!==i)return i.exports;var a=r[e]={exports:{}};return t[e](a,a.exports,n),a.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var i={};return function(){n.d(i,{default:function(){return s}});var e=n(771),t=n.n(e),r=function(e,t,r){for(var n=r,i=0,a=e.length;n<t.length;){var o=t[n];if(i<=0&&t.slice(n,n+a)===e)return n;"\\"===o?n++:"{"===o?i++:"}"===o&&i--,n++}return-1},a=/^\\begin{/,o=function(e,t){for(var n,i=[],o=new RegExp("("+t.map((function(e){return e.left.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")})).join("|")+")");-1!==(n=e.search(o));){n>0&&(i.push({type:"text",data:e.slice(0,n)}),e=e.slice(n));var l=t.findIndex((function(t){return e.startsWith(t.left)}));if(-1===(n=r(t[l].right,e,t[l].left.length)))break;var d=e.slice(0,n+t[l].right.length),s=a.test(d)?d:e.slice(t[l].left.length,n);i.push({type:"math",data:s,rawData:d,display:t[l].display}),e=e.slice(n+t[l].right.length)}return""!==e&&i.push({type:"text",data:e}),i},l=function(e,r){var n=o(e,r.delimiters);if(1===n.length&&"text"===n[0].type)return null;for(var i=document.createDocumentFragment(),a=0;a<n.length;a++)if("text"===n[a].type)i.appendChild(document.createTextNode(n[a].data));else{var l=document.createElement("span"),d=n[a].data;r.displayMode=n[a].display;try{r.preProcess&&(d=r.preProcess(d)),t().render(d,l,r)}catch(e){if(!(e instanceof t().ParseError))throw e;r.errorCallback("KaTeX auto-render: Failed to parse `"+n[a].data+"` with ",e),i.appendChild(document.createTextNode(n[a].rawData));continue}i.appendChild(l)}return i},d=function e(t,r){for(var n=0;n<t.childNodes.length;n++){var i=t.childNodes[n];if(3===i.nodeType){for(var a=i.textContent,o=i.nextSibling,d=0;o&&o.nodeType===Node.TEXT_NODE;)a+=o.textContent,o=o.nextSibling,d++;var s=l(a,r);if(s){for(var f=0;f<d;f++)i.nextSibling.remove();n+=s.childNodes.length-1,t.replaceChild(s,i)}else n+=d}else 1===i.nodeType&&function(){var t=" "+i.className+" ";-1===r.ignoredTags.indexOf(i.nodeName.toLowerCase())&&r.ignoredClasses.every((function(e){return-1===t.indexOf(" "+e+" ")}))&&e(i,r)}()}},s=function(e,t){if(!e)throw new Error("No element provided to render");var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);r.delimiters=r.delimiters||[{left:"$$",right:"$$",display:!0},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}],r.ignoredTags=r.ignoredTags||["script","noscript","style","textarea","pre","code","option"],r.ignoredClasses=r.ignoredClasses||[],r.errorCallback=r.errorCallback||console.error,r.macros=r.macros||{},d(e,r)}}(),i=i.default}()}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("katex")):"function"==typeof define&&define.amd?define(["katex"],t):"object"==typeof exports?exports.renderMathInElement=t(require("katex")):e.renderMathInElement=t(e.katex)}("undefined"!=typeof self?self:this,(function(e){return function(){"use strict";var t={771:function(t){t.exports=e}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}};return t[e](i,i.exports,r),i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var o={};return function(){r.d(o,{default:function(){return d}});var e=r(771),t=r.n(e);const n=function(e,t,n){let r=n,o=0;const i=e.length;for(;r<t.length;){const n=t[r];if(o<=0&&t.slice(r,r+i)===e)return r;"\\"===n?r++:"{"===n?o++:"}"===n&&o--,r++}return-1},i=/^\\begin{/;var a=function(e,t){let r;const o=[],a=new RegExp("("+t.map((e=>e.left.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&"))).join("|")+")");for(;r=e.search(a),-1!==r;){r>0&&(o.push({type:"text",data:e.slice(0,r)}),e=e.slice(r));const a=t.findIndex((t=>e.startsWith(t.left)));if(r=n(t[a].right,e,t[a].left.length),-1===r)break;const l=e.slice(0,r+t[a].right.length),s=i.test(l)?l:e.slice(t[a].left.length,r);o.push({type:"math",data:s,rawData:l,display:t[a].display}),e=e.slice(r+t[a].right.length)}return""!==e&&o.push({type:"text",data:e}),o};const l=function(e,n){const r=a(e,n.delimiters);if(1===r.length&&"text"===r[0].type)return null;const o=document.createDocumentFragment();for(let e=0;e<r.length;e++)if("text"===r[e].type)o.appendChild(document.createTextNode(r[e].data));else{const i=document.createElement("span");let a=r[e].data;n.displayMode=r[e].display;try{n.preProcess&&(a=n.preProcess(a)),t().render(a,i,n)}catch(i){if(!(i instanceof t().ParseError))throw i;n.errorCallback("KaTeX auto-render: Failed to parse `"+r[e].data+"` with ",i),o.appendChild(document.createTextNode(r[e].rawData));continue}o.appendChild(i)}return o},s=function(e,t){for(let n=0;n<e.childNodes.length;n++){const r=e.childNodes[n];if(3===r.nodeType){let o=r.textContent,i=r.nextSibling,a=0;for(;i&&i.nodeType===Node.TEXT_NODE;)o+=i.textContent,i=i.nextSibling,a++;const s=l(o,t);if(s){for(let e=0;e<a;e++)r.nextSibling.remove();n+=s.childNodes.length-1,e.replaceChild(s,r)}else n+=a}else if(1===r.nodeType){const e=" "+r.className+" ";-1===t.ignoredTags.indexOf(r.nodeName.toLowerCase())&&t.ignoredClasses.every((t=>-1===e.indexOf(" "+t+" ")))&&s(r,t)}}};var d=function(e,t){if(!e)throw new Error("No element provided to render");const n={};for(const e in t)t.hasOwnProperty(e)&&(n[e]=t[e]);n.delimiters=n.delimiters||[{left:"$$",right:"$$",display:!0},{left:"\\(",right:"\\)",display:!1},{left:"\\begin{equation}",right:"\\end{equation}",display:!0},{left:"\\begin{align}",right:"\\end{align}",display:!0},{left:"\\begin{alignat}",right:"\\end{alignat}",display:!0},{left:"\\begin{gather}",right:"\\end{gather}",display:!0},{left:"\\begin{CD}",right:"\\end{CD}",display:!0},{left:"\\[",right:"\\]",display:!0}],n.ignoredTags=n.ignoredTags||["script","noscript","style","textarea","pre","code","option"],n.ignoredClasses=n.ignoredClasses||[],n.errorCallback=n.errorCallback||console.error,n.macros=n.macros||{},s(e,n)}}(),o=o.default}()}));

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -9,6 +9,8 @@ colorScheme = "congo"
defaultAppearance = "light" # valid options: light or dark
autoSwitchAppearance = true
defaultThemeColor = "#FFFFFF"
enableSearch = false
enableCodeCopy = false
enableImageLazyLoading = true
@ -51,7 +53,7 @@ fingerprintAlgorithm = "sha256"
showTaxonomies = false
showWordCount = 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]
showBreadcrumbs = false
@ -75,6 +77,10 @@ fingerprintAlgorithm = "sha256"
# event = ""
# script = ""
#[umamiAnalytics]
# site = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
# region = "eu" # can be either "eu" or "us"
[verification]
# google = ""
# bing = ""

View File

@ -34,6 +34,11 @@
"title": "sharing.twitter",
"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": {
"icon": "telegram",
"title": "sharing.telegram",

View File

@ -12,7 +12,7 @@ copyright = "&copy; 2023 Congo contributors"
mainSections = ["samples"]
description = "一款基于Tailwindcss的强大且轻量的Hugo主题"
[author]
[params.author]
name = "Congo"
image = "img/author.jpg"
headline = "非凡的主题!"

View File

@ -71,6 +71,10 @@ fingerprintAlgorithm = "sha256"
[fathomAnalytics]
# site = "ABC12345"
#[umamiAnalytics]
# site = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
# region = "eu" # Can be either "eu" or "us"
[verification]
# google = ""
# bing = ""

View File

@ -66,6 +66,7 @@ Congoは現在、以下の言語に対応しています:
| :indonesia: Indonesian | `id` |
| :it: Italian | `it` |
| :jp: Japanese | `ja` |
| :kr: Korean | `ko` |
| :poland: Polish | `pl` |
| :brazil: Portuguese (Brazil) | `pt-br` |
| :portugal: Portuguese (Portugal) | `pt-pt` |
@ -73,8 +74,11 @@ Congoは現在、以下の言語に対応しています:
| :ru: Russian | `ru` |
| :slovakia: Slovak | `sk` |
| :es: Spanish (Spain) | `es` |
| :sweden: Swedish | `sv` |
| :flag-lk: Tamil | `ta` |
| :tr: Turkish | `tr` |
| :ukraine: Ukrainian | `uk` |
| :vietnam: Vietnamese | `vi` |
翻訳文字列を含むカスタムファイルを `i18n/[code].yaml` に作成することでデフォルトの翻訳をオーバーライドできます。このメソッドを使って新しい言語を追加することもできます。新しい翻訳をコミュニティと共有したい場合、[Pull Request](https://github.com/jpanther/congo/pulls)を作ってください。
@ -125,6 +129,7 @@ Congoはテーマの機能を制御する多数の設定パラメーターを提
|Name|Default|Description|
|---|---|---|
|`colorScheme`|`"congo"`|使用する配色。有効な値は `congo` (デフォルト), `avocado`, `cherry`, `fire`, `ocean`, `sapphire`, `slate` です。詳しくは [カラースキーム]({{< ref "getting-started#カラースキーム" >}})セクションを参照してください。|
|`defaultThemeColor`|`"#FFFFFF"`|まだ翻訳されていません。|
|`defaultAppearance`|`"light"`|デフォルトのテーマ外観、 `light` または `dark` のいずれか。|
|`autoSwitchAppearance`|`true`|テーマの外観を訪問者のオペレーティングシステムの設定に基づいて自動的に切り替えるかどうか。常に `defaultAppearance` を使うようにするには `false` を設定します。|
|`enableSearch`|`false`|サイト内検索を有効にするかどうか。検索機能を有効にするには `true` を設定します。検索機能は、[サイト設定](#サイト設定)の `outputs.home` が正しく設定されているかどうかに依存することに注意してください。|

View File

@ -74,8 +74,11 @@ The theme currently supports the following languages out of the box:
| :ru: Russian | `ru` |
| :slovakia: Slovak | `sk` |
| :es: Spanish (Spain) | `es` |
| :sweden: Swedish | `sv` |
| :flag-lk: Tamil | `ta` |
| :tr: Turkish | `tr` |
| :ukraine: Ukrainian | `uk` |
| :vietnam: Vietnamese | `vi` |
The default translations can be overridden by creating a custom file in `i18n/[code].yaml` that contains the translation strings. You can also use this method to add new languages. If you'd like to share a new translation with the community, please [open a pull request](https://github.com/jpanther/congo/pulls).
@ -126,6 +129,7 @@ Many of the article defaults here can be overridden on a per article basis by sp
|Name|Default|Description|
|---|---|---|
|`colorScheme`|`"congo"`|The theme colour scheme to use. Valid values are `congo` (default), `avocado`, `cherry`, `fire`, `ocean`, `sapphire` and `slate`. Refer to the [Colour Schemes]({{< ref "getting-started#colour-schemes" >}}) section for more details.|
|`defaultThemeColor`|`"#FFFFFF"`|The original value (before any scripts modify it) to use for the `theme-color` meta tag. The meta tag will be changed based on the theme (`light` or `dark`) but it is useful for services that source the original value this tag to display an accent color (e.g. Discord)|
|`defaultAppearance`|`"light"`|The default theme appearance, either `light` or `dark`.|
|`autoSwitchAppearance`|`true`|Whether the theme appearance automatically switches based upon the visitor's operating system preference. Set to `false` to force the site to always use the `defaultAppearance`.|
|`enableSearch`|`false`|Whether site search is enabled. Set to `true` to enable search functionality. Note that the search feature depends on the `outputs.home` setting in the [site configuration](#site-configuration) being set correctly.|
@ -162,7 +166,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.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.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.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.|
@ -175,6 +179,8 @@ Many of the article defaults here can be overridden on a per article basis by sp
|`plausibleAnalytics.domain`|_Not set_|Enter the domain of the website you want to track. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details.|
|`plausibleAnalytics.event`|_Not set_|Plausible api event proxied URL. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details.|
|`plausibleAnalytics.script`|_Not set_|Plausible analysis script proxied URL. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details.|
|`umamiAnalytics.site`|_Not set_|The tracking code generated by Umami Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details.|
|`umamiAnalytics.region`|`eu`|Select the Umami Analytics server region to connect to. The value is a string that can be either `eu` or `us`.|
|`verification.google`|_Not set_|The site verification string provided by Google to be included in the site metadata.|
|`verification.bing`|_Not set_|The site verification string provided by Bing to be included in the site metadata.|
|`verification.pinterest`|_Not set_|The site verification string provided by Pinterest to be included in the site metadata.|

View File

@ -125,6 +125,7 @@ Congo 提供了大量的配置参数,用于控制主题的功能。下表概
|名称|默认值|描述|
|---|---|---|
|`colorScheme`|`"congo"`|要使用的主题颜色方案。有效值为 `congo`(默认)、`avocado`、`cherry`、`fire`、`ocean`、`sapphire` 和 `slate`。有关详细信息,请参阅[颜色方案]({{< ref "getting-started#颜色方案" >}})部分。|
|`defaultThemeColor`|`"#FFFFFF`|`theme-color` meta 标签的原值在脚本修改它之前。meta 标签会根据所选主题而变化(`light` 或 `dark`),但是一些软件(例如 Discord会使用该标签的原值来显示主题色。|
|`defaultAppearance`|`"light"`|默认的主题外观,可以是 `light``dark`。|
|`autoSwitchAppearance`|`true`|主题外观是否根据访问者的操作系统首选项自动切换。设置为 `false` 以始终使用 `defaultAppearance`。|
|`enableSearch`|`false`|是否启用站内搜索。设置为 `true` 以启用搜索功能。请注意,搜索功能取决于 [站点配置](#site-configuration) 中的 `outputs.home` 设置正确。|

View File

@ -40,6 +40,18 @@ To enable Plausible analytics support, simply provide the domain of the website
script = "https://plausible.yoursite.com/js/script.js"
```
### Umami Analytics
To enable support for Umami Analytics, insert the *tracking code token* provided by Umami into the `site` parameter to monitor the site. You can also insert a `region` parameter to indicate the region of Umami Analytics servers that you want to connect to. The values can be `eu` or `us`. Refer to [getting started section at umami.is](https://umami.is/docs/getting-started) for more details.
```toml
# config/_default/params.toml
[umamiAnalytics]
site = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
region = "eu" # can be either "eu" or "us"
```
### Google Analytics
Google Analytics support is provided through the internal Hugo partial. Simply provide the `googleAnalytics` key in the `config/_default/config.toml` file and the script will be added automatically.

View File

@ -21,6 +21,7 @@ Die vollständige Liste der integrierten Icons und ihre entsprechenden Namen fin
| apple | {{< icon apple >}} |
| bars | {{< icon bars >}} |
| blogger | {{< icon blogger >}} |
| bluesky | {{< icon bluesky >}} |
| bug | {{< icon bug >}} |
| check | {{< icon check >}} |
| chevron-down | {{< icon chevron-down >}} |

View File

@ -21,6 +21,7 @@ La lista completa de íconos incorporados y sus nombres correspondientes se pued
| apple | {{< icon apple >}} |
| bars | {{< icon bars >}} |
| blogger | {{< icon blogger >}} |
| bluesky | {{< icon bluesky >}} |
| bug | {{< icon bug >}} |
| check | {{< icon check >}} |
| chevron-down | {{< icon chevron-down >}} |

View File

@ -21,6 +21,7 @@ Congo は[FontAwesome 6](https://fontawesome.com/icons)のアイコンをサポ
| apple | {{< icon apple >}} |
| bars | {{< icon bars >}} |
| blogger | {{< icon blogger >}} |
| bluesky | {{< icon bluesky >}} |
| bug | {{< icon bug >}} |
| check | {{< icon check >}} |
| chevron-down | {{< icon chevron-down >}} |

View File

@ -21,6 +21,7 @@ The full list of built-in icons and their corresponding names can referenced bel
| apple | {{< icon apple >}} |
| bars | {{< icon bars >}} |
| blogger | {{< icon blogger >}} |
| bluesky | {{< icon bluesky >}} |
| bug | {{< icon bug >}} |
| check | {{< icon check >}} |
| chevron-down | {{< icon chevron-down >}} |

View File

@ -21,6 +21,7 @@ Congo内置了对多个[FontAwesome 6](https://fontawesome.com/icons)图标的
| apple | {{< icon apple >}} |
| bars | {{< icon bars >}} |
| blogger | {{< icon blogger >}} |
| bluesky | {{< icon bluesky >}} |
| bug | {{< icon bug >}} |
| check | {{< icon check >}} |
| chevron-down | {{< icon chevron-down >}} |

View File

@ -71,5 +71,9 @@ La lista a continuación es solo un puñado de sitios web creados con el tema Co
| [stupidjoey.net](https://stupidjoey.net) | Personal Site and Tech blog |
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
| [kylecapehart.com](https://kylecapehart.com/) | Personal Site and Blog |
| [hosni.info](https://hosni.info/) | 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).

View File

@ -71,5 +71,9 @@ Congoを使用して構築された実際のウェブサイト。
| [stupidjoey.net](https://stupidjoey.net) | Personal Site and Tech blog |
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
| [kylecapehart.com](https://kylecapehart.com/) | Personal Site and Blog |
| [hosni.info](https://hosni.info/) | Personal site and Tech Blog |
**Congoを使っていますか** あなたのウェブサイトを加えるために[Pull Request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md)を投げてください。

View File

@ -71,5 +71,9 @@ The list below is just a handful of the websites that are built using the Congo
| [stupidjoey.net](https://stupidjoey.net) | Personal Site and Tech blog |
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
| [kylecapehart.com](https://kylecapehart.com/) | Personal Site and Blog |
| [hosni.info](https://hosni.info/) | 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).

View File

@ -71,5 +71,9 @@ showEdit: false
| [stupidjoey.net](https://stupidjoey.net) | Personal Site and Tech blog |
| [aminelch.github.io](https://aminelch.github.io) | Personal Site and Blog |
| [robertboscacci.com](https://robertboscacci.com) | Personal Site and Blog |
| [gorbe.io](https://www.gorbe.io) | Business Site and Blog |
| [techwolf12.nl](https://techwolf12.nl) | Personal Site and Tech Blog |
| [kylecapehart.com](https://kylecapehart.com/) | Personal Site and Blog |
| [hosni.info](https://hosni.info/) | Personal site and Tech Blog |
**想成为Congo的用户** 要将您的网站添加到此列表中,请提交[Pull Request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md)来添加。

View File

@ -54,6 +54,7 @@ sharing:
telegram: "شارك على تيليجرام"
line: "شارك على لاين"
# weibo: "Share on Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "حديثًا"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Споделете в Telegram"
line: "Споделете в LINE"
weibo: "Споделете в Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Последни"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "টেলিগ্রামে শেয়ার করুন"
line: "লাইনে শেয়ার করুন"
# weibo: "Share on Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "সাম্প্রতিক"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Sdílejte na Telegram"
line: "Sdílejte na LINE"
weibo: "Sdílejte na Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Nedávné"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Auf Telegram teilen"
line: "Auf LINE teilen"
weibo: "Auf Weibo teilen"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Neue Beiträge"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Share on Telegram"
line: "Share on LINE"
weibo: "Share on Weibo"
x-twitter: "Post on X"
shortcode:
recent_articles: "Recent"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Compartir en Telegram"
line: "Compartir en LINE"
weibo: "Compartir en Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Reciente"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Jaa Telegramissa"
line: "Jaa LINEssä"
weibo: "Jaa Weibossä"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Viimeaikaiset"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Partager sur Telegram"
line: "Partager sur LINE"
weibo: "Partager sur Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Articles récents"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "שיתוף בטלגרם"
line: "שיתוף בליין"
# weibo: "Share on Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "חדשים"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Megosztás a Telegramon"
line: "Megosztás a LINE-on"
weibo: "Megosztás a Weibo-on"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Friss"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Bagikan ke Telegram"
line: "Bagikan ke LINE"
weibo: "Bagikan ke Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Terbaru"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Condividi su Telegram"
line: "Condividi su LINE"
weibo: "Condividi su Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Recenti"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Telegramでシェアする"
line: "LINEでシェアする"
weibo: "Weiboでシェアする"
# x-twitter: "Post on X"
shortcode:
recent_articles: "最近の記事"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Telegram에 공유하기"
line: "LINE에 공유하기"
weibo: "Weibo에 공유하기"
# x-twitter: "Post on X"
shortcode:
recent_articles: "최신 글"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Deel op Telegram"
line: "Deel op LINE"
weibo: "Deel op Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Recent"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Udostępnij na Telegram"
line: "Udostępnij na LINE"
weibo: "Udostępnij na Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Ostatnie"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Compartilhar pelo Telegram"
line: "Compartilhar pelo LINE"
weibo: "Compartilhar pelo weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Recente"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Partilhar pelo Telegram"
line: "Partilhar pelo LINE"
weibo: "Partilhar pelo Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Recente"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Trimite pe Telegram"
line: "Trimite pe LINE"
weibo: "Trimite pe Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Cele mai noi"

View File

@ -58,6 +58,7 @@ sharing:
telegram: "Поделиться на Telegram"
line: "Поделиться на LINE"
weibo: "Поделиться на Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Последние"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "Zdieľaj na Telegram"
line: "Zdieľaj na LINE"
weibo: "Zdieľaj na Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Nedávne"

60
i18n/sv.yaml 100644
View File

@ -0,0 +1,60 @@
article:
anchor_label: "Ankare"
date: "{{ .Date }}"
date_updated: "Uppdaterad: {{ .Date }}"
draft: "Utkast"
edit_title: "Redigera innehåll"
reading_time:
one: "{{ .Count }} min"
other: "{{ .Count }} min"
reading_time_title: "Lästid"
table_of_contents: "Innehållsförteckning"
word_count:
one: "{{ .Count }} ord"
other: "{{ .Count }} ord"
author:
byline_title: "Författare"
code:
copy: "Kopiera"
copied: "Kopierat"
error:
404_title: "Sidan hittades inte :confused:"
404_error: "Error 404"
404_description: "Den sida du har begärt verkar inte finnas."
footer:
dark_appearance: "Byt till mörkt utseende"
light_appearance: "Byt till ljust utseende"
powered_by: "Drivs av {{ .Hugo }} &amp; {{ .Congo }}"
list:
externalurl_title: "Länk till extern webbplats"
no_articles: "Det finns inga artiklar att visa här ännu."
nav:
scroll_to_top_title: "Scrolla till början"
skip_to_main: "Hoppa till huvudinnehåll"
search:
open_button_title: "Sök (/)"
close_button_title: "Stäng (Esc)"
input_placeholder: "Sök"
sharing:
email: "Skicka via e-post"
facebook: "Dela på Facebook"
linkedin: "Dela på LinkedIn"
mastodon: "Dela på Mastodon"
pinterest: "Fäst på Pinterest"
reddit: "Publicera på Reddit"
twitter: "Twittra på Twitter"
telegram: "Dela på Telegram"
line: "Dela på LINE"
weibo: "Dela på Weibo"
x-twitter: "Publicera på X"
shortcode:
recent_articles: "Senaste"

60
i18n/ta.yaml 100644
View File

@ -0,0 +1,60 @@
article:
anchor_label: "நங்கூரம்"
date: "{{ .Date }}"
date_updated: "புதுப்பிக்கப்பட்டது: {{ .Date }}"
draft: "வரைவு"
edit_title: "உள்ளடக்கத்தைத் திருத்தவும்"
reading_time:
one: "{{ .Count }} நிமிடம்"
other: "{{ .Count }} நிமிடங்கள்"
reading_time_title: "படிப்பதற்கு எடுக்கும் நேரம்"
table_of_contents: "பொருளடக்கம்"
word_count:
one: "{{ .Count }} சொல்"
other: "{{ .Count }} சொற்கள்"
author:
byline_title: "நூலாசிரியர்"
code:
copy: "நகலெடுக்கவும்"
copied: "நகலெடுக்கப்பட்டது"
error:
404_title: "பக்கம் கிடைக்கவில்லை :confused:"
404_error: "பிழை 404"
404_description: "நீங்கள் கோரிய பக்கம் இல்லை என்று தெரிகிறது."
footer:
dark_appearance: "இருண்ட தோற்றத்திற்கு மாறவும்"
light_appearance: "ஒளி தோற்றத்திற்கு மாறவும்"
powered_by: "{{ .Hugo }} &amp; {{ .Congo }} மூலம் இயக்கப்படுகிறது"
list:
externalurl_title: "வெளிப்புற தளத்திற்கான இணைப்பு"
no_articles: "இங்கே பட்டியலிட இன்னும் கட்டுரைகள் எதுவும் இல்லை."
nav:
scroll_to_top_title: "மேலே உருட்டவும்"
skip_to_main: "முக்கிய உள்ளடக்கத்திற்கு செல்க"
search:
open_button_title: "தேடு (/)"
close_button_title: "மூடு (Esc)"
input_placeholder: "தேடு"
sharing:
email: "மின்னஞ்சல் மூலம் அனுப்பவும்"
facebook: "Facebook இல் பகிரவும்"
linkedin: "LinkedIn இல் பகிரவும்"
mastodon: "Mastodon இல் டூட் செய்யவும்"
pinterest: "Pinterest இல் பின் செய்யவும்"
reddit: "Reddit க்கு சமர்ப்பிக்கவும்"
twitter: "Twitter இல் ட்வீட் செய்யுங்கள்"
telegram: "Telegram இல் பகிரவும்"
line: "LINE இல் பகிரவும்"
weibo: "Weibo இல் பகிரவும்"
x-twitter: "X இல் இடுகையிடவும்"
shortcode:
recent_articles: "சமீபத்திய கட்டுரைகள்"

View File

@ -53,6 +53,7 @@ sharing:
telegram: "Telegram'da paylaş"
line: "LINE'da paylaş"
weibo: "Weibo'da paylaş"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Güncel"

View File

@ -58,6 +58,7 @@ sharing:
telegram: "Поширити на Telegram"
line: "Поширити на LINE"
weibo: "Поширити на Weibo"
# x-twitter: "Post on X"
shortcode:
recent_articles: "Недавні дописи"

60
i18n/vi.yaml 100644
View File

@ -0,0 +1,60 @@
article:
anchor_label: "Neo"
date: "{{ .Date }}"
date_updated: "Đã cập nhật: {{ .Date }}"
draft: "Bản nháp"
edit_title: "Chỉnh sửa"
reading_time:
one: "{{ .Count }} phút"
other: "{{ .Count }} phút"
reading_time_title: "Thời gian đọc"
table_of_contents: "Mục lục"
word_count:
one: "{{ .Count }} từ"
other: "{{ .Count }} từ"
author:
byline_title: "Tác giả"
code:
copy: "Sao chép"
copied: "Đã sao chép"
error:
404_title: "Không tìm thấy trang :confused:"
404_error: "Lỗi 404"
404_description: "Có vẻ như trang bạn yêu cầu không tồn tại."
footer:
dark_appearance: "Chuyển sang giao diện tối"
light_appearance: "Chuyển sang giao diện sáng"
powered_by: "Cung cấp bởi {{ .Hugo }} &amp; {{ .Congo }}"
list:
externalurl_title: "Liên kết đến trang web bên ngoài"
no_articles: "Chưa có bài viết ở đây."
nav:
scroll_to_top_title: "Cuộn lên trên cùng"
skip_to_main: "Chuyển đến nội dung chính"
search:
open_button_title: "Tìm kiếm (/)"
close_button_title: "Đóng (Esc)"
input_placeholder: "Tìm kiếm"
sharing:
email: "Gửi qua email"
facebook: "Chia sẻ lên Facebook"
linkedin: "Chia sẻ lên LinkedIn"
mastodon: "Toot trên Mastodon"
pinterest: "Pin lên Pinterest"
reddit: "Gửi lên Reddit"
twitter: "Tweet lên Twitter"
telegram: "Chia sẻ lên Telegram"
line: "Chia sẻ lên LINE"
weibo: "Chia sẻ lên Weibo"
x-twitter: "Đăng lên X"
shortcode:
recent_articles: "Gần đây"

View File

@ -53,6 +53,7 @@ sharing:
telegram: "分享到 Telegram"
line: "分享到 LINE"
weibo: "分享到 微博"
# x-twitter: "Post on X"
shortcode:
recent_articles: "最近的文章"

View File

@ -54,6 +54,7 @@ sharing:
telegram: "分享到 Telegram"
line: "分享到 LINE"
weibo: "分享到 微博"
# x-twitter: "Post on X"
shortcode:
recent_articles: "最近的文章"

View File

@ -1,9 +1,9 @@
{{- $link := .Destination -}}
{{- $isRemote := strings.HasPrefix $link "http" -}}
{{- if not $isRemote }}
{{ $url := urls.Parse .Destination }}
{{- $url := urls.Parse .Destination -}}
{{- if $url.Path }}
{{ $fragment := "" }}
{{- $fragment := "" }}
{{- with $url.Fragment }}{{ $fragment = printf "#%s" . }}{{ end -}}
{{- with .Page.GetPage $url.Path }}
{{ $link = printf "%s%s" .RelPermalink $fragment }}
@ -14,5 +14,4 @@
{{ end -}}
{{ end -}}
{{ end -}}
<!-- prettier-ignore -->
<a href="{{ $link | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if $isRemote }} target="_blank" rel="noreferrer"{{ end }}>{{- .Text | safeHTML -}}</a>
<!-- prettier-ignore --><a href="{{ $link | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if $isRemote }} target="_blank" rel="noreferrer"{{ end }}>{{- .Text | safeHTML -}}</a>

View File

@ -10,5 +10,15 @@
src="{{ default "https://plausible.io/js/script.js" site.Params.plausibleAnalytics.script }}"
></script>
{{ end }}
{{ with site.Params.umamiAnalytics }}
{{- $region := "eu" }}
{{- if isset . "region" }}
{{- $region = .region }}
{{- end }}
<script defer
src="https://{{ $region }}.umami.is/script.js"
data-website-id="{{ .site }}">
</script>
{{ end }}
{{ template "_internal/google_analytics.html" . }}
{{ end }}
{{ end }}

View File

@ -1,7 +1,7 @@
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="rgb(255,255,255)" />
<meta name="theme-color" content="{{ .Site.Params.defaultThemeColor | default "#ffffff" }}" />
{{/* Title */}}
{{ if .IsHome -}}
<title>{{ .Site.Title | emojify }}</title>

View File

@ -1,10 +1,10 @@
<details open class="-ms-5 mt-0 overflow-hidden rounded-lg ps-5">
<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" }}
</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 }}
</div>
</details>

204
package-lock.json generated
View File

@ -1,26 +1,26 @@
{
"name": "hugo-congo-theme",
"version": "2.7.6",
"version": "2.8.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "hugo-congo-theme",
"version": "2.7.6",
"version": "2.8.1",
"hasInstallScript": true,
"license": "MIT",
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"chart.js": "^4.4.1",
"@tailwindcss/typography": "^0.5.12",
"chart.js": "^4.4.2",
"fuse.js": "^7.0.0",
"katex": "^0.16.9",
"mermaid": "^10.7.0",
"prettier": "^3.2.4",
"katex": "^0.16.10",
"mermaid": "^10.9.0",
"prettier": "^3.2.5",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.5.11",
"prettier-plugin-tailwindcss": "^0.5.14",
"quicklink": "^2.3.0",
"rimraf": "^5.0.5",
"tailwindcss": "^3.4.1",
"tailwindcss": "^3.4.3",
"vendor-copy": "^3.0.1"
},
"funding": {
@ -168,9 +168,9 @@
}
},
"node_modules/@tailwindcss/typography": {
"version": "0.5.10",
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.10.tgz",
"integrity": "sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==",
"version": "0.5.12",
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.12.tgz",
"integrity": "sha512-CNwpBpconcP7ppxmuq3qvaCxiRWnbhANpY/ruH4L5qs2GCiVDJXde/pjj2HWPV1+Q4G9+V/etrwUYopdcjAlyg==",
"dev": true,
"dependencies": {
"lodash.castarray": "^4.4.0",
@ -338,15 +338,15 @@
}
},
"node_modules/chart.js": {
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.1.tgz",
"integrity": "sha512-C74QN1bxwV1v2PEujhmKjOZ7iUM4w6BWs23Md/6aOZZSlwMzeCIDGuZay++rBgChYru7/+QFeoQW0fQoP534Dg==",
"version": "4.4.2",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.2.tgz",
"integrity": "sha512-6GD7iKwFpP5kbSD4MeRRRlTnQvxfQREy36uEtm1hzHzcOqwWx0YEHuspuoNlslu+nciLIB7fjjsHkUv/FzFcOg==",
"dev": true,
"dependencies": {
"@kurkle/color": "^0.3.0"
},
"engines": {
"pnpm": ">=7"
"pnpm": ">=8"
}
},
"node_modules/chokidar": {
@ -457,9 +457,9 @@
}
},
"node_modules/cytoscape": {
"version": "3.23.0",
"resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.23.0.tgz",
"integrity": "sha512-gRZqJj/1kiAVPkrVFvz/GccxsXhF3Qwpptl32gKKypO4IlqnKBjTOu+HbXtEggSGzC5KCaHp3/F7GgENrtsFkA==",
"version": "3.28.1",
"resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.28.1.tgz",
"integrity": "sha512-xyItz4O/4zp9/239wCcH8ZcFuuZooEeF8KHRmzjDfGdXsj3OG9MFSMA0pJE0uX3uCN/ygof6hHf4L7lst+JaDg==",
"dev": true,
"dependencies": {
"heap": "^0.2.6",
@ -481,33 +481,6 @@
"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": {
"version": "7.8.4",
"resolved": "https://registry.npmjs.org/d3/-/d3-7.8.4.tgz",
@ -1344,9 +1317,9 @@
}
},
"node_modules/jiti": {
"version": "1.20.0",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-1.20.0.tgz",
"integrity": "sha512-3TV69ZbrvV6U5DfQimop50jE9Dl6J8O1ja1dvBbMba/sZ3YBEQqJ2VZRoQPVnhlzjNtU1vaXRZVrVjU4qtm8yA==",
"version": "1.21.0",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz",
"integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==",
"dev": true,
"bin": {
"jiti": "bin/jiti.js"
@ -1360,9 +1333,9 @@
"peer": true
},
"node_modules/katex": {
"version": "0.16.9",
"resolved": "https://registry.npmjs.org/katex/-/katex-0.16.9.tgz",
"integrity": "sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ==",
"version": "0.16.10",
"resolved": "https://registry.npmjs.org/katex/-/katex-0.16.10.tgz",
"integrity": "sha512-ZiqaC04tp2O5utMsl2TEZTXxa6WSC4yo0fv5ML++D3QZv/vx2Mct0mTlRx3O+uUkjfuAgOkzsCmq5MiUEsDDdA==",
"dev": true,
"funding": [
"https://opencollective.com/katex",
@ -1510,23 +1483,23 @@
}
},
"node_modules/mermaid": {
"version": "10.7.0",
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.7.0.tgz",
"integrity": "sha512-PsvGupPCkN1vemAAjScyw4pw34p4/0dZkSrqvAB26hUvJulOWGIwt35FZWmT9wPIi4r0QLa5X0PB4YLIGn0/YQ==",
"version": "10.9.0",
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.9.0.tgz",
"integrity": "sha512-swZju0hFox/B/qoLKK0rOxxgh8Cf7rJSfAUc1u8fezVihYMvrJAS45GzAxTVf4Q+xn9uMgitBcmWk7nWGXOs/g==",
"dev": true,
"dependencies": {
"@braintree/sanitize-url": "^6.0.1",
"@types/d3-scale": "^4.0.3",
"@types/d3-scale-chromatic": "^3.0.0",
"cytoscape": "^3.23.0",
"cytoscape": "^3.28.1",
"cytoscape-cose-bilkent": "^4.1.0",
"cytoscape-fcose": "^2.1.0",
"d3": "^7.4.0",
"d3-sankey": "^0.12.3",
"dagre-d3-es": "7.0.10",
"dayjs": "^1.11.7",
"dompurify": "^3.0.5",
"elkjs": "^0.9.0",
"katex": "^0.16.9",
"khroma": "^2.0.0",
"lodash-es": "^4.17.21",
"mdast-util-from-markdown": "^1.3.0",
@ -2333,9 +2306,9 @@
"dev": true
},
"node_modules/prettier": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.4.tgz",
"integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==",
"version": "3.2.5",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz",
"integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==",
"dev": true,
"bin": {
"prettier": "bin/prettier.cjs"
@ -2363,9 +2336,9 @@
}
},
"node_modules/prettier-plugin-tailwindcss": {
"version": "0.5.11",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.11.tgz",
"integrity": "sha512-AvI/DNyMctyyxGOjyePgi/gqj5hJYClZ1avtQvLlqMT3uDZkRbi4HhGUpok3DRzv9z7Lti85Kdj3s3/1CeNI0w==",
"version": "0.5.14",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.14.tgz",
"integrity": "sha512-Puaz+wPUAhFp8Lo9HuciYKM2Y2XExESjeT+9NQoVFXZsPPnc9VYss2SpxdQ6vbatmt8/4+SN0oe0I1cPDABg9Q==",
"dev": true,
"engines": {
"node": ">=14.21.3"
@ -2375,6 +2348,7 @@
"@prettier/plugin-pug": "*",
"@shopify/prettier-plugin-liquid": "*",
"@trivago/prettier-plugin-sort-imports": "*",
"@zackad/prettier-plugin-twig-melody": "*",
"prettier": "^3.0",
"prettier-plugin-astro": "*",
"prettier-plugin-css-order": "*",
@ -2383,6 +2357,7 @@
"prettier-plugin-marko": "*",
"prettier-plugin-organize-attributes": "*",
"prettier-plugin-organize-imports": "*",
"prettier-plugin-sort-imports": "*",
"prettier-plugin-style-order": "*",
"prettier-plugin-svelte": "*"
},
@ -2399,6 +2374,9 @@
"@trivago/prettier-plugin-sort-imports": {
"optional": true
},
"@zackad/prettier-plugin-twig-melody": {
"optional": true
},
"prettier-plugin-astro": {
"optional": true
},
@ -2420,14 +2398,14 @@
"prettier-plugin-organize-imports": {
"optional": true
},
"prettier-plugin-sort-imports": {
"optional": true
},
"prettier-plugin-style-order": {
"optional": true
},
"prettier-plugin-svelte": {
"optional": true
},
"prettier-plugin-twig-melody": {
"optional": true
}
}
},
@ -2896,9 +2874,9 @@
}
},
"node_modules/tailwindcss": {
"version": "3.4.1",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.1.tgz",
"integrity": "sha512-qAYmXRfk3ENzuPBakNK0SRrUDipP8NQnEY6772uDhflcQz5EhRdD7JNZxyrFHVQNCwULPBn6FNPp9brpO7ctcA==",
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.3.tgz",
"integrity": "sha512-U7sxQk/n397Bmx4JHbJx/iSOOv5G+II3f1kpLpY2QeUv5DcPdcTsYLlusZfq1NthHS1c1cZoyFmmkex1rzke0A==",
"dev": true,
"dependencies": {
"@alloc/quick-lru": "^5.2.0",
@ -2909,7 +2887,7 @@
"fast-glob": "^3.3.0",
"glob-parent": "^6.0.2",
"is-glob": "^4.0.3",
"jiti": "^1.19.1",
"jiti": "^1.21.0",
"lilconfig": "^2.1.0",
"micromatch": "^4.0.5",
"normalize-path": "^3.0.0",
@ -3314,9 +3292,9 @@
"optional": true
},
"@tailwindcss/typography": {
"version": "0.5.10",
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.10.tgz",
"integrity": "sha512-Pe8BuPJQJd3FfRnm6H0ulKIGoMEQS+Vq01R6M5aCrFB/ccR/shT+0kXLjouGC1gFLm9hopTFN+DMP0pfwRWzPw==",
"version": "0.5.12",
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.12.tgz",
"integrity": "sha512-CNwpBpconcP7ppxmuq3qvaCxiRWnbhANpY/ruH4L5qs2GCiVDJXde/pjj2HWPV1+Q4G9+V/etrwUYopdcjAlyg==",
"dev": true,
"requires": {
"lodash.castarray": "^4.4.0",
@ -3453,9 +3431,9 @@
"dev": true
},
"chart.js": {
"version": "4.4.1",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.1.tgz",
"integrity": "sha512-C74QN1bxwV1v2PEujhmKjOZ7iUM4w6BWs23Md/6aOZZSlwMzeCIDGuZay++rBgChYru7/+QFeoQW0fQoP534Dg==",
"version": "4.4.2",
"resolved": "https://registry.npmjs.org/chart.js/-/chart.js-4.4.2.tgz",
"integrity": "sha512-6GD7iKwFpP5kbSD4MeRRRlTnQvxfQREy36uEtm1hzHzcOqwWx0YEHuspuoNlslu+nciLIB7fjjsHkUv/FzFcOg==",
"dev": true,
"requires": {
"@kurkle/color": "^0.3.0"
@ -3542,9 +3520,9 @@
"dev": true
},
"cytoscape": {
"version": "3.23.0",
"resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.23.0.tgz",
"integrity": "sha512-gRZqJj/1kiAVPkrVFvz/GccxsXhF3Qwpptl32gKKypO4IlqnKBjTOu+HbXtEggSGzC5KCaHp3/F7GgENrtsFkA==",
"version": "3.28.1",
"resolved": "https://registry.npmjs.org/cytoscape/-/cytoscape-3.28.1.tgz",
"integrity": "sha512-xyItz4O/4zp9/239wCcH8ZcFuuZooEeF8KHRmzjDfGdXsj3OG9MFSMA0pJE0uX3uCN/ygof6hHf4L7lst+JaDg==",
"dev": true,
"requires": {
"heap": "^0.2.6",
@ -3560,32 +3538,6 @@
"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": {
"version": "7.8.4",
"resolved": "https://registry.npmjs.org/d3/-/d3-7.8.4.tgz",
@ -4228,9 +4180,9 @@
}
},
"jiti": {
"version": "1.20.0",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-1.20.0.tgz",
"integrity": "sha512-3TV69ZbrvV6U5DfQimop50jE9Dl6J8O1ja1dvBbMba/sZ3YBEQqJ2VZRoQPVnhlzjNtU1vaXRZVrVjU4qtm8yA==",
"version": "1.21.0",
"resolved": "https://registry.npmjs.org/jiti/-/jiti-1.21.0.tgz",
"integrity": "sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q==",
"dev": true
},
"js-tokens": {
@ -4241,9 +4193,9 @@
"peer": true
},
"katex": {
"version": "0.16.9",
"resolved": "https://registry.npmjs.org/katex/-/katex-0.16.9.tgz",
"integrity": "sha512-fsSYjWS0EEOwvy81j3vRA8TEAhQhKiqO+FQaKWp0m39qwOzHVBgAUBIXWj1pB+O2W3fIpNa6Y9KSKCVbfPhyAQ==",
"version": "0.16.10",
"resolved": "https://registry.npmjs.org/katex/-/katex-0.16.10.tgz",
"integrity": "sha512-ZiqaC04tp2O5utMsl2TEZTXxa6WSC4yo0fv5ML++D3QZv/vx2Mct0mTlRx3O+uUkjfuAgOkzsCmq5MiUEsDDdA==",
"dev": true,
"requires": {
"commander": "^8.3.0"
@ -4361,23 +4313,23 @@
"dev": true
},
"mermaid": {
"version": "10.7.0",
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.7.0.tgz",
"integrity": "sha512-PsvGupPCkN1vemAAjScyw4pw34p4/0dZkSrqvAB26hUvJulOWGIwt35FZWmT9wPIi4r0QLa5X0PB4YLIGn0/YQ==",
"version": "10.9.0",
"resolved": "https://registry.npmjs.org/mermaid/-/mermaid-10.9.0.tgz",
"integrity": "sha512-swZju0hFox/B/qoLKK0rOxxgh8Cf7rJSfAUc1u8fezVihYMvrJAS45GzAxTVf4Q+xn9uMgitBcmWk7nWGXOs/g==",
"dev": true,
"requires": {
"@braintree/sanitize-url": "^6.0.1",
"@types/d3-scale": "^4.0.3",
"@types/d3-scale-chromatic": "^3.0.0",
"cytoscape": "^3.23.0",
"cytoscape": "^3.28.1",
"cytoscape-cose-bilkent": "^4.1.0",
"cytoscape-fcose": "^2.1.0",
"d3": "^7.4.0",
"d3-sankey": "^0.12.3",
"dagre-d3-es": "7.0.10",
"dayjs": "^1.11.7",
"dompurify": "^3.0.5",
"elkjs": "^0.9.0",
"katex": "^0.16.9",
"khroma": "^2.0.0",
"lodash-es": "^4.17.21",
"mdast-util-from-markdown": "^1.3.0",
@ -4845,9 +4797,9 @@
"dev": true
},
"prettier": {
"version": "3.2.4",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.4.tgz",
"integrity": "sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==",
"version": "3.2.5",
"resolved": "https://registry.npmjs.org/prettier/-/prettier-3.2.5.tgz",
"integrity": "sha512-3/GWa9aOC0YeD7LUfvOG2NiDyhOWRvt1k+rcKhOuYnMY24iiCphgneUfJDyFXd6rZCAnuLBv6UeAULtrhT/F4A==",
"dev": true
},
"prettier-plugin-go-template": {
@ -4860,9 +4812,9 @@
}
},
"prettier-plugin-tailwindcss": {
"version": "0.5.11",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.11.tgz",
"integrity": "sha512-AvI/DNyMctyyxGOjyePgi/gqj5hJYClZ1avtQvLlqMT3uDZkRbi4HhGUpok3DRzv9z7Lti85Kdj3s3/1CeNI0w==",
"version": "0.5.14",
"resolved": "https://registry.npmjs.org/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.5.14.tgz",
"integrity": "sha512-Puaz+wPUAhFp8Lo9HuciYKM2Y2XExESjeT+9NQoVFXZsPPnc9VYss2SpxdQ6vbatmt8/4+SN0oe0I1cPDABg9Q==",
"dev": true,
"requires": {}
},
@ -5199,9 +5151,9 @@
"dev": true
},
"tailwindcss": {
"version": "3.4.1",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.1.tgz",
"integrity": "sha512-qAYmXRfk3ENzuPBakNK0SRrUDipP8NQnEY6772uDhflcQz5EhRdD7JNZxyrFHVQNCwULPBn6FNPp9brpO7ctcA==",
"version": "3.4.3",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.3.tgz",
"integrity": "sha512-U7sxQk/n397Bmx4JHbJx/iSOOv5G+II3f1kpLpY2QeUv5DcPdcTsYLlusZfq1NthHS1c1cZoyFmmkex1rzke0A==",
"dev": true,
"requires": {
"@alloc/quick-lru": "^5.2.0",
@ -5212,7 +5164,7 @@
"fast-glob": "^3.3.0",
"glob-parent": "^6.0.2",
"is-glob": "^4.0.3",
"jiti": "^1.19.1",
"jiti": "^1.21.0",
"lilconfig": "^2.1.0",
"micromatch": "^4.0.5",
"normalize-path": "^3.0.0",

View File

@ -1,6 +1,6 @@
{
"name": "hugo-congo-theme",
"version": "2.8.0",
"version": "2.8.2",
"description": "Congo theme for Hugo",
"scripts": {
"preinstall": "rimraf assets/lib",
@ -29,17 +29,17 @@
},
"homepage": "https://github.com/jpanther/congo#readme",
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"chart.js": "^4.4.1",
"@tailwindcss/typography": "^0.5.12",
"chart.js": "^4.4.2",
"fuse.js": "^7.0.0",
"katex": "^0.16.9",
"mermaid": "^10.7.0",
"prettier": "^3.2.4",
"katex": "^0.16.10",
"mermaid": "^10.9.0",
"prettier": "^3.2.5",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.5.11",
"prettier-plugin-tailwindcss": "^0.5.14",
"quicklink": "^2.3.0",
"rimraf": "^5.0.5",
"tailwindcss": "^3.4.1",
"tailwindcss": "^3.4.3",
"vendor-copy": "^3.0.1"
},
"vendorCopy": [],