Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Added Support for ghost asset based content discovery. #299

Closed
wants to merge 3 commits into from

Conversation

djmittens
Copy link

Perhaps there is a much better way to handle this but this is m attempt at supporting Ghosts asset based handlebars anontation.

Goal to support handebars expressions such as:
{{asset "js/normalize.css"}}

  • I decoupled the actual render string from the string used for configuration of destinations.
  • Added some ignores for my ide of choice

Hardcoded to expect {{asset Not the best way to solve the problem generically but i feel that was way out of scope for the changes that i needed.

Changed the regular expressions to be able to handle spaces inside of the replace path.

@sindresorhus
Copy link
Member

We're not interested in supporting templating systems. But with #337 you can add it yourself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants