Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/wejs/we-plugin-site-contact

We.js site contact plugin
https://github.com/wejs/we-plugin-site-contact

Last synced: about 1 month ago
JSON representation

We.js site contact plugin

Awesome Lists containing this project

README

        

# we-plugin-site-contact

We.js site contact plugin for add the /site-contact page and one contact widget

## Features

- Contact form iframe
- Contact email

## Settings:

### Change subject field to open text field

```
we.config.enableCustomSiteContactSubject = true
```

### How to test

after clone and install npm packages:

```sh
npm test
```

##### For run only 'Contact' test use:

```sh
NODE_ENV=test LOG_LV=info ./node_modules/.bin/mocha test/bootstrap.js test/**/*.test.js -g 'contact'
```

##### For run the javascript linter

```sh
npm run lint
```

## Copyright and license

Copyright Alberto Souza and contributors , under [the MIT license](LICENSE).

## Sponsored by

- Linky: https://linkysystems.com