Open danlamanna opened 2 years ago
I'd love for this to be upstreamed and agree with @brianhelba 's suggestion of an additional template tag to include the JS.
This is a working incantation for getting the library from CDN:
<script type="module" src="https://cdn.jsdelivr.net/npm/@github/relative-time-element@4.3.0/+esm"></script>
Fixes #37
This requires adding the time-elements script (https://github.com/github/time-elements) to the pages this is used on.