-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Problems with the new icon tag #10
Comments
The original purpose of However, in the recent development, I found out that SVG is not always implemented by filling the color. (e.g. takes feather icon, for example, it's implemented mostly by stroke) Adding Based on the above reasons, I decided to remove the functionality of If you really want to have a wrapper that wraps your SVG, you can create your own shortcode under the project folder (/layouts/shortcodes/<SHORTCODE>.html). See https://gohugo.io/templates/shortcode-templates for more details. |
Take bitcoin icon from simple icons for example
Add
Add the above SVG to By the way, Monochrome has a class name called
|
@kaiiiz Also, I've noticed that the images dont seem to respond to the width tag anymore. I have this tag: |
If I’m not mistaken, you wish to add a shortcode
In this way, you can wrap any SVG with class icon using a shortcode (replace I can extend the
Yes, this is the bug. The |
Yeah, sort of. My original concept was to have icons that i can press to get me to a link, others that just exist there for information porpuses and others that when I click them they copy something to the clipboard.
I see, i undertand.
Cool, great, cant wait. |
Ok, i just checked the most recent update and that fixes the image size issue. |
Im trying to implement this change:
svg-wrapper shortcode has been changed to icon
But im having trouble since i want to use icons that feather doesnt have like the bitcoin icon.
Is there a way to implement this on this knew system?
If not, would you mind adding the svg-wrapper back so that we can make use of it too?
The text was updated successfully, but these errors were encountered: