mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-02-02 03:22:33 -06:00
move "default server" param documentation to docs/configuration
This commit is contained in:
parent
0477c2018d
commit
5926504cf3
2 changed files with 2 additions and 4 deletions
|
@ -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 `<code>` 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. |
|
||||
|
|
|
@ -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`|
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
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` |
|
||||
<!-- prettier-ignore-end -->
|
||||
|
||||
A default value for `server` may be provided in `params.toml` as `.Site.Params.giteaDefaultServer`.
|
||||
|
||||
**Example 1:**
|
||||
|
||||
```md
|
||||
|
|
Loading…
Reference in a new issue