You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to add a icon for NumFOCUS in the footer social icons (``params.footer.socialmedia[0].icon), but I got the following error:
ERROR render of "page" failed: "S:\Development\Econ-ARK\econ-ark.org\themes\scientific-python-hugo-theme\layouts\_default\baseof.html:42:7": execute of template failed: template: _default/single.html:42:7: executing "_default/sing
le.html" at <partial "footer.html" .>: error calling partial: "S:\Development\Econ-ARK\econ-ark.org\themes\scientific-python-hugo-theme\layouts\partials\footer.html:38:20": execute of template failed: template: partials/footer.htm
l:38:20: executing "partials/footer.html" at <partial "svg-icon" .icon>: error calling partial: "S:\Development\Econ-ARK\econ-ark.org\themes\scientific-python-hugo-theme\layouts\partials\svg-icon.html:7:73": execute of template fa
iled: template: partials/svg-icon.html:7:73: executing "partials/svg-icon.html" at <$svg>: nil pointer evaluating resource.Resource.Content
ERROR render: failed to render pages: render of "page" failed: "S:\Development\Econ-ARK\econ-ark.org\themes\scientific-python-hugo-theme\layouts\_default\baseof.html:42:7": execute of template failed: template: _default/single.htm
l:42:7: executing "_default/single.html" at <partial "footer.html" .>: error calling partial: "S:\Development\Econ-ARK\econ-ark.org\themes\scientific-python-hugo-theme\layouts\partials\footer.html:38:20": execute of template faile
d: template: partials/footer.html:38:20: executing "partials/footer.html" at <partial "svg-icon" .icon>: error calling partial: "S:\Development\Econ-ARK\econ-ark.org\themes\scientific-python-hugo-theme\layouts\partials\svg-icon.ht
ml:7:73": execute of template failed: template: partials/svg-icon.html:7:73: executing "partials/svg-icon.html" at <$svg>: nil pointer evaluating resource.Resource.Content
I tried adding an image to assets/css/icons, but to no avail, as it was a PNG.
This is an issue partly as I couldn't find any info on the docs about custon icons, and secondly a request for if a built-in NumFOCUS icon might be added, or support for raster images (PNG, JPEG, WebP, etc?).
Thank you for making a great theme!
A
The text was updated successfully, but these errors were encountered:
jarrodmillman
changed the title
NumFOCUS icon (or: adding non-SVG custom footer icons)
Adding non-SVG custom footer icons
Sep 17, 2023
I wanted to add a icon for NumFOCUS in the footer social icons (``params.footer.socialmedia[0].icon), but I got the following error:
I tried adding an image to
assets/css/icons
, but to no avail, as it was a PNG.This is an issue partly as I couldn't find any info on the docs about custon icons, and secondly a request for if a built-in NumFOCUS icon might be added, or support for raster images (PNG, JPEG, WebP, etc?).
Thank you for making a great theme!
A
The text was updated successfully, but these errors were encountered: