ソースを参照

Rename tablerCssPlugins to cssPlugins for consistency

codecalm 4 ヶ月 前
コミット
5b2ee97aa7

+ 1 - 1
shared/data/site.json

@@ -14,7 +14,7 @@
   "googleMapsKey": "AIzaSyAr5mRB4U1KRkVznIrDWEvZjroYcD202DI",
   "googleMapsDevKey": "AIzaSyCL-BY8-sq12m0S9H-S_yMqDmcun3A9znw",
   "npmPackage": "@tabler/core",
-  "tablerCssPlugins": [
+  "cssPlugins": [
     "flags",
     "socials",
     "payments",

+ 1 - 1
shared/includes/layout/css.html

@@ -25,7 +25,7 @@
 <!-- END GLOBAL MANDATORY STYLES -->
 
 <!-- BEGIN PLUGINS STYLES -->
-{% for plugin in site.tablerCssPlugins -%}
+{% for plugin in site.cssPlugins -%}
 	{% if layout-rtl -%}
 	<link href="{{ page | relative }}/dist/css/tabler-{{ plugin }}.rtl{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" rel="stylesheet"{% if environment != 'development' %} integrity="{{ sri[`css-${plugin}-rtl`] }}"{% endif %}/>
 	{% else -%}

+ 1 - 1
shared/layouts/docs/default.html

@@ -7,7 +7,7 @@
 	<title>Tabler Documentation - {{ title }}</title>
 
 	<link rel="stylesheet" href="/dist/css/tabler{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}" />
-	{% for plugin in site.tablerCssPlugins %}
+	{% for plugin in site.cssPlugins %}
 	<link
 		href="/dist/css/tabler-{{ plugin }}{% if environment != 'development' %}.min{% endif %}.css{% if environment != 'development' %}?{{ 'now' | date: '%s' }}{% endif %}"
 		rel="stylesheet" />