Merge branch 'dev' into pr/G-Snipes/911

This commit is contained in:
James Panther
2024-08-29 11:57:14 +10:00
22 changed files with 1873 additions and 2298 deletions
+9 -1
View File
@@ -8,14 +8,21 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Added
- New `profile` shortcode
- 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))
- Support for article sharing to Threads ([#869](https://github.com/jpanther/congo/issues/869))
- Norwegian Bokmål translation ([#872](https://github.com/jpanther/congo/pull/872))
- Breadcrumb metadata to page schema ([#885](https://github.com/jpanther/congo/pull/885))
### Changed
- Upgrade to Typography v0.5.13 ([#864](https://github.com/jpanther/congo/pull/864))
- Upgrade to Tailwind v3.4.10 ([#930](https://github.com/jpanther/congo/pull/930))
- Upgrade to Typography v0.5.15 ([#864](https://github.com/jpanther/congo/pull/864), [#927](https://github.com/jpanther/congo/pull/927))
- Upgrade to ChartJS v4.4.4 ([#881](https://github.com/jpanther/congo/pull/881),[#928](https://github.com/jpanther/congo/pull/928))
- Upgrade to KaTeX v0.16.11 ([#925](https://github.com/jpanther/congo/pull/925))
- Upgrade to Mermaid v11.0.2 ([#880](https://github.com/jpanther/congo/pull/880), [#926](https://github.com/jpanther/congo/pull/926))
### Fixed
@@ -23,6 +30,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
- Inconsistent picture rendering between `figure` shortcode and Markdown render hook ([#828](https://github.com/jpanther/congo/issues/828))
- Animated GIF files are static when `enableImageWebp` is enabled ([#866](https://github.com/jpanther/congo/issues/866))
- Next article pagination link animation is inverted ([#870](https://github.com/jpanther/congo/issues/870))
- Unsafe URL warning in README link ([#901](https://github.com/jpanther/congo/pull/901))
## [2.8.2] - 2024-04-17
+1 -1
View File
@@ -71,7 +71,7 @@ Detailed instructions for each method can be found in the [Installation](https:/
> **Note:** Do not overwrite the `module.toml` file you created above!
You will find these theme config files in the Hugo cache directory, or [download a copy](https://minhaskamal.github.io/DownGit/#/home?url=https://github.com/jpanther/congo/tree/stable/config/_default) from GitHub.
You will find these theme config files in the Hugo cache directory, or [download a copy](https://github.com/jpanther/congo/tree/stable/config/_default) from GitHub.
5. Follow the [Getting Started](https://jpanther.github.io/congo/docs/getting-started/) instructions to configure your website.
+11 -4
View File
@@ -1,6 +1,6 @@
/*! Congo v2.8.2 | MIT License | https://github.com/jpanther/congo */
/*! tailwindcss v3.4.3 | MIT License | https://tailwindcss.com */
/*! tailwindcss v3.4.10 | MIT License | https://tailwindcss.com */
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
@@ -864,7 +864,6 @@ video {
.prose :where(table):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
width: 100%;
table-layout: auto;
text-align: start;
margin-top: 2em;
margin-bottom: 2em;
font-size: 0.875em;
@@ -907,6 +906,10 @@ video {
vertical-align: top;
}
.prose :where(th, td):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
text-align: start;
}
.prose :where(figure > *):not(:where([class~="not-prose"],[class~="not-prose"] *)) {
margin-top: 0;
margin-bottom: 0;
@@ -2162,6 +2165,10 @@ code {
align-items: flex-start;
}
.items-end {
align-items: flex-end;
}
.items-center {
align-items: center;
}
@@ -2628,13 +2635,13 @@ code {
.backdrop-blur {
--tw-backdrop-blur: blur(8px);
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.backdrop-blur-sm {
--tw-backdrop-blur: blur(4px);
-webkit-backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);
}
.transition-colors {
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+900 -778
View File
File diff suppressed because one or more lines are too long
@@ -48,37 +48,38 @@ Congoは完全な多言語ウェブサイト用に最適化されており、テ
Congoは現在、以下の言語に対応しています:
| Language | Code |
| --------------------------------------- | ------- |
| :gb: **English (default)** | `en` |
| :egypt: Arabic | `ar` |
| :bangladesh: Bengali | `bn` |
| :bulgaria: Bulgarian | `bg` |
| :cn: Chinese - Simplified (China) | `zh-cn` |
| :taiwan: Chinese - Traditional (Taiwan) | `zh-tw` |
| :flag-cz: Czech | `cs` |
| :netherlands: Dutch | `nl` |
| :finland: Finnish | `fi` |
| :fr: French | `fr` |
| :de: German | `de` |
| :israel: Hebrew | `he` |
| :hungary: Hungarian | `hu` |
| :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` |
| :romania: Romanian | `ro` |
| :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` |
| Language | Code |
| ------------------------------ | ------- |
| **English (default)** | `en` |
| Arabic | `ar` |
| Bengali | `bn` |
| Bulgarian | `bg` |
| Chinese - Simplified (China) | `zh-cn` |
| Chinese - Traditional (Taiwan) | `zh-tw` |
| Czech | `cs` |
| Dutch | `nl` |
| Finnish | `fi` |
| French | `fr` |
| German | `de` |
| Hebrew | `he` |
| Hungarian | `hu` |
| Indonesian | `id` |
| Italian | `it` |
| Japanese | `ja` |
| Korean | `ko` |
| Norwegian - Bokmål | `nb` |
| Polish | `pl` |
| Portuguese (Brazil) | `pt-br` |
| Portuguese (Portugal) | `pt-pt` |
| Romanian | `ro` |
| Russian | `ru` |
| Slovak | `sk` |
| Spanish (Spain) | `es` |
| Swedish | `sv` |
| Tamil | `ta` |
| Turkish | `tr` |
| Ukrainian | `uk` |
| Vietnamese | `vi` |
翻訳文字列を含むカスタムファイルを `i18n/[code].yaml` に作成することでデフォルトの翻訳をオーバーライドできます。このメソッドを使って新しい言語を追加することもできます。新しい翻訳をコミュニティと共有したい場合、[Pull Request](https://github.com/jpanther/congo/pulls)を作ってください。
+32 -31
View File
@@ -48,37 +48,38 @@ Congo is optimised for full multilingual websites and theme assets are translate
The theme currently supports the following languages out of the box:
| Language | Code |
| --------------------------------------- | ------- |
| :gb: **English (default)** | `en` |
| :egypt: Arabic | `ar` |
| :bangladesh: Bengali | `bn` |
| :bulgaria: Bulgarian | `bg` |
| :cn: Chinese - Simplified (China) | `zh-cn` |
| :taiwan: Chinese - Traditional (Taiwan) | `zh-tw` |
| :flag-cz: Czech | `cs` |
| :netherlands: Dutch | `nl` |
| :finland: Finnish | `fi` |
| :fr: French | `fr` |
| :de: German | `de` |
| :israel: Hebrew | `he` |
| :hungary: Hungarian | `hu` |
| :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` |
| :romania: Romanian | `ro` |
| :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` |
| Language | Code |
| ------------------------------ | ------- |
| **English (default)** | `en` |
| Arabic | `ar` |
| Bengali | `bn` |
| Bulgarian | `bg` |
| Chinese - Simplified (China) | `zh-cn` |
| Chinese - Traditional (Taiwan) | `zh-tw` |
| Czech | `cs` |
| Dutch | `nl` |
| Finnish | `fi` |
| French | `fr` |
| German | `de` |
| Hebrew | `he` |
| Hungarian | `hu` |
| Indonesian | `id` |
| Italian | `it` |
| Japanese | `ja` |
| Korean | `ko` |
| Norwegian - Bokmål | `nb` |
| Polish | `pl` |
| Portuguese (Brazil) | `pt-br` |
| Portuguese (Portugal) | `pt-pt` |
| Romanian | `ro` |
| Russian | `ru` |
| Slovak | `sk` |
| Spanish (Spain) | `es` |
| Swedish | `sv` |
| Tamil | `ta` |
| Turkish | `tr` |
| Ukrainian | `uk` |
| 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).
@@ -234,3 +234,23 @@ B-->C[Profit]
{{< /mermaid >}}
You can see some additional Mermaid examples on the [diagrams and flowcharts samples]({{< ref "diagrams-flowcharts" >}}) page.
## Profile
The `profile` shortcode inserts a block displaying the site author's details. The same template is used on Congo's homepage layouts, but can also be inserted in any article content. It has one optional parameter:
<!-- prettier-ignore-start -->
|Parameter|Description|
|---|---|
|`align`|The alignment of the profile elements - valid options include `start`, `center` and `end`. If no value is provided, the `center` alignment will be used.|
<!-- prettier-ignore-end -->
The template is populated using the author parameters set in the [Language Configuration]({{< ref "configuration#configuration" >}}).
**Example:**
```md
{{</* profile align="center" */>}}
```
{{< profile align="center" >}}
+3 -7
View File
@@ -24,12 +24,10 @@ La lista a continuación es solo un puñado de sitios web creados con el tema Co
| [leif.io](https://leif.io/) | Personal site and Tech blog |
| [dr460nf1r3.org](https://dr460nf1r3.org/) | Personal site and Blog |
| [OCram85.com](https://ocram85.com) | Personal site and Blog |
| [mackiser.github.io](https://mackiser.github.io) | Personal site and Blog |
| [jamesmillner.dev](https://jamesmillner.dev) | Personal site and Blog |
| [jeremic.ca](https://jeremic.ca) | Personal site and Blog |
| [rohn.tech](https://rohn.tech) | Personal site |
| [klimafreundlicher-kochen.de](https://www.klimafreundlicher-kochen.de) | Food blog (in German) |
| [datanalyze.be](https://datanalyze.be/) | Professional site |
| [sneaky-potato.github.io](https://sneaky-potato.github.io/) | Professional site and Blog |
| [kelset.dev](https://kelset.dev) | Personal site |
| [docteurelsavancaster.com](https://docteurelsavancaster.com/) | Professional site |
@@ -38,7 +36,7 @@ La lista a continuación es solo un puñado de sitios web creados con el tema Co
| [Bible Multi Apps](https://hotlittlewhitedog.gitlab.io/biblemulti) | Personal site and Blog |
| [Jh123x](https://jh123x.com/) | Personal site and Blog |
| [sforzando LLC. and Inc.](https://sfz.dev/) | Corporate site and Blog |
| [szegedkungfu.hu](https://balance-se.github.io/) | Sports association site |
| [szegedkungfu.hu](https://szegedkungfu.hu/) | Sports association site |
| [cbrincoveanu.com](https://www.cbrincoveanu.com/) | Personal site and Blog |
| [medical-humanities](https://medical-humanities.org) | Academic site |
| [boyersnet.com](https://boyersnet.com) | Personal site and Blog |
@@ -50,8 +48,6 @@ La lista a continuación es solo un puñado de sitios web creados con el tema Co
| [pfisterer.dev](https://pfisterer.dev) | Personal site and Blog |
| [davidrothera.me](https://davidrothera.me) | Personal site and Blog |
| [sug.bitprism.net](https://sug.bitprism.net) | Personal Site and Blog |
| [arjuns.me](https://arjuns.me) | Personal Site and Blog |
| [statistix.be](https://statistix.be/) | Professional site |
| [sathyabh.at](https://sathyabh.at) | Personal Site and Blog |
| [leonidasv.com](https://leonidasv.com/) | Personal site and Blog |
| [andrew-jones.com](https://andrew-jones.com/) | Personal site and tech blog |
@@ -63,8 +59,6 @@ La lista a continuación es solo un puñado de sitios web creados con el tema Co
| [simaosilva.com](https://simaosilva.com) | Personal Site |
| [kom.al](https://kom.al) | Personal Site |
| [andrea.mortaro.it](https://andrea.mortaro.it) | Personal Site and Blog |
| [yoganath.me](https://yoganath.me) | Personal Site and Blog |
| [josh-v.com](https://josh-v.com) | Personal Site and Tech blog |
| [rshmhrj.io](https://rshmhrj.io/) | Personal Site and Tech blog |
| [jamesjarvis.io](https://jamesjarvis.io) | Personal Site and Blog |
| [jnsgr.uk](https://jnsgr.uk) | Personal site and blog |
@@ -77,5 +71,7 @@ La lista a continuación es solo un puñado de sitios web creados con el tema Co
| [hosni.info](https://hosni.info/) | Personal site and Tech Blog |
| [mattstrayer.com](https://www.mattstrayer.com/) | Personal Site and Blog |
| [noamlerner.com](https://www.noamlerner.com/) | Personal blog (English/Hebrew) |
| [jneidel.com](https://jneidel.com) | Personal site and blog |
| [clementfouque.com](https://clementfouque.com) | 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).
+3 -7
View File
@@ -24,12 +24,10 @@ Congoを使用して構築された実際のウェブサイト。
| [leif.io](https://leif.io/) | Personal site and Tech blog |
| [dr460nf1r3.org](https://dr460nf1r3.org/) | Personal site and Blog |
| [OCram85.com](https://ocram85.com) | Personal site and Blog |
| [mackiser.github.io](https://mackiser.github.io) | Personal site and Blog |
| [jamesmillner.dev](https://jamesmillner.dev) | Personal site and Blog |
| [jeremic.ca](https://jeremic.ca) | Personal site and Blog |
| [rohn.tech](https://rohn.tech) | Personal site |
| [klimafreundlicher-kochen.de](https://www.klimafreundlicher-kochen.de) | Food blog (in German) |
| [datanalyze.be](https://datanalyze.be/) | Professional site |
| [sneaky-potato.github.io](https://sneaky-potato.github.io/) | Professional site and Blog |
| [kelset.dev](https://kelset.dev) | Personal site |
| [docteurelsavancaster.com](https://docteurelsavancaster.com/) | Professional site |
@@ -38,7 +36,7 @@ Congoを使用して構築された実際のウェブサイト。
| [Bible Multi Apps](https://hotlittlewhitedog.gitlab.io/biblemulti) | Personal site and Blog |
| [Jh123x](https://jh123x.com/) | Personal site and Blog |
| [sforzando LLC. and Inc.](https://sfz.dev/) | Corporate site and Blog |
| [szegedkungfu.hu](https://balance-se.github.io/) | Sports association site |
| [szegedkungfu.hu](https://szegedkungfu.hu/) | Sports association site |
| [cbrincoveanu.com](https://www.cbrincoveanu.com/) | Personal site and Blog |
| [medical-humanities](https://medical-humanities.org) | Academic site |
| [boyersnet.com](https://boyersnet.com) | Personal site and Blog |
@@ -50,8 +48,6 @@ Congoを使用して構築された実際のウェブサイト。
| [pfisterer.dev](https://pfisterer.dev) | Personal site and Blog |
| [davidrothera.me](https://davidrothera.me) | Personal site and Blog |
| [sug.bitprism.net](https://sug.bitprism.net) | Personal Site and Blog |
| [arjuns.me](https://arjuns.me) | Personal Site and Blog |
| [statistix.be](https://statistix.be/) | Professional site |
| [sathyabh.at](https://sathyabh.at) | Personal Site and Blog |
| [leonidasv.com](https://leonidasv.com/) | Personal site and Blog |
| [andrew-jones.com](https://andrew-jones.com/) | Personal site and tech blog |
@@ -63,8 +59,6 @@ Congoを使用して構築された実際のウェブサイト。
| [simaosilva.com](https://simaosilva.com) | Personal Site |
| [kom.al](https://kom.al) | Personal Site |
| [andrea.mortaro.it](https://andrea.mortaro.it) | Personal Site and Blog |
| [yoganath.me](https://yoganath.me) | Personal Site and Blog |
| [josh-v.com](https://josh-v.com) | Personal Site and Tech blog |
| [rshmhrj.io](https://rshmhrj.io/) | Personal Site and Tech blog |
| [jamesjarvis.io](https://jamesjarvis.io) | Personal Site and Blog |
| [jnsgr.uk](https://jnsgr.uk) | Personal site and blog |
@@ -77,5 +71,7 @@ Congoを使用して構築された実際のウェブサイト。
| [hosni.info](https://hosni.info/) | Personal site and Tech Blog |
| [mattstrayer.com](https://www.mattstrayer.com/) | Personal Site and Blog |
| [noamlerner.com](https://www.noamlerner.com/) | Personal blog (English/Hebrew) |
| [jneidel.com](https://jneidel.com) | Personal site and blog |
| [clementfouque.com](https://clementfouque.com) | Personal Site and Tech Blog |
**Congoを使っていますか?** あなたのウェブサイトを加えるために[Pull Request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md)を投げてください。
+58 -60
View File
@@ -17,66 +17,64 @@ Real websites that have been built using Congo.
The list below is just a handful of the websites that are built using the Congo theme. Check them out to discover some great examples of what the theme can do.
| Website | Details |
| ---------------------------------------------------------------------- | ------------------------------- |
| [jamespanther.com](https://jamespanther.com) | Personal site - Theme author |
| [antoinesoetewey.com](https://antoinesoetewey.com/) | Personal site |
| [leif.io](https://leif.io/) | Personal site and Tech blog |
| [dr460nf1r3.org](https://dr460nf1r3.org/) | Personal site and Blog |
| [OCram85.com](https://ocram85.com) | Personal site and Blog |
| [mackiser.github.io](https://mackiser.github.io) | Personal site and Blog |
| [jamesmillner.dev](https://jamesmillner.dev) | Personal site and Blog |
| [jeremic.ca](https://jeremic.ca) | Personal site and Blog |
| [rohn.tech](https://rohn.tech) | Personal site |
| [klimafreundlicher-kochen.de](https://www.klimafreundlicher-kochen.de) | Food blog (in German) |
| [datanalyze.be](https://datanalyze.be/) | Professional site |
| [sneaky-potato.github.io](https://sneaky-potato.github.io/) | Professional site and Blog |
| [kelset.dev](https://kelset.dev) | Personal site |
| [docteurelsavancaster.com](https://docteurelsavancaster.com/) | Professional site |
| [ruihao-li.github.io](https://ruihao-li.github.io/) | Personal site and Blog |
| [phalanxhead.dev](https://phalanxhead.dev) | Personal site and Blog |
| [Bible Multi Apps](https://hotlittlewhitedog.gitlab.io/biblemulti) | Personal site and Blog |
| [Jh123x](https://jh123x.com/) | Personal site and Blog |
| [sforzando LLC. and Inc.](https://sfz.dev/) | Corporate site and Blog |
| [szegedkungfu.hu](https://balance-se.github.io/) | Sports association site |
| [cbrincoveanu.com](https://www.cbrincoveanu.com/) | Personal site and Blog |
| [medical-humanities](https://medical-humanities.org) | Academic site |
| [boyersnet.com](https://boyersnet.com) | Personal site and Blog |
| [major.io](https://major.io) | Personal site and Blog |
| [顾宇的博客](https://www.guyu.me/) | Personal Blog (in Chinese) |
| [cgutierr-zgz.github.io](https://cgutierr-zgz.github.io/) | Personal site and Tech blog |
| [adam.sr](https://adam.sr) | Personal site and Blog |
| [kpavlov.me](https://kpavlov.me) | Personal site and Blog |
| [pfisterer.dev](https://pfisterer.dev) | Personal site and Blog |
| [davidrothera.me](https://davidrothera.me) | Personal site and Blog |
| [sug.bitprism.net](https://sug.bitprism.net) | Personal Site and Blog |
| [statistix.be](https://statistix.be/) | Professional site |
| [sathyabh.at](https://sathyabh.at) | Personal Site and Blog |
| [leonidasv.com](https://leonidasv.com/) | Personal site and Blog |
| [andrew-jones.com](https://andrew-jones.com/) | Personal site and tech blog |
| [nikita.computer](https://nikita.computer/) | Personal site and tech blog |
| [blog.dejavu.moe](https://blog.dejavu.moe/) | Personal blog and weekly issues |
| [spiffyeight77.com](https://spiffyeight77.com/) | Personal blog |
| [Tomy's Blog](https://blog.tomy.me) | Personal site and Blog |
| [Beerjoa Blog](https://blog.beerjoa.dev) | Personal site and Blog |
| [simaosilva.com](https://simaosilva.com) | Personal Site |
| [kom.al](https://kom.al) | Personal Site |
| [andrea.mortaro.it](https://andrea.mortaro.it) | Personal Site and Blog |
| [yoganath.me](https://yoganath.me) | Personal Site and Blog |
| [josh-v.com](https://josh-v.com) | Personal Site and Tech blog |
| [rshmhrj.io](https://rshmhrj.io/) | Personal Site and Tech blog |
| [jamesjarvis.io](https://jamesjarvis.io) | Personal Site and Blog |
| [jnsgr.uk](https://jnsgr.uk) | Personal site and blog |
| [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 |
| [mattstrayer.com](https://www.mattstrayer.com/) | Personal Site and Blog |
| [noamlerner.com](https://www.noamlerner.com/) | Personal blog (English/Hebrew) |
| [jneidel.com](https://jneidel.com) | Personal site and blog |
| Website | Details |
| ---------------------------------------------------------------------- | --------------------------------- |
| [jamespanther.com](https://jamespanther.com) | Personal site - Theme author |
| [antoinesoetewey.com](https://antoinesoetewey.com/) | Personal site |
| [leif.io](https://leif.io/) | Personal site and Tech blog |
| [dr460nf1r3.org](https://dr460nf1r3.org/) | Personal site and Blog |
| [OCram85.com](https://ocram85.com) | Personal site and Blog |
| [jamesmillner.dev](https://jamesmillner.dev) | Personal site and Blog |
| [jeremic.ca](https://jeremic.ca) | Personal site and Blog |
| [rohn.tech](https://rohn.tech) | Personal site |
| [klimafreundlicher-kochen.de](https://www.klimafreundlicher-kochen.de) | Food blog (in German) |
| [sneaky-potato.github.io](https://sneaky-potato.github.io/) | Professional site and Blog |
| [kelset.dev](https://kelset.dev) | Personal site |
| [docteurelsavancaster.com](https://docteurelsavancaster.com/) | Professional site |
| [ruihao-li.github.io](https://ruihao-li.github.io/) | Personal site and Blog |
| [phalanxhead.dev](https://phalanxhead.dev) | Personal site and Blog |
| [Bible Multi Apps](https://hotlittlewhitedog.gitlab.io/biblemulti) | Personal site and Blog |
| [Jh123x](https://jh123x.com/) | Personal site and Blog |
| [sforzando LLC. and Inc.](https://sfz.dev/) | Corporate site and Blog |
| [szegedkungfu.hu](https://szegedkungfu.hu/) | Sports association site |
| [cbrincoveanu.com](https://www.cbrincoveanu.com/) | Personal site and Blog |
| [medical-humanities](https://medical-humanities.org) | Academic site |
| [boyersnet.com](https://boyersnet.com) | Personal site and Blog |
| [major.io](https://major.io) | Personal site and Blog |
| [顾宇的博客](https://www.guyu.me/) | Personal Blog (in Chinese) |
| [cgutierr-zgz.github.io](https://cgutierr-zgz.github.io/) | Personal site and Tech blog |
| [adam.sr](https://adam.sr) | Personal site and Blog |
| [kpavlov.me](https://kpavlov.me) | Personal site and Blog |
| [pfisterer.dev](https://pfisterer.dev) | Personal site and Blog |
| [davidrothera.me](https://davidrothera.me) | Personal site and Blog |
| [sug.bitprism.net](https://sug.bitprism.net) | Personal Site and Blog |
| [sathyabh.at](https://sathyabh.at) | Personal Site and Blog |
| [leonidasv.com](https://leonidasv.com/) | Personal site and Blog |
| [andrew-jones.com](https://andrew-jones.com/) | Personal site and tech blog |
| [nikita.computer](https://nikita.computer/) | Personal site and tech blog |
| [blog.dejavu.moe](https://blog.dejavu.moe/) | Personal blog and weekly issues |
| [spiffyeight77.com](https://spiffyeight77.com/) | Personal blog |
| [Tomy's Blog](https://blog.tomy.me) | Personal site and Blog |
| [Beerjoa Blog](https://blog.beerjoa.dev) | Personal site and Blog |
| [simaosilva.com](https://simaosilva.com) | Personal Site |
| [kom.al](https://kom.al) | Personal Site |
| [andrea.mortaro.it](https://andrea.mortaro.it) | Personal Site and Blog |
| [rshmhrj.io](https://rshmhrj.io/) | Personal Site and Tech blog |
| [jamesjarvis.io](https://jamesjarvis.io) | Personal Site and Blog |
| [jnsgr.uk](https://jnsgr.uk) | Personal site and blog |
| [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 |
| [mattstrayer.com](https://www.mattstrayer.com/) | Personal Site and Blog |
| [noamlerner.com](https://www.noamlerner.com/) | Personal blog (English/Hebrew) |
| [jneidel.com](https://jneidel.com) | Personal site and blog |
| [clementfouque.com](https://clementfouque.com) | Personal Site and Tech Blog |
| [victoryuan.com](https://victoryuan.com) | Personal Site and blog |
| [chenyu.blog](https://chenyu.blog) | Personal site and blog |
| [g-snipes.github.io](https://g-snipes.github.io./) | Personal site and Music/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).
+5 -7
View File
@@ -24,12 +24,10 @@ showEdit: false
| [leif.io](https://leif.io/) | Personal site and Tech blog |
| [dr460nf1r3.org](https://dr460nf1r3.org/) | Personal site and Blog |
| [OCram85.com](https://ocram85.com) | Personal site and Blog |
| [mackiser.github.io](https://mackiser.github.io) | Personal site and Blog |
| [jamesmillner.dev](https://jamesmillner.dev) | Personal site and Blog |
| [jeremic.ca](https://jeremic.ca) | Personal site and Blog |
| [rohn.tech](https://rohn.tech) | Personal site |
| [klimafreundlicher-kochen.de](https://www.klimafreundlicher-kochen.de) | Food blog (in German) |
| [datanalyze.be](https://datanalyze.be/) | Professional site |
| [sneaky-potato.github.io](https://sneaky-potato.github.io/) | Professional site and Blog |
| [kelset.dev](https://kelset.dev) | Personal site |
| [docteurelsavancaster.com](https://docteurelsavancaster.com/) | Professional site |
@@ -38,7 +36,7 @@ showEdit: false
| [Bible Multi Apps](https://hotlittlewhitedog.gitlab.io/biblemulti) | Personal site and Blog |
| [Jh123x](https://jh123x.com/) | Personal site and Blog |
| [sforzando LLC. and Inc.](https://sfz.dev/) | Corporate site and Blog |
| [szegedkungfu.hu](https://balance-se.github.io/) | Sports association site |
| [szegedkungfu.hu](https://szegedkungfu.hu/) | Sports association site |
| [cbrincoveanu.com](https://www.cbrincoveanu.com/) | Personal site and Blog |
| [medical-humanities](https://medical-humanities.org) | Academic site |
| [boyersnet.com](https://boyersnet.com) | Personal site and Blog |
@@ -50,8 +48,6 @@ showEdit: false
| [pfisterer.dev](https://pfisterer.dev) | Personal site and Blog |
| [davidrothera.me](https://davidrothera.me) | Personal site and Blog |
| [sug.bitprism.net](https://sug.bitprism.net) | Personal Site and Blog |
| [arjuns.me](https://arjuns.me) | Personal Site and Blog |
| [statistix.be](https://statistix.be/) | Professional site |
| [sathyabh.at](https://sathyabh.at) | Personal Site and Blog |
| [leonidasv.com](https://leonidasv.com/) | Personal site and Blog |
| [andrew-jones.com](https://andrew-jones.com/) | Personal site and tech blog |
@@ -63,8 +59,6 @@ showEdit: false
| [simaosilva.com](https://simaosilva.com) | Personal Site |
| [kom.al](https://kom.al) | Personal Site |
| [andrea.mortaro.it](https://andrea.mortaro.it) | Personal Site and Blog |
| [yoganath.me](https://yoganath.me) | Personal Site and Blog |
| [josh-v.com](https://josh-v.com) | Personal Site and Tech blog |
| [rshmhrj.io](https://rshmhrj.io/) | Personal Site and Tech blog |
| [jamesjarvis.io](https://jamesjarvis.io) | Personal Site and Blog |
| [jnsgr.uk](https://jnsgr.uk) | Personal site and blog |
@@ -75,5 +69,9 @@ showEdit: false
| [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 |
| [mattstrayer.com](https://www.mattstrayer.com/) | Personal Site and Blog |
| [noamlerner.com](https://www.noamlerner.com/) | Personal blog (English/Hebrew) |
| [jneidel.com](https://jneidel.com) | Personal site and blog |
| [clementfouque.com](https://clementfouque.com) | Personal Site and Tech Blog |
**想成为Congo的用户?** 要将您的网站添加到此列表中,请提交[Pull Request](https://github.com/jpanther/congo/blob/dev/exampleSite/content/users/index.md)来添加。
+61
View File
@@ -0,0 +1,61 @@
article:
anchor_label: "Anchor"
date: "{{ .Date }}"
date_updated: "Oppdatert: {{ .Date }}"
draft: "Utkast"
edit_title: "Rediger innhold"
reading_time:
one: "{{ .Count }} min"
other: "{{ .Count }} min"
reading_time_title: "Lesetid"
table_of_contents: "Innholdsfortegnelse"
word_count:
one: "{{ .Count }} ord"
other: "{{ .Count }} ord"
author:
byline_title: "Forfatter"
code:
copy: "Kopier"
copied: "Kopiert"
error:
404_title: "Side ikke funnet :confused:"
404_error: "Feil 404"
404_description: "Finner ikke siden du ser etter."
footer:
dark_appearance: "Bytt til mørk modus"
light_appearance: "Bytt til lys modus"
powered_by: "Powered by {{ .Hugo }} &amp; {{ .Congo }}"
list:
externalurl_title: "Lenke til ekstern side"
no_articles: "Det finnes ingen artikler å vise her ennå."
nav:
scroll_to_top_title: "Scroll til toppen"
skip_to_main: "Hopp til hovedinnholdet"
search:
open_button_title: "Søk (/)"
close_button_title: "Lukk (Esc)"
input_placeholder: "Søk"
sharing:
email: "Send via e-post"
facebook: "Del på Facebook"
linkedin: "Del på LinkedIn"
mastodon: "Toot på Mastodon"
pinterest: "Pin på Pinterest"
reddit: "Post til Reddit"
twitter: "Tweet på Twitter"
threads: "Post på Threads"
telegram: "Del på Telegram"
line: "Del på LINE"
weibo: "Del på Weibo"
x-twitter: "Post på X"
shortcode:
recent_articles: "Nylig publisert"
+1 -1
View File
@@ -1,4 +1,4 @@
{{ with .Site.Language.Params.Author.links }}
{{ with site.Language.Params.Author.links }}
<div class="flex flex-wrap text-neutral-400 dark:text-neutral-500">
{{ range $links := . }}
{{ range $name, $url := $links }}
+1 -22
View File
@@ -3,28 +3,7 @@
h-full
{{ end }} flex flex-col items-center justify-center text-center"
>
<header class="mb-3 flex flex-col items-center">
{{ $lazy := .Params.enableImageLazyLoading | default .Site.Params.enableImageLazyLoading | default true }}
{{ $altText := ($.Site.Language.Params.Author.name | default "Author") }}
{{ with .Site.Language.Params.Author.image }}
{{ $authorImage := resources.Get . }}
{{ if $authorImage }}
{{ $imgClass := "mb-2 h-auto w-36 rounded-full" }}
{{ partial "picture.html" (dict "img" $authorImage "alt" $altText "class" $imgClass "lazy" $lazy) }}
{{ end }}
{{ end }}
<h1 class="text-4xl font-extrabold">
{{ .Site.Language.Params.Author.name | default .Site.Title }}
</h1>
{{ with .Site.Language.Params.Author.headline }}
<h2 class="text-xl text-neutral-500 dark:text-neutral-400">
{{ . | markdownify | emojify }}
</h2>
{{ end }}
<div class="mt-1 text-2xl">
{{ partialCached "author-links.html" . }}
</div>
</header>
{{ partial "profile.html" }}
<section class="prose dark:prose-invert">{{ .Content | emojify }}</section>
</article>
<section>
+31
View File
@@ -0,0 +1,31 @@
{{ $align := .align | default "center" }}
<section
class="not-prose {{ if eq $align "start" }}
items-start
{{ else if eq $align "end" }}
items-end
{{ else }}
items-center
{{ end }} mb-3 flex flex-col"
>
{{ $lazy := site.Params.enableImageLazyLoading | default true }}
{{ $altText := (site.Language.Params.Author.name | default "Author") }}
{{ with site.Language.Params.Author.image }}
{{ $authorImage := resources.Get . }}
{{ if $authorImage }}
{{ $imgClass := "mb-2 h-auto w-36 rounded-full" }}
{{ partial "picture.html" (dict "img" $authorImage "alt" $altText "class" $imgClass "lazy" $lazy) }}
{{ end }}
{{ end }}
<h1 class="text-4xl font-extrabold">
{{ site.Language.Params.Author.name | default site.Title }}
</h1>
{{ with site.Language.Params.Author.headline }}
<h2 class="text-xl text-neutral-500 dark:text-neutral-400">
{{ . | markdownify | emojify }}
</h2>
{{ end }}
<div class="mt-1 text-2xl">
{{ partialCached "author-links.html" . }}
</div>
</section>
+44 -1
View File
@@ -1,3 +1,17 @@
{{- define "partials/inline/breadcrumbData" -}}
{{- $scratchCtx := .scratch -}}
{{- with .parent }}
{{ partial "inline/breadcrumbData" (dict "scratch" $scratchCtx "parent" .Parent) }}
{{- $scratchCtx.Add "listItem" (slice (dict
"@type" "ListItem"
"position" ($scratchCtx.Get "count")
"name" (.Title | humanize | title)
"item" .Permalink
)) -}}
{{- $scratchCtx.Add "count" 1 -}}
{{- end }}
{{- end -}}
{{ if .IsHome -}}
<script type="application/ld+json">
{
@@ -46,4 +60,33 @@
"wordCount": "{{ .WordCount }}"
}
</script>
{{ end }}
{{- /* Source: https://bullaki.com/projects/web-design/seo-with-hugo-5-breadcrumbs/ */}}
{{- $scratch := newScratch -}}
{{- $scratch.Set "count" 1 -}}
{{ partial "inline/breadcrumbData" (dict "scratch" $scratch "parent" .Parent) }}
{{- with index (.GetTerms "categories") 0 -}}
{{- $scratch.Add "listItem" (slice (dict
"@type" "ListItem"
"position" ($scratch.Get "count")
"name" .LinkTitle
"item" .Permalink
)) -}}
{{- $scratch.Add "count" 1 -}}
{{- end }}
{{- $scratch.Add "listItem" (slice (dict
"@type" "ListItem"
"position" ($scratch.Get "count")
"name" (.Title | humanize | title)
)) -}}
{{- $scratch.SetInMap "breadcrumb" "@context" "https://schema.org" -}}
{{- $scratch.SetInMap "breadcrumb" "@type" "BreadcrumbList" -}}
{{- $scratch.SetInMap "breadcrumb" "itemListElement" ($scratch.Get "listItem") -}}
<script type="application/ld+json">
{{ $scratch.Get "breadcrumb" | jsonify (dict "prefix" " " "indent" " ") | safeJS }}
</script>
{{- end }}
+2
View File
@@ -0,0 +1,2 @@
{{ $align := default "center" (.Get "align") }}
{{ partial "profile.html" (dict "align" $align) }}
+644 -1332
View File
File diff suppressed because it is too large Load Diff
+10 -10
View File
@@ -30,18 +30,18 @@
},
"homepage": "https://github.com/jpanther/congo#readme",
"devDependencies": {
"@tailwindcss/typography": "^0.5.13",
"chart.js": "^4.4.2",
"@tailwindcss/typography": "^0.5.15",
"chart.js": "^4.4.4",
"fuse.js": "^7.0.0",
"jsdom": "^24.0.0",
"katex": "^0.16.10",
"mermaid": "^10.9.0",
"prettier": "^3.2.5",
"jsdom": "^25.0.0",
"katex": "^0.16.11",
"mermaid": "^11.0.2",
"prettier": "^3.3.3",
"prettier-plugin-go-template": "^0.0.15",
"prettier-plugin-tailwindcss": "^0.5.14",
"prettier-plugin-tailwindcss": "^0.6.6",
"quicklink": "^2.3.0",
"rimraf": "^5.0.5",
"tailwindcss": "^3.4.3",
"rimraf": "^6.0.1",
"tailwindcss": "^3.4.10",
"vendor-copy": "^3.0.1"
},
"vendorCopy": [],
@@ -80,6 +80,6 @@
}
],
"dependencies": {
"@fortawesome/fontawesome-free": "^6.5.2"
"@fortawesome/fontawesome-free": "^6.6.0"
}
}