浏览代码

Specify the useExternalCss config into the README.md

The new configuration variable has been added to the README.md

By default, it is set to false.
If set to true, the local tarteaucitron.css file will not be loaded.

The name of the config might not be self explanatory. I would have recommended changing it to "loadLocalCss". (with true by default)
Encre Informatique 6 年之前
父节点
当前提交
9f65d06cd5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      README.md

+ 1 - 0
README.md

@@ -47,6 +47,7 @@ tarteaucitron.init({
 
     "removeCredit": false, /* Remove credit link */
     "moreInfoLink": true, /* Show more info link */
+    "useExternalCss": false /* If false, the tarteaucitron.css file will be loaded */
 
     //"cookieDomain": ".my-multisite-domaine.fr" /* Shared cookie for subdomain website */
 });