We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I added the bare bones to config, trying to get this to work:
[[module]] [[module.imports]] path = "github.com/gohugoio/hugo-mod-heroicons"
And then using your example in my template:
{{ $icon := resources.Get "svg/heroicons/outline/search.svg" }} {{ $icon.Content | safeHTML }}
resulted in the following error:
Error: Error building site: failed to render pages: render of "home" failed: "/Users/ericbrookfield/Development/quickstart/layouts/index.html:31:12": execute of template failed: template: index.html:31:12: executing "main" at <$icon.Content>: nil pointer evaluating resource.Resource.Content
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I added the bare bones to config, trying to get this to work:
And then using your example in my template:
resulted in the following error:
The text was updated successfully, but these errors were encountered: