ckirknielsen’s avatarckirknielsen’s Twitter Archive—№ 1,378

  1. …in reply to @brob
    brob Before, I was doing something like this: {% set svgRssIconData = { class: 'icon', title; 'RSS' } %} {% include 'assets/svg/rss.svg.njk' %} Then reading that variable in the icon's file. Not terrible but a bit messy. With renderFile I can keep it neat and scoped!