It would be nice if developers could include partials with extensions other than `.hbs`, so that a template could include an svg file, e.g.
Maybe in such a case, Publii could first look for “logo.svg.hbs” as it does now, and if it doesn’t find it, then look for “logo.svg”. Or maybe a configurable list of extensions that would preclude attaching “.hbs” to a partial, so that if Publii were configured for “.svg” and came across the above line, it would not attach a second extension of “.hbs”.
Publii themes use the Handlebars templating language and we do not plan to change this behavior. If you want to attach the SVG file with the partials just name this file for example mysvg.hbs and paste your SVG code into it.
-- Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!