1.9.0: Merge pull request #26 from peckjon/peckjon-footer-for-internal
LatestFixes #25
This change makes it possible to add a footer to a card in an INTERNAL collection.
- In copyCardData() the line const cardpathRegex = /CARDPATH/g; is now declared at the top of the file, making it globally accessible.
- In processStandardCollection() the card footer is read from the GURU_CARD_FOOTER environment variable and, if it exists, will be appended to the card content. The text CARDPATH in the footer is replaced with the URI-encoded filename of the card.
Full Changelog: 1.8.1...1.9.0