Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Changelog.life Embed Code / Widget
/**
* 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>
@kidGodzilla
Copy link
Author

kidGodzilla commented Mar 16, 2021

For example, We'd put the script below right after our logo, in our header, on indie.am:

<script onload="_changeloglife_init('indie')" id="changelog_life" src="https://changelog.life/embed.js"></script>

You can see changelogging was changed to indie.

@kidGodzilla
Copy link
Author

kidGodzilla commented Mar 16, 2021

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