Add a feature flag for loading new CSS stylesheets
This commit is contained in:
parent
8b721e63fb
commit
fa884644cf
3 changed files with 10 additions and 1 deletions
|
@ -30,6 +30,9 @@ drupalorg:
|
|||
url: https://www.drupal.org/u/%drupalorg.username%
|
||||
username: opdavies
|
||||
|
||||
features:
|
||||
new_css: true
|
||||
|
||||
github:
|
||||
url: https://github.com/%github.username%
|
||||
username: opdavies
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
imports:
|
||||
- sculpin_site.yml
|
||||
|
||||
features:
|
||||
new_css: false
|
||||
|
||||
url: https://www.oliverdavies.uk
|
||||
|
||||
use_transistor: false
|
||||
|
|
|
@ -4,7 +4,10 @@
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width">
|
||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||
<link href="/build/tailwind.css?v={{ site.assets.version }}" rel="stylesheet">
|
||||
{% if site.features.new_css %}
|
||||
{% else %}
|
||||
<link href="/build/tailwind.css?v={{ site.assets.version }}" rel="stylesheet">
|
||||
{% endif %}
|
||||
<link rel="canonical" href="{{ site.url }}{{ page.url|trim('/', 'right') }}">
|
||||
<meta name="author" content="Oliver Davies">
|
||||
<meta name="generator" content="Sculpin (https://sculpin.io)">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue