Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Commit

Permalink
Add unpublish button
Browse files Browse the repository at this point in the history
  • Loading branch information
MarikaMustV committed Nov 10, 2020
1 parent 7a583a8 commit 8005a92
Show file tree
Hide file tree
Showing 5 changed files with 603 additions and 550 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ public function tools()
```

## Defining locales

The config accepts a dictionary of locales.

```php
Expand All @@ -63,14 +64,14 @@ The config accepts a dictionary of locales.
```

### Nova Lang

This package supports [optimistdigital/nova-lang](https://github.com/optimistdigital/nova-lang) for easier content localization.
After installing and setting up `nova-lang` package, you can use `nova_lang_get_all_locales` helper function in `nova-blog` config file

```php
'locales' => nova_lang_get_all_locales(),
```


### Toggling page draft feature

Draft feature allows you to create previews of resources before publishing them. By default this feature is disabled but can be enabled by installing [nova-drafts](https://github.com/optimistdigital/nova-drafts) package.
Expand Down Expand Up @@ -230,7 +231,7 @@ Example response for querying page with slug `test-post-3` (`nova_get_post_by_sl

## Credits

- [Marika Must](https://github.com/marycaz)
- [Marika Must](https://github.com/MarikaMustV)
- [Tarvo Reinpalu](https://github.com/Tarpsvo)

## License
Expand Down
2 changes: 1 addition & 1 deletion dist/js/nova-blog-dist.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/js/nova-blog-dist.js.LICENSE.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
/**
* @license
* Lodash <https://lodash.com/>
* Copyright JS Foundation and other contributors <https://js.foundation/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
Expand Down
Loading

0 comments on commit 8005a92

Please sign in to comment.