Skip to content

Commit

Permalink
Add documentation for RTL support
Browse files Browse the repository at this point in the history
Signed-off-by: Hamed Faramarzi <hamed.faramarzi@gmail.com>
  • Loading branch information
ha36d authored and yaim committed Jun 21, 2024
1 parent 7ebd5cc commit b5988ca
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/_docs/05-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,12 @@ By default your site title is used in the masthead. You can override this text b
masthead_title: "My Custom Title"
```

### Site direction

`site.direction` is used to declare the direction of the page. This option can be used for RTL languages (like Arabic, Persian, etc)

_Example:_ `direction: "rtl"` sets the `direction` of the body of page to right to left. By default this option is `locale: "ltr"`.

### Breadcrumb navigation (beta)

Enable breadcrumb links to help visitors better navigate deep sites. Because of the fragile method of implementing them they don't always produce accurate links reliably. For best results:
Expand Down

0 comments on commit b5988ca

Please sign in to comment.