directly embed element as site logo
I can see only one reason why it is worth embedding the SVG file in a different way than the default one – its control e.g. via CSS.
So if you need to embed your SVG file into the theme source file put the code in two places instead of creating the hbs file.
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!