pretzel icon indicating copy to clipboard operation
pretzel copied to clipboard

Maintain Extensions of Front-Matter Files

Open Morgma opened this issue 12 years ago • 0 comments

In Jekyll, I can create an include for each of my js and css resources. Then, in my source directory, I have an "all-js.js" and "all-styles.css" which contain only an empty front-matter header and includes for each of my scripts/styles. This give me a simple way to "bundle" resources.

all-styles.css


---

---

{% include style/main.css %}
{% include style/syntax.css %}

In Pretzel, the includes are parsed and the files are generated, but with the wrong extensions. Instead of maintaining all-styles .css, for example, I end up with all-styles .html in the output.

Morgma avatar Jul 10 '13 14:07 Morgma