Skip to content

Commit

Permalink
docs(en): config behaviour target
Browse files Browse the repository at this point in the history
  • Loading branch information
hywax committed Jan 26, 2024
1 parent a2b0b8a commit e8f20f2
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions docs/reference/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,35 @@ With the `true` parameter there will be no automatic update.
If you want the system to be able to update itself, we recommend using [watchtower](https://containrrr.dev/watchtower/).
:::

## Behaviour

A group of parameters responsible for the behavior of the application.

### Target

Поведение браузера при нажатии на сервис.
С помощью этого свойства, можно сделать открытие сервиса в текущем или новом окне.

```yaml
behaviour:
target: _blank
```

Values:

| Value | Description |
|-----------|---------------------------------------------------------------------------------------------------------------------------------|
| `_blank` | Usually a new tab, but users can configure browsers to open a new window instead |
| `_self` | The current browsing context |
| `_parent` | The parent browsing context of the current one. If no parent, behaves as `_self` |
| `_top` | The topmost browsing context (the "highest" context that's an ancestor of the current one). If no ancestors, behaves as `_self` |

Default: `_blank`

::: warning
If a field is defined in the service `target` it will be prioritized. More details can be found in the [basic service](../services/base.md#target).
:::

## Services

All services that are displayed on the home page are set in this parameter.
Expand Down

0 comments on commit e8f20f2

Please sign in to comment.