janosrusiczki / japr

Jekyll Asset Pipeline Reborn - Powerful asset pipeline for Jekyll that collects, converts and compresses JavaScript and CSS assets.
MIT License
51 stars 9 forks source link

process YAML header first #9

Open pearsonca opened 10 years ago

pearsonca commented 10 years ago

I'd like to be able to make use of the YAML header / liquid template processing in out-of-the-box Jekyll for .less files. i.e.:


---

---

.{{ someTargetNameFromConfig }} {
  /* ... */
} 

so I can only have to specify those classes (e.g.) in one place to use them across the pages / css / js.

As it stands, the assets aren't initially checked for any YAML / liquid processing before they are then run through the (e.g.) Less compiler.