Front-end development of Newsman pages
Jekyll - static site generator based on Ruby
Gulp - build system based on NodeJS
Coriolan UI - Sass mixins pack
GitHub Pages - free hosting
npm i
gulp watch
-
Put your svg image
name.svg
into./assets/img/svg-icons/
folder -
Do
gulp font
-
Now you can add your svg icon in html
<span class='icon-name'></span>
-
But better in sass:
.block { &__my-icon { @extend .icon; @extend .icon-name; } }