c3e12a4dfa
Load the `common` style pack, and then charge the style pack for the current skin, independent from any selected JS pack.
6 lines
291 B
Plaintext
6 lines
291 B
Plaintext
- if theme && theme[:pack]
|
|
- pack_path = "flavours/#{theme[:flavour]}/#{theme[:pack]}"
|
|
= javascript_pack_tag pack_path, crossorigin: 'anonymous'
|
|
- theme[:preload]&.each do |link|
|
|
%link{ href: asset_pack_path("#{link}.js"), crossorigin: 'anonymous', rel: 'preload', as: 'script' }/
|