Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/collective/volto-site-settings

Volto add-on that loads Site controlpanel settings
https://github.com/collective/volto-site-settings

Last synced: about 2 months ago
JSON representation

Volto add-on that loads Site controlpanel settings

Awesome Lists containing this project

README

        

# volto-site-settings

## Introduction

> **Note**: This add-on currently needs [collective.volto.sitesettings](https://github.com/collective/collective.volto.sitesettings) to be installed in order to work.

This addon enable user to change and translate:

- site title
- site subtitle

and to change:

- site logo
- site footer logo
- site favicon

from control panel

and sets page title template with current site title.
If [volto-subsites](https://github.com/collective/collective.volto.subsites) is installed, it calculates site-title and site logo if you are under a subsite.

![image](./assets/controlpanel.png)

## Usage

```bash
yarn add volto-site-settings
```

Use SiteProperty component to get site properties:
For example, to get site title:

```jsx
import { SiteProperty } from 'volto-site-settings';
const title = SiteProperty = ({
property = 'site_title',
getValue: true
});
```

or

```jsx
import { SiteProperty } from 'volto-site-settings';
;
```

or to get logo:

```jsx
import { SiteProperty } from 'volto-site-settings';
import logo from './logo.png';

;
```

## Contributing

Contributions are welcome, feel free to [open an issue](https://github.com/collective/volto-site-settings/issues) or submit a PR.

This project uses the conventional changelog specification (see [COMMITLINT.md](./COMMITLINT.md)).

## License

This product is licensed under the [MIT License](./LICENSE).

## Authors

This product was developed by the [RedTurtle Technology](https://www.redturtle.it) team.

![RedTurtle](https://avatars1.githubusercontent.com/u/1087171?s=100&v=4)