Last active
March 16, 2021 05:59
-
-
Save kidGodzilla/7d191604ea23cfe0f011ad8776dd1f7d to your computer and use it in GitHub Desktop.
Changelog.life Embed Code / Widget
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Changelog.life Widget Embed (Beta) | |
* Replace 'changelogging' with your Changelog subdomain | |
* Then, place this script tag where you want your changelog dot to appear. | |
*/ | |
See an example on Codepen: https://codepen.io/kidGodzilla/pen/gOLymGB | |
<script onload="_changeloglife_init('changelogging')" id="changelog_life" src="https://changelog.life/embed.js"></script> |
You can switch the widget to use a dark theme, by adding window.CHANGELOG_EMBED_THEME='dark';
, like this:
<script onload="window.CHANGELOG_EMBED_THEME='dark'; _changeloglife_init('changelogging')"
id="changelog_life" src="https://changelog.life/embed.js"></script>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example, We'd put the script below right after our logo, in our header, on indie.am:
You can see
changelogging
was changed toindie
.