mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-25 19:48:50 +03:00
Updated readme to tag latest unpkg version in script
Unpkg recommends tagging exact version in the url to avoid redirects and faster load times. Also ensures the init script is in sync with the unpkg version being picked up in case of any changes.
This commit is contained in:
parent
884e197cca
commit
c58f29f1a9
@ -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.
|
||||
|
||||
```html
|
||||
<script src="https://unpkg.com/@tryghost/members-js"></script>
|
||||
<script type="text/javascript" src="https://unpkg.com/@tryghost/members-js@0.1.1"></script>
|
||||
<script>
|
||||
// Initializes members.js
|
||||
window.GhostMembers.init({
|
||||
|
Loading…
Reference in New Issue
Block a user