diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index abeda6d8..2831a098 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -117,13 +117,13 @@ smartTOCHideUnfocusedChildren = false cardViewScreenWidth = false [firebase] - apiKey = "AIzaSyB5tqlqDky77Vb4Tc4apiHV4hRZI18KGiY" - authDomain = "blowfish-21fff.firebaseapp.com" - projectId = "blowfish-21fff" - storageBucket = "blowfish-21fff.appspot.com" - messagingSenderId = "60108104191" - appId = "1:60108104191:web:039842ebe1370698b487ca" - measurementId = "G-PEDMYR1V0K" + #apiKey = "AIzaSyB5tqlqDky77Vb4Tc4apiHV4hRZI18KGiY" + #authDomain = "blowfish-21fff.firebaseapp.com" + #projectId = "blowfish-21fff" + #storageBucket = "blowfish-21fff.appspot.com" + #messagingSenderId = "60108104191" + #appId = "1:60108104191:web:039842ebe1370698b487ca" + #measurementId = "G-PEDMYR1V0K" [fathomAnalytics] # site = "ABC12345" diff --git a/exampleSite/content/docs/shortcodes/index.it.md b/exampleSite/content/docs/shortcodes/index.it.md index 7ead8a52..14ab2b35 100644 --- a/exampleSite/content/docs/shortcodes/index.it.md +++ b/exampleSite/content/docs/shortcodes/index.it.md @@ -213,6 +213,25 @@ This shortcode is for importing code from external sources easily without copyin

+## Codeberg Card + +`codeberg` allows you to quickly link a Codeberg repository via the Codeberg API, providing real-time updates on stats such as stars and forks. + + +| Parameter | Description | +| --------- | ----------------------------------------------------- | +| `repo` | [String] codeberg repo in the format of `username/repo` | + + +**Example 1:** + +```md +{{}} +``` +{{< codeberg repo="forgejo/forgejo" >}} + +


+ ## Figure Blowfish includes a `figure` shortcode for adding images to content. The shortcode replaces the base Hugo functionality in order to provide additional performance benefits. @@ -421,10 +440,10 @@ The input is written in Markdown so you can format it however you please. **Example1 :** ```md -{{}} Super skill {{}} +{{}} *Super* skill {{}} ``` -{{< keyword >}} *Standalone* skill {{< /keyword >}} +{{< keyword >}} *Super* skill {{< /keyword >}} **Example2 :** @@ -745,8 +764,9 @@ consectetur adipiscing elit. breakLines=false loop=true */>}} -Lorem ipsum dolor sit amet, -consectetur adipiscing elit. +"Frankly, my dear, I don't give a damn." Gone with the Wind (1939) +"I'm gonna make him an offer he can't refuse." The Godfather (1972) +"Toto, I've a feeling we're not in Kansas anymore." The Wizard of Oz (1939) {{}} ``` diff --git a/exampleSite/content/docs/shortcodes/index.ja.md b/exampleSite/content/docs/shortcodes/index.ja.md index 7ead8a52..14ab2b35 100644 --- a/exampleSite/content/docs/shortcodes/index.ja.md +++ b/exampleSite/content/docs/shortcodes/index.ja.md @@ -213,6 +213,25 @@ This shortcode is for importing code from external sources easily without copyin

+## Codeberg Card + +`codeberg` allows you to quickly link a Codeberg repository via the Codeberg API, providing real-time updates on stats such as stars and forks. + + +| Parameter | Description | +| --------- | ----------------------------------------------------- | +| `repo` | [String] codeberg repo in the format of `username/repo` | + + +**Example 1:** + +```md +{{}} +``` +{{< codeberg repo="forgejo/forgejo" >}} + +


+ ## Figure Blowfish includes a `figure` shortcode for adding images to content. The shortcode replaces the base Hugo functionality in order to provide additional performance benefits. @@ -421,10 +440,10 @@ The input is written in Markdown so you can format it however you please. **Example1 :** ```md -{{}} Super skill {{}} +{{}} *Super* skill {{}} ``` -{{< keyword >}} *Standalone* skill {{< /keyword >}} +{{< keyword >}} *Super* skill {{< /keyword >}} **Example2 :** @@ -745,8 +764,9 @@ consectetur adipiscing elit. breakLines=false loop=true */>}} -Lorem ipsum dolor sit amet, -consectetur adipiscing elit. +"Frankly, my dear, I don't give a damn." Gone with the Wind (1939) +"I'm gonna make him an offer he can't refuse." The Godfather (1972) +"Toto, I've a feeling we're not in Kansas anymore." The Wizard of Oz (1939) {{}} ``` diff --git a/exampleSite/content/docs/shortcodes/index.md b/exampleSite/content/docs/shortcodes/index.md index 7f1c60de..14ab2b35 100644 --- a/exampleSite/content/docs/shortcodes/index.md +++ b/exampleSite/content/docs/shortcodes/index.md @@ -213,6 +213,25 @@ This shortcode is for importing code from external sources easily without copyin

+## Codeberg Card + +`codeberg` allows you to quickly link a Codeberg repository via the Codeberg API, providing real-time updates on stats such as stars and forks. + + +| Parameter | Description | +| --------- | ----------------------------------------------------- | +| `repo` | [String] codeberg repo in the format of `username/repo` | + + +**Example 1:** + +```md +{{}} +``` +{{< codeberg repo="forgejo/forgejo" >}} + +


+ ## Figure Blowfish includes a `figure` shortcode for adding images to content. The shortcode replaces the base Hugo functionality in order to provide additional performance benefits. @@ -361,25 +380,6 @@ Finally, custom GitLab instance URL can be provided, as long as the `api/v4/proj


-## Codeberg Card - -`codeberg` allows you to quickly link a Codeberg repository via the Codeberg API, providing real-time updates on stats such as stars and forks." - - -| Parameter | Description | -| --------- | ----------------------------------------------------- | -| `repo` | [String] codeberg repo in the format of `username/repo` | - - -**Example 1:** - -```md -{{}} -``` -{{< codeberg repo="forgejo/forgejo" >}} - -


- ## Icon `icon` outputs an SVG icon and takes the icon name as its only parameter. The icon is scaled to match the current text size. diff --git a/exampleSite/content/docs/shortcodes/index.zh-cn.md b/exampleSite/content/docs/shortcodes/index.zh-cn.md index d3e4f59a..01ef4dec 100644 --- a/exampleSite/content/docs/shortcodes/index.zh-cn.md +++ b/exampleSite/content/docs/shortcodes/index.zh-cn.md @@ -214,6 +214,25 @@ data: {

+## Codeberg Card + +`codeberg` 允许您通过 Codeberg API 快速链接 Codeberg 存储库,提供星号和分叉等统计信息的实时更新. + + +| Parameter | Description | +| --------- | ----------------------------------------------------- | +| `repo` | [String] Codeberg 存储库的格式为 `username/repo` | + + +**Example 1:** + +```md +{{}} +``` +{{< codeberg repo="forgejo/forgejo" >}} + +


+ ## Figure Blowfish 包含一个 `figure` 简码,用于将图像添加到内容中。该简码取代了基本的 Hugo 功能,且性能更好。