mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-20 19:55:54 +00:00
Cache-bust CSS (now v3)
This commit is contained in:
@@ -4,9 +4,9 @@
|
|||||||
"node-sass": "^6.0.1"
|
"node-sass": "^6.0.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build-css": "node-sass --include-path scss xrpl.scss ../assets/css/devportal2021-v2.css --output-style compressed",
|
"build-css": "node-sass --include-path scss xrpl.scss ../assets/css/devportal2021-v3.css --output-style compressed",
|
||||||
"build-css-out": "node-sass --include-path scss xrpl.scss ../out/assets/css/devportal2021-v2.css --output-style compressed --source-map true",
|
"build-css-out": "node-sass --include-path scss xrpl.scss ../out/assets/css/devportal2021-v3.css --output-style compressed --source-map true",
|
||||||
"build-css-watch-out": "node-sass --recursive --watch --include-path scss xrpl.scss ../out/assets/css/devportal2021-v2.css --output-style compressed --source-map true"
|
"build-css-watch-out": "node-sass --recursive --watch --include-path scss xrpl.scss ../out/assets/css/devportal2021-v3.css --output-style compressed --source-map true"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"sass": "^1.26.10"
|
"sass": "^1.26.10"
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
{% if target.lang=="ja" %}
|
{% if target.lang=="ja" %}
|
||||||
<link href="{{currentpage.prefix}}assets/css/fonts-ja.css" rel="stylesheet" />
|
<link href="{{currentpage.prefix}}assets/css/fonts-ja.css" rel="stylesheet" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<link href="{{currentpage.prefix}}assets/css/devportal2021-v2.css" rel="stylesheet" />
|
<link href="{{currentpage.prefix}}assets/css/devportal2021-v3.css" rel="stylesheet" />
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" />
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user