kiramclean / morphy

A simple static site generator
2 stars 1 forks source link

Handle templating pages differently #23

Closed kiramclean closed 3 years ago

kiramclean commented 3 years ago

Right now assets go through the normal pipeline and get e.g. a slug attached. This isn't used, but it shouldn't be there for assets (it's wrong). Change the way things are templated so assets can't accidentally get weird paths associated. Also pages marked leave-path-alone and no-layout get slugs, which I'm not sure makes sense.