mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 15:12:58 +03:00
Update readme
Bump unpkg version to 0.2.1
This commit is contained in:
parent
3baffcc3e6
commit
4565cfb646
@ -10,7 +10,7 @@ Drop-in script to make the bulk of members work on any theme.
|
|||||||
To load members.js in any Ghost theme, add below code in theme's `default.hbs` before the end of body tag.
|
To load members.js in any Ghost theme, add below code in theme's `default.hbs` before the end of body tag.
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<script type="text/javascript" src="https://unpkg.com/@tryghost/members-js@0.2.0"></script>
|
<script type="text/javascript" src="https://unpkg.com/@tryghost/members-js@0.2.1"></script>
|
||||||
<script>
|
<script>
|
||||||
// Initializes members.js
|
// Initializes members.js
|
||||||
// adminUrl: Your API domain, must not end in a trailing slash(Ref: https://ghost.org/docs/api/v3/javascript/admin/#authentication)
|
// adminUrl: Your API domain, must not end in a trailing slash(Ref: https://ghost.org/docs/api/v3/javascript/admin/#authentication)
|
||||||
|
Loading…
Reference in New Issue
Block a user