Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/collective/volto-site-settings
Volto add-on that loads Site controlpanel settings
https://github.com/collective/volto-site-settings
Last synced: 4 days ago
JSON representation
Volto add-on that loads Site controlpanel settings
- Host: GitHub
- URL: https://github.com/collective/volto-site-settings
- Owner: collective
- Created: 2022-07-21T15:23:51.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-07T08:11:37.000Z (3 months ago)
- Last Synced: 2024-12-22T18:47:20.005Z (21 days ago)
- Language: JavaScript
- Size: 1.97 MB
- Stars: 1
- Watchers: 12
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- awesome-volto - volto-site-settings - Makes available the site settings to any Volto block / component. (Addons)
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 subtitleand to change:
- site logo
- site footer logo
- site faviconfrom 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)