mirror of https://github.com/jpanther/congo.git
Compare commits
10 Commits
d82bd37a69
...
484a515b58
Author | SHA1 | Date |
---|---|---|
Wen Junhua | 484a515b58 | |
Wen Junhua | 763257a3ac | |
Wen Junhua | c9ee62bcde | |
James Panther | 16edb5da3b | |
James Panther | 041fc30fe9 | |
James Panther | a9f79b7495 | |
James Panther | 05c3fef94a | |
Wen Junhua | 10c4226fce | |
Wen Junhua | dc1ea3dfaa | |
stereobooster | e70c968e56 |
13
CHANGELOG.md
13
CHANGELOG.md
|
@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
|
- Warning when building if links to markdown files cannot be resolved ([#691](https://github.com/jpanther/congo/pull/691))
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
|
||||||
|
- Fathom Analytics custom domain parameter as this is no longer supported by Fathom
|
||||||
|
|
||||||
|
## [2.7.6] - 2023-11-26
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Some Mermaid diagram elements not styled correctly in dark mode ([#706](https://github.com/jpanther/congo/issues/706))
|
- Some Mermaid diagram elements not styled correctly in dark mode ([#706](https://github.com/jpanther/congo/issues/706))
|
||||||
|
@ -801,7 +811,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
- Advanced customisation using simple Tailwind colour definitions and styles
|
- Advanced customisation using simple Tailwind colour definitions and styles
|
||||||
- Fully documented
|
- Fully documented
|
||||||
|
|
||||||
[Unreleased]: https://github.com/jpanther/congo/compare/v2.7.5...HEAD
|
[Unreleased]: https://github.com/jpanther/congo/compare/v2.7.6...HEAD
|
||||||
|
[2.7.6]: https://github.com/jpanther/congo/compare/v2.7.5...v2.7.6
|
||||||
[2.7.5]: https://github.com/jpanther/congo/compare/v2.7.4...v2.7.5
|
[2.7.5]: https://github.com/jpanther/congo/compare/v2.7.4...v2.7.5
|
||||||
[2.7.4]: https://github.com/jpanther/congo/compare/v2.7.3...v2.7.4
|
[2.7.4]: https://github.com/jpanther/congo/compare/v2.7.3...v2.7.4
|
||||||
[2.7.3]: https://github.com/jpanther/congo/compare/v2.7.2...v2.7.3
|
[2.7.3]: https://github.com/jpanther/congo/compare/v2.7.2...v2.7.3
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*! Congo v2.7.5 | MIT License | https://github.com/jpanther/congo */
|
/*! Congo v2.7.6 | MIT License | https://github.com/jpanther/congo */
|
||||||
|
|
||||||
/*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com */
|
/*! tailwindcss v3.3.5 | MIT License | https://tailwindcss.com */
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/*! Congo v2.7.5 | MIT License | https://github.com/jpanther/congo */
|
/*! Congo v2.7.6 | MIT License | https://github.com/jpanther/congo */
|
||||||
|
|
||||||
@tailwind base;
|
@tailwind base;
|
||||||
@tailwind components;
|
@tailwind components;
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--!Font Awesome Pro 6.4.2 by @fontawesome - https://fontawesome.com License -https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="currentColor" d="M311 196.8v81.3c0 2.1-1.6 3.7-3.7 3.7h-13c-1.3 0-2.4-.7-3-1.5l-37.3-50.3v48.2c0 2.1-1.6 3.7-3.7 3.7h-13c-2.1 0-3.7-1.6-3.7-3.7V196.9c0-2.1 1.6-3.7 3.7-3.7h12.9c1.1 0 2.4 .6 3 1.6l37.3 50.3V196.9c0-2.1 1.6-3.7 3.7-3.7h13c2.1-.1 3.8 1.6 3.8 3.5zm-93.7-3.7h-13c-2.1 0-3.7 1.6-3.7 3.7v81.3c0 2.1 1.6 3.7 3.7 3.7h13c2.1 0 3.7-1.6 3.7-3.7V196.8c0-1.9-1.6-3.7-3.7-3.7zm-31.4 68.1H150.3V196.8c0-2.1-1.6-3.7-3.7-3.7h-13c-2.1 0-3.7 1.6-3.7 3.7v81.3c0 1 .3 1.8 1 2.5c.7 .6 1.5 1 2.5 1h52.2c2.1 0 3.7-1.6 3.7-3.7v-13c0-1.9-1.6-3.7-3.5-3.7zm193.7-68.1H327.3c-1.9 0-3.7 1.6-3.7 3.7v81.3c0 1.9 1.6 3.7 3.7 3.7h52.2c2.1 0 3.7-1.6 3.7-3.7V265c0-2.1-1.6-3.7-3.7-3.7H344V247.7h35.5c2.1 0 3.7-1.6 3.7-3.7V230.9c0-2.1-1.6-3.7-3.7-3.7H344V213.5h35.5c2.1 0 3.7-1.6 3.7-3.7v-13c-.1-1.9-1.7-3.7-3.7-3.7zM512 93.4V419.4c-.1 51.2-42.1 92.7-93.4 92.6H92.6C41.4 511.9-.1 469.8 0 418.6V92.6C.1 41.4 42.2-.1 93.4 0H419.4c51.2 .1 92.7 42.1 92.6 93.4zM441.6 233.5c0-83.4-83.7-151.3-186.4-151.3s-186.4 67.9-186.4 151.3c0 74.7 66.3 137.4 155.9 149.3c21.8 4.7 19.3 12.7 14.4 42.1c-.8 4.7-3.8 18.4 16.1 10.1s107.3-63.2 146.5-108.2c27-29.7 39.9-59.8 39.9-93.1z" /></svg>
|
After Width: | Height: | Size: 1.4 KiB |
|
@ -68,7 +68,6 @@ fingerprintAlgorithm = "sha256"
|
||||||
|
|
||||||
[fathomAnalytics]
|
[fathomAnalytics]
|
||||||
# site = "ABC12345"
|
# site = "ABC12345"
|
||||||
# domain = "llama.yoursite.com"
|
|
||||||
|
|
||||||
[plausibleAnalytics]
|
[plausibleAnalytics]
|
||||||
# domain = "blog.yoursite.com"
|
# domain = "blog.yoursite.com"
|
||||||
|
|
|
@ -33,5 +33,15 @@
|
||||||
"icon": "twitter",
|
"icon": "twitter",
|
||||||
"title": "sharing.twitter",
|
"title": "sharing.twitter",
|
||||||
"url": "https://twitter.com/intent/tweet/?url=%s&text=%s"
|
"url": "https://twitter.com/intent/tweet/?url=%s&text=%s"
|
||||||
|
},
|
||||||
|
"telegram": {
|
||||||
|
"icon": "telegram",
|
||||||
|
"title": "sharing.telegram",
|
||||||
|
"url": "https://telegram.me/share/url?text=%s&url=%s"
|
||||||
|
},
|
||||||
|
"line": {
|
||||||
|
"icon": "line",
|
||||||
|
"title": "sharing.line",
|
||||||
|
"url": "https://line.me/R/share?text=%s%s"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,7 @@ fingerprintAlgorithm = "sha256"
|
||||||
showTaxonomies = false
|
showTaxonomies = false
|
||||||
showWordCount = false
|
showWordCount = false
|
||||||
showComments = false
|
showComments = false
|
||||||
# sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email"]
|
# sharingLinks = ["facebook", "twitter", "mastodon", "pinterest", "reddit", "linkedin", "email", "telegram", "line"]
|
||||||
|
|
||||||
[list]
|
[list]
|
||||||
showBreadcrumbs = true
|
showBreadcrumbs = true
|
||||||
|
@ -68,7 +68,6 @@ fingerprintAlgorithm = "sha256"
|
||||||
|
|
||||||
[fathomAnalytics]
|
[fathomAnalytics]
|
||||||
# site = "ABC12345"
|
# site = "ABC12345"
|
||||||
# domain = "llama.yoursite.com"
|
|
||||||
|
|
||||||
[verification]
|
[verification]
|
||||||
# google = ""
|
# google = ""
|
||||||
|
|
|
@ -169,7 +169,6 @@ Congoはテーマの機能を制御する多数の設定パラメーターを提
|
||||||
|`sitemap.excludedKinds`|`["taxonomy", "term"]`|生成される `/sitemap.xml` から除外されるべきコンテンツの種類。許容される値については[Hugo docs](https://gohugo.io/templates/section-templates/#page-kinds)を参照してください。|
|
|`sitemap.excludedKinds`|`["taxonomy", "term"]`|生成される `/sitemap.xml` から除外されるべきコンテンツの種類。許容される値については[Hugo docs](https://gohugo.io/templates/section-templates/#page-kinds)を参照してください。|
|
||||||
|`taxonomy.showTermCount`|`true`|TaxonomiesのリストにTermごとの記事数を表示するかどうか。|
|
|`taxonomy.showTermCount`|`true`|TaxonomiesのリストにTermごとの記事数を表示するかどうか。|
|
||||||
|`fathomAnalytics.site`|_Not set_|Fathom Analyticsによって生成されたウェブサイトのサイトコード。詳細は[アナリティクス]({{< ref "partials#アナリティクス" >}})を参照してください。|
|
|`fathomAnalytics.site`|_Not set_|Fathom Analyticsによって生成されたウェブサイトのサイトコード。詳細は[アナリティクス]({{< ref "partials#アナリティクス" >}})を参照してください。|
|
||||||
|`fathomAnalytics.domain`|_Not set_|Fathom Analyticsでカスタムドメインを使用している場合、カスタムドメインから`script.js`を提供するためにここに指定します。|
|
|
||||||
|`verification.google`|_Not set_|サイトのメタデータに含めるGoogleが提供するサイト検証文字列。|
|
|`verification.google`|_Not set_|サイトのメタデータに含めるGoogleが提供するサイト検証文字列。|
|
||||||
|`verification.bing`|_Not set_|サイトのメタデータに含めるBingが提供するサイト検証文字列。|
|
|`verification.bing`|_Not set_|サイトのメタデータに含めるBingが提供するサイト検証文字列。|
|
||||||
|`verification.pinterest`|_Not set_|サイトのメタデータに含めるPinterestが提供するサイト検証文字列。|
|
|`verification.pinterest`|_Not set_|サイトのメタデータに含めるPinterestが提供するサイト検証文字列。|
|
||||||
|
|
|
@ -169,7 +169,6 @@ Many of the article defaults here can be overridden on a per article basis by sp
|
||||||
|`sitemap.excludedKinds`|`["taxonomy", "term"]`|Kinds of content that should be excluded from the generated `/sitemap.xml` file. Refer to the [Hugo docs](https://gohugo.io/templates/section-templates/#page-kinds) for acceptable values.|
|
|`sitemap.excludedKinds`|`["taxonomy", "term"]`|Kinds of content that should be excluded from the generated `/sitemap.xml` file. Refer to the [Hugo docs](https://gohugo.io/templates/section-templates/#page-kinds) for acceptable values.|
|
||||||
|`taxonomy.showTermCount`|`true`|Whether or not the number of articles within a taxonomy term is displayed on the taxonomy listing.|
|
|`taxonomy.showTermCount`|`true`|Whether or not the number of articles within a taxonomy term is displayed on the taxonomy listing.|
|
||||||
|`fathomAnalytics.site`|_Not set_|The site code generated by Fathom Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details.|
|
|`fathomAnalytics.site`|_Not set_|The site code generated by Fathom Analytics for the website. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details.|
|
||||||
|`fathomAnalytics.domain`|_Not set_|If using a custom domain with Fathom Analytics, provide it here to serve `script.js` from the custom domain.|
|
|
||||||
|`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.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.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.|
|
|`plausibleAnalytics.script`|_Not set_|Plausible analysis script proxied URL. Refer to the [Analytics docs]({{< ref "partials#analytics" >}}) for more details.|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
|
@ -10,18 +10,21 @@ tags: ["partials", "analytics", "privacy", "comments", "favicons", "icon", "docs
|
||||||
|
|
||||||
## Analytics
|
## Analytics
|
||||||
|
|
||||||
Congo provides built-in support for Fathom Analytics and Google Analytics. Fathom is a paid alternative to Google Analytics that respects user privacy. If you're interested you can use this affiliate link to [receive $10 credit](https://usefathom.com/ref/RLAJSV) and try the service.
|
Congo provides support for various analytics providers out of the box, as well as the ability to include custom code for any provider of your choice. If you don't currently have an analytics provider, check out Fathom Analytics.
|
||||||
|
|
||||||
### Fathom Analytics
|
### Fathom Analytics
|
||||||
|
|
||||||
To enable Fathom Analytics support, simply provide your Fathom site code in the `config/_default/params.toml` file. If you also use the custom domain feature of Fathom and would like to serve their script from your domain, you can also additionally provide the `domain` configuration value. If you don't provide a `domain` value, the script will load directly from Fathom DNS.
|
Fathom Analytics is a privacy-first service that is a great alternative to Google Analytics. It allows you to get all the visitor information you need, without spying on them. As a Congo user, you can use this affiliate link to [receive $10 credit](https://usefathom.com/ref/RLAJSV) and try the service.
|
||||||
|
|
||||||
|
[![Fathom Analytics. Website analytics without compromise. Zero cookies, GDPR compliant, and privacy-first. Start a free trial.](fathom-analytics.jpg)](https://usefathom.com/ref/RLAJSV)
|
||||||
|
|
||||||
|
To enable Fathom Analytics support, simply provide your Fathom site code in the `config/_default/params.toml` file. The script will load in your site directly from the Fathom Analytics CDN.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
# config/_default/params.toml
|
# config/_default/params.toml
|
||||||
|
|
||||||
[fathomAnalytics]
|
[fathomAnalytics]
|
||||||
site = "ABC12345"
|
site = "ABC12345"
|
||||||
domain = "llama.yoursite.com"
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Plausible Analytics
|
### Plausible Analytics
|
||||||
|
|
|
@ -46,6 +46,7 @@ Die vollständige Liste der integrierten Icons und ihre entsprechenden Namen fin
|
||||||
| kickstarter | {{< icon kickstarter >}} |
|
| kickstarter | {{< icon kickstarter >}} |
|
||||||
| lastfm | {{< icon lastfm >}} |
|
| lastfm | {{< icon lastfm >}} |
|
||||||
| lightbulb | {{< icon lightbulb >}} |
|
| lightbulb | {{< icon lightbulb >}} |
|
||||||
|
| line | {{< icon line >}} |
|
||||||
| link | {{< icon link >}} |
|
| link | {{< icon link >}} |
|
||||||
| linkedin | {{< icon linkedin >}} |
|
| linkedin | {{< icon linkedin >}} |
|
||||||
| list | {{< icon list >}} |
|
| list | {{< icon list >}} |
|
||||||
|
|
|
@ -46,6 +46,7 @@ La lista completa de íconos incorporados y sus nombres correspondientes se pued
|
||||||
| kickstarter | {{< icon kickstarter >}} |
|
| kickstarter | {{< icon kickstarter >}} |
|
||||||
| lastfm | {{< icon lastfm >}} |
|
| lastfm | {{< icon lastfm >}} |
|
||||||
| lightbulb | {{< icon lightbulb >}} |
|
| lightbulb | {{< icon lightbulb >}} |
|
||||||
|
| line | {{< icon line >}} |
|
||||||
| link | {{< icon link >}} |
|
| link | {{< icon link >}} |
|
||||||
| linkedin | {{< icon linkedin >}} |
|
| linkedin | {{< icon linkedin >}} |
|
||||||
| list | {{< icon list >}} |
|
| list | {{< icon list >}} |
|
||||||
|
|
|
@ -46,6 +46,7 @@ Congo は[FontAwesome 6](https://fontawesome.com/icons)のアイコンをサポ
|
||||||
| kickstarter | {{< icon kickstarter >}} |
|
| kickstarter | {{< icon kickstarter >}} |
|
||||||
| lastfm | {{< icon lastfm >}} |
|
| lastfm | {{< icon lastfm >}} |
|
||||||
| lightbulb | {{< icon lightbulb >}} |
|
| lightbulb | {{< icon lightbulb >}} |
|
||||||
|
| line | {{< icon line >}} |
|
||||||
| link | {{< icon link >}} |
|
| link | {{< icon link >}} |
|
||||||
| linkedin | {{< icon linkedin >}} |
|
| linkedin | {{< icon linkedin >}} |
|
||||||
| list | {{< icon list >}} |
|
| list | {{< icon list >}} |
|
||||||
|
|
|
@ -46,6 +46,7 @@ The full list of built-in icons and their corresponding names can referenced bel
|
||||||
| kickstarter | {{< icon kickstarter >}} |
|
| kickstarter | {{< icon kickstarter >}} |
|
||||||
| lastfm | {{< icon lastfm >}} |
|
| lastfm | {{< icon lastfm >}} |
|
||||||
| lightbulb | {{< icon lightbulb >}} |
|
| lightbulb | {{< icon lightbulb >}} |
|
||||||
|
| line | {{< icon line >}} |
|
||||||
| link | {{< icon link >}} |
|
| link | {{< icon link >}} |
|
||||||
| linkedin | {{< icon linkedin >}} |
|
| linkedin | {{< icon linkedin >}} |
|
||||||
| list | {{< icon list >}} |
|
| list | {{< icon list >}} |
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "تثبيت على بينتريست"
|
pinterest: "تثبيت على بينتريست"
|
||||||
reddit: "نشر على ريديت"
|
reddit: "نشر على ريديت"
|
||||||
twitter: "تغريد على تويتر"
|
twitter: "تغريد على تويتر"
|
||||||
|
telegram: "شارك على تيليجرام"
|
||||||
|
line: "شارك على لاين"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "حديثًا"
|
recent_articles: "حديثًا"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Пин в Pinterest"
|
pinterest: "Пин в Pinterest"
|
||||||
reddit: "Публикуване в Reddit"
|
reddit: "Публикуване в Reddit"
|
||||||
twitter: "Туит в Twitter"
|
twitter: "Туит в Twitter"
|
||||||
|
telegram: "Споделете в Telegram"
|
||||||
|
line: Споделете в LINE""
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Последни"
|
recent_articles: "Последни"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "পিন্টারেস্টে পিন করুন"
|
pinterest: "পিন্টারেস্টে পিন করুন"
|
||||||
reddit: "রেড্ডিটে জমা দিন"
|
reddit: "রেড্ডিটে জমা দিন"
|
||||||
twitter: "ট্যুইট করুন"
|
twitter: "ট্যুইট করুন"
|
||||||
|
telegram: "টেলিগ্রামে শেয়ার করুন"
|
||||||
|
line: "লাইনে শেয়ার করুন"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "সাম্প্রতিক"
|
recent_articles: "সাম্প্রতিক"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Pin na Pinterest"
|
pinterest: "Pin na Pinterest"
|
||||||
reddit: "Odeslat na Reddit"
|
reddit: "Odeslat na Reddit"
|
||||||
twitter: "Tweet na Twitter"
|
twitter: "Tweet na Twitter"
|
||||||
|
telegram: "Sdílejte na Telegram"
|
||||||
|
line: "Sdílejte na LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Nedávné"
|
recent_articles: "Nedávné"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Auf Pinterest pinnen"
|
pinterest: "Auf Pinterest pinnen"
|
||||||
reddit: "An Reddit senden"
|
reddit: "An Reddit senden"
|
||||||
twitter: "Auf Twitter teilen"
|
twitter: "Auf Twitter teilen"
|
||||||
|
telegram: "Auf Telegram teilen"
|
||||||
|
line: "Auf LINE teilen"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Neue Beiträge"
|
recent_articles: "Neue Beiträge"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Pin on Pinterest"
|
pinterest: "Pin on Pinterest"
|
||||||
reddit: "Submit to Reddit"
|
reddit: "Submit to Reddit"
|
||||||
twitter: "Tweet on Twitter"
|
twitter: "Tweet on Twitter"
|
||||||
|
telegram: "Share on Telegram"
|
||||||
|
line: "Share on LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recent"
|
recent_articles: "Recent"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Pinear en Pinterest"
|
pinterest: "Pinear en Pinterest"
|
||||||
reddit: "Publicar en Reddit"
|
reddit: "Publicar en Reddit"
|
||||||
twitter: "Tuitear en Twitter"
|
twitter: "Tuitear en Twitter"
|
||||||
|
telegram: "Compartir en Telegram"
|
||||||
|
line: "Compartir en LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Reciente"
|
recent_articles: "Reciente"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Kiinnitä Pinterestiin"
|
pinterest: "Kiinnitä Pinterestiin"
|
||||||
reddit: "Lähetä Reddittiin"
|
reddit: "Lähetä Reddittiin"
|
||||||
twitter: "Twiittaa Twitterissä"
|
twitter: "Twiittaa Twitterissä"
|
||||||
|
telegram: "Jaa Telegramissa"
|
||||||
|
line: "Jaa LINEssä"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Viimeaikaiset"
|
recent_articles: "Viimeaikaiset"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Poster sur Pinterest"
|
pinterest: "Poster sur Pinterest"
|
||||||
reddit: "Poster sur Reddit"
|
reddit: "Poster sur Reddit"
|
||||||
twitter: "Tweeter"
|
twitter: "Tweeter"
|
||||||
|
telegram: "Partager sur Telegram"
|
||||||
|
line: "Partager sur LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Articles récents"
|
recent_articles: "Articles récents"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "שיתוף בפינטרסט"
|
pinterest: "שיתוף בפינטרסט"
|
||||||
reddit: "שליחה לרדיט"
|
reddit: "שליחה לרדיט"
|
||||||
twitter: "ציוץ בטוויטר"
|
twitter: "ציוץ בטוויטר"
|
||||||
|
telegram: "שיתוף בטלגרם"
|
||||||
|
line: "שיתוף בליין"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "חדשים"
|
recent_articles: "חדשים"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Megosztás a Pinteresten"
|
pinterest: "Megosztás a Pinteresten"
|
||||||
reddit: "Megosztás a Redditen"
|
reddit: "Megosztás a Redditen"
|
||||||
twitter: "Megosztás a Twitteren"
|
twitter: "Megosztás a Twitteren"
|
||||||
|
telegram: "Megosztás a Telegramon"
|
||||||
|
line: "Megosztás a LINE-on"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Friss"
|
recent_articles: "Friss"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Pin di Pinterest"
|
pinterest: "Pin di Pinterest"
|
||||||
reddit: "Kirim ke Reddit"
|
reddit: "Kirim ke Reddit"
|
||||||
twitter: "Tweet di Twitter"
|
twitter: "Tweet di Twitter"
|
||||||
|
telegram: "Bagikan ke Telegram"
|
||||||
|
line: "Bagikan ke LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Terbaru"
|
recent_articles: "Terbaru"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Pinna su Pinterest"
|
pinterest: "Pinna su Pinterest"
|
||||||
reddit: "Invia a Reddit"
|
reddit: "Invia a Reddit"
|
||||||
twitter: "Tweetta su Twitter"
|
twitter: "Tweetta su Twitter"
|
||||||
|
telegram: "Condividi su Telegram"
|
||||||
|
line: "Condividi su LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recenti"
|
recent_articles: "Recenti"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Pinterestでピンする"
|
pinterest: "Pinterestでピンする"
|
||||||
reddit: "Redditに投稿する"
|
reddit: "Redditに投稿する"
|
||||||
twitter: "Twitterに投稿する"
|
twitter: "Twitterに投稿する"
|
||||||
|
telegram: "Telegramでシェアする"
|
||||||
|
line: "LINEでシェアする"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "最近の記事"
|
recent_articles: "最近の記事"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Pin op Pinterest"
|
pinterest: "Pin op Pinterest"
|
||||||
reddit: "Verzend naar Reddit"
|
reddit: "Verzend naar Reddit"
|
||||||
twitter: "Tweet op Twitter"
|
twitter: "Tweet op Twitter"
|
||||||
|
telegram: "Deel op Telegram"
|
||||||
|
line: "Deel op LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recent"
|
recent_articles: "Recent"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Udostępnij na Pinterest"
|
pinterest: "Udostępnij na Pinterest"
|
||||||
reddit: "Udostępnij na Reddit"
|
reddit: "Udostępnij na Reddit"
|
||||||
twitter: "Udostępnij na Twitter"
|
twitter: "Udostępnij na Twitter"
|
||||||
|
telegram: "Udostępnij na Telegram"
|
||||||
|
line: "Udostępnij na LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Ostatnie"
|
recent_articles: "Ostatnie"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Pin no Pinterest"
|
pinterest: "Pin no Pinterest"
|
||||||
reddit: "Postar no Reddit"
|
reddit: "Postar no Reddit"
|
||||||
twitter: "Tweet no Twitter"
|
twitter: "Tweet no Twitter"
|
||||||
|
telegram: "Compartilhar pelo Telegram"
|
||||||
|
line: "Compartilhar pelo LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recente"
|
recent_articles: "Recente"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Partilhar no Pinterest"
|
pinterest: "Partilhar no Pinterest"
|
||||||
reddit: "Partilhar no Reddit"
|
reddit: "Partilhar no Reddit"
|
||||||
twitter: "Partilhar no Twitter"
|
twitter: "Partilhar no Twitter"
|
||||||
|
telegram: "Partilhar pelo Telegram"
|
||||||
|
line: "Partilhar pelo LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Recente"
|
recent_articles: "Recente"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Pune pe Pinterest"
|
pinterest: "Pune pe Pinterest"
|
||||||
reddit: "Postează pe Reddit"
|
reddit: "Postează pe Reddit"
|
||||||
twitter: "Scrie pe Twitter"
|
twitter: "Scrie pe Twitter"
|
||||||
|
telegram: "Trimite pe Telegram"
|
||||||
|
line: "Trimite pe LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Cele mai noi"
|
recent_articles: "Cele mai noi"
|
||||||
|
|
|
@ -55,6 +55,8 @@ sharing:
|
||||||
pinterest: "Поделиться на Pinterest"
|
pinterest: "Поделиться на Pinterest"
|
||||||
reddit: "Опубликовать на Reddit"
|
reddit: "Опубликовать на Reddit"
|
||||||
twitter: "Опубликовать на Twitter"
|
twitter: "Опубликовать на Twitter"
|
||||||
|
telegram: "Поделиться на Telegram"
|
||||||
|
line: "Поделиться на LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Последние"
|
recent_articles: "Последние"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "Pin na Pinterest"
|
pinterest: "Pin na Pinterest"
|
||||||
reddit: "Odoslať na Reddit"
|
reddit: "Odoslať na Reddit"
|
||||||
twitter: "Tweet na Twitteri"
|
twitter: "Tweet na Twitteri"
|
||||||
|
telegram: "Zdieľaj na Telegram"
|
||||||
|
line: "Zdieľaj na LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Nedávne"
|
recent_articles: "Nedávne"
|
||||||
|
|
|
@ -50,6 +50,8 @@ sharing:
|
||||||
pinterest: "Pinterest'te pinle"
|
pinterest: "Pinterest'te pinle"
|
||||||
reddit: "Reddit'te gönder"
|
reddit: "Reddit'te gönder"
|
||||||
twitter: "Twitter'da Tweetle"
|
twitter: "Twitter'da Tweetle"
|
||||||
|
telegram: "Telegram'da paylaş"
|
||||||
|
line: "LINE'da paylaş"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Güncel"
|
recent_articles: "Güncel"
|
||||||
|
|
|
@ -55,6 +55,8 @@ sharing:
|
||||||
pinterest: "Зберегти на Pinterest"
|
pinterest: "Зберегти на Pinterest"
|
||||||
reddit: "Опублікувати на Reddit"
|
reddit: "Опублікувати на Reddit"
|
||||||
twitter: "Поширити на Twitter"
|
twitter: "Поширити на Twitter"
|
||||||
|
telegram: "Поширити на Telegram"
|
||||||
|
line: "Поширити на LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "Недавні дописи"
|
recent_articles: "Недавні дописи"
|
||||||
|
|
|
@ -50,6 +50,8 @@ sharing:
|
||||||
pinterest: "钉到 Pinterest"
|
pinterest: "钉到 Pinterest"
|
||||||
reddit: "提交到 Reddit"
|
reddit: "提交到 Reddit"
|
||||||
twitter: "分享到 Twitter"
|
twitter: "分享到 Twitter"
|
||||||
|
telegram: "分享到 Telegram"
|
||||||
|
line: "分享到 LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "最近的文章"
|
recent_articles: "最近的文章"
|
||||||
|
|
|
@ -51,6 +51,8 @@ sharing:
|
||||||
pinterest: "釘到 Pinterest"
|
pinterest: "釘到 Pinterest"
|
||||||
reddit: "發送到 Reddit"
|
reddit: "發送到 Reddit"
|
||||||
twitter: "推到 Twitter"
|
twitter: "推到 Twitter"
|
||||||
|
telegram: "分享到 Telegram"
|
||||||
|
line: "分享到 LINE"
|
||||||
|
|
||||||
shortcode:
|
shortcode:
|
||||||
recent_articles: "最近的文章"
|
recent_articles: "最近的文章"
|
||||||
|
|
|
@ -2,10 +2,16 @@
|
||||||
{{- $isRemote := strings.HasPrefix $link "http" -}}
|
{{- $isRemote := strings.HasPrefix $link "http" -}}
|
||||||
{{- if not $isRemote }}
|
{{- if not $isRemote }}
|
||||||
{{ $url := urls.Parse .Destination }}
|
{{ $url := urls.Parse .Destination }}
|
||||||
{{ if $url.Path }}
|
{{- if $url.Path }}
|
||||||
{{ $fragment := "" }}
|
{{ $fragment := "" }}
|
||||||
{{- with $url.Fragment }}{{ $fragment = printf "#%s" . }}{{ end -}}
|
{{- with $url.Fragment }}{{ $fragment = printf "#%s" . }}{{ end -}}
|
||||||
{{- with .Page.GetPage $url.Path }}{{ $link = printf "%s%s" .RelPermalink $fragment }}{{ end -}}
|
{{- with .Page.GetPage $url.Path }}
|
||||||
{{ end }}
|
{{ $link = printf "%s%s" .RelPermalink $fragment }}
|
||||||
|
{{ else }}
|
||||||
|
{{- if hasSuffix $url.Path ".md" }}
|
||||||
|
{{ warnf "[CONGO] Can't resolve: %s" .Destination }}
|
||||||
|
{{ end -}}
|
||||||
|
{{ end -}}
|
||||||
|
{{ end -}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
<a href="{{ $link | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if $isRemote }} target="_blank" rel="noreferrer"{{ end }}>{{- .Text | safeHTML -}}</a>
|
<a href="{{ $link | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if $isRemote }} target="_blank" rel="noreferrer"{{ end }}>{{- .Text | safeHTML -}}</a>
|
|
@ -1,11 +1,7 @@
|
||||||
{{ if hugo.IsProduction }}
|
{{ if hugo.IsProduction }}
|
||||||
{{ with .Site.Params.fathomAnalytics.site }}
|
{{ with .Site.Params.fathomAnalytics.site }}
|
||||||
{{ if isset $.Site.Params.fathomanalytics "domain" }}
|
|
||||||
<script defer src="https://{{ $.Site.Params.fathomanalytics.domain }}/script.js" data-site="{{ . }}"></script>
|
|
||||||
{{ else }}
|
|
||||||
<script defer src="https://cdn.usefathom.com/script.js" data-site="{{ . }}"></script>
|
<script defer src="https://cdn.usefathom.com/script.js" data-site="{{ . }}"></script>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
|
||||||
{{ with site.Params.plausibleAnalytics.domain }}
|
{{ with site.Params.plausibleAnalytics.domain }}
|
||||||
<script defer
|
<script defer
|
||||||
data-domain="{{ . }}"
|
data-domain="{{ . }}"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hugo-congo-theme",
|
"name": "hugo-congo-theme",
|
||||||
"version": "2.7.5",
|
"version": "2.7.6",
|
||||||
"description": "Congo theme for Hugo",
|
"description": "Congo theme for Hugo",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"preinstall": "rimraf assets/lib",
|
"preinstall": "rimraf assets/lib",
|
||||||
|
|
Loading…
Reference in New Issue