mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue