This PR introduces an easier svg icon support so we just have to put new svg icons in assets/svg directory and access it in layout thanks to their basename.
It will help in switching from Feather icons to Simple icons as stated in #248 and also in adding new social media entries as of #76, #136 and #149.
However, due to the implementation, if an icon is missing, it won't let the site be built with an empty icon as before. An error will be thrown by hugo.
Another feature added is the svg shortcode to allow user to insert the template's icons in their website content.
This PR introduces an easier svg icon support so we just have to put new svg icons in
assets/svg
directory and access it in layout thanks to their basename.It will help in switching from Feather icons to Simple icons as stated in #248 and also in adding new social media entries as of #76, #136 and #149.
However, due to the implementation, if an icon is missing, it won't let the site be built with an empty icon as before. An error will be thrown by hugo.
Another feature added is the
svg
shortcode to allow user to insert the template's icons in their website content.