Have static copy directly to root
This commit is contained in:
parent
9429008155
commit
8776f78712
|
|
@ -5,7 +5,7 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"clean": "rm -rf docs && mkdir -p docs/styles",
|
"clean": "rm -rf docs && mkdir -p docs/styles",
|
||||||
"static": "cp -r static docs",
|
"static": "cp -r static/* docs",
|
||||||
"build": "npm run clean && npm run static && postcss src/styles/global.css > docs/styles/global.css",
|
"build": "npm run clean && npm run static && postcss src/styles/global.css > docs/styles/global.css",
|
||||||
"dev": "npm run build && eleventy --serve",
|
"dev": "npm run build && eleventy --serve",
|
||||||
"prod": "NODE_ENV=production npm run build && eleventy",
|
"prod": "NODE_ENV=production npm run build && eleventy",
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ title: The KDL Document Language
|
||||||
---
|
---
|
||||||
|
|
||||||
<header class="pt-20 pb-10 px-4">
|
<header class="pt-20 pb-10 px-4">
|
||||||
<img src="./static/logo.svg" class="mx-auto h-20">
|
<img src="./logo.svg" class="mx-auto h-20" alt="KDL Logo">
|
||||||
<h1 class="text-2xl text-center">The KDL Document Language</h1>
|
<h1 class="text-2xl text-center">The KDL Document Language</h1>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue