From 5926504cf370f278b33f3297865dca07860a5b31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn-Michael=20Miehe?= <40151420+ldericher@users.noreply.github.com> Date: Thu, 8 Aug 2024 01:31:01 +0200 Subject: [PATCH] move "default server" param documentation to `docs/configuration` --- exampleSite/content/docs/configuration/index.md | 2 ++ exampleSite/content/docs/shortcodes/index.md | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/exampleSite/content/docs/configuration/index.md b/exampleSite/content/docs/configuration/index.md index 7b3ce190..a92e415c 100644 --- a/exampleSite/content/docs/configuration/index.md +++ b/exampleSite/content/docs/configuration/index.md @@ -170,6 +170,8 @@ Many of the article defaults here can be overridden on a per article basis by sp | `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. | | `enableCodeCopy` | `false` | Whether copy-to-clipboard buttons are enabled for `` blocks. The `highlight.noClasses` parameter must be set to `false` for code copy to function correctly. Read more about [other configuration files](#other-configuration-files) below. | +| `forgejoDefaultServer` | _Not set_ | The default `server` parameter for the `forgejo` shortcode. | +| `giteaDefaultServer` | _Not set_ | The default `server` parameter for the `gitea` shortcode. | | `mainSections` | _Not set_ | The sections that should be displayed in the recent articles list. If not provided the section with the greatest number of articles is used. | | `showViews` | _Not set_ | Whether or not articles and list views are displayed. This requires firebase integrations to be enabled, look below. | | `showLikes` | _Not set_ | Whether or not articles and list likes are displayed. This requires firebase integrations to be enabled, look below. | diff --git a/exampleSite/content/docs/shortcodes/index.md b/exampleSite/content/docs/shortcodes/index.md index a0c49d0a..b2b2deb0 100644 --- a/exampleSite/content/docs/shortcodes/index.md +++ b/exampleSite/content/docs/shortcodes/index.md @@ -297,8 +297,6 @@ Blowfish also supports automatic conversion of images included using standard Ma | `server` | [String] server URL like `https://v8.next.forgejo.org`| -A default value for `server` may be provided in `params.toml` as `.Site.Params.forgejoDefaultServer`. - **Example 1:** ```md @@ -378,8 +376,6 @@ In order to add images to the gallery, use `img` tags for each image and add `cl | `server` | [String] server URL like `https://git.fsfe.org` | -A default value for `server` may be provided in `params.toml` as `.Site.Params.giteaDefaultServer`. - **Example 1:** ```md