The Octicons component theme provides a Twig macro to use Primer Octicons icons in Cecil templates.
- A Cecil website
composer require cecil/theme-octiconsOr download the latest archive and uncompress its content in
themes/octicons.
{% import 'macros/octicons.twig' as octicons %}
{{ octicons.svg('<icon>', <16|24>, '<class>') }}This will build the Octicons data file and copy it to the data folder.
npm install
npm run build
npm run copy