Create an SVG icon function for the templates and possibly a sprite sheet helper #4

Open
opened 5 days ago by zedshaw · 0 comments
zedshaw commented 5 days ago
Owner

SVG is such dogshit that I'm probably going to have to make a little {{ icon "name" }} helper that knows how to load the named svg and embed it there. Might also need to work on a spritesheet tool similar to my other JS command in commands/icons.js.

SVG is such dogshit that I'm probably going to have to make a little `{{ icon "name" }}` helper that knows how to load the named svg and embed it there. Might also need to work on a spritesheet tool similar to my other JS command in `commands/icons.js`.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: learn-code-the-hard-way/ssgod#4
Loading…
There is no content yet.