🔨 chore: Make build script remove dist directory as well for a clean build
This commit is contained in:
parent
7fb5ea7712
commit
755e93e4d8
2 changed files with 9 additions and 6 deletions
13
dist/index.html
vendored
13
dist/index.html
vendored
|
@ -26,7 +26,7 @@
|
||||||
</button>
|
</button>
|
||||||
<a href="/about/" class="Nav-link">about</a>
|
<a href="/about/" class="Nav-link">about</a>
|
||||||
<a href="/manifesto/" class="Nav-link">manifesto</a>
|
<a href="/manifesto/" class="Nav-link">manifesto</a>
|
||||||
<a href="/diary/" class="Nav-link Status--new">diary</a>
|
|
||||||
<a href="/links/" class="Nav-link">links</a>
|
<a href="/links/" class="Nav-link">links</a>
|
||||||
|
|
||||||
<hr>
|
<hr>
|
||||||
|
@ -78,10 +78,13 @@
|
||||||
|
|
||||||
<aside class="Site-info Info">
|
<aside class="Site-info Info">
|
||||||
<b>visitors:</b>
|
<b>visitors:</b>
|
||||||
<!-- Counter Code START -->
|
<div class="HitCounter">
|
||||||
<script src="http://hitcounters.net/counter.php?id=11368&cmd=cookie"></script>
|
<!-- Counter Code START -->
|
||||||
<img src="http://hitcounters.net/counter.php?id=11368&cmd=img_only" alt="hit counter" style="display: inline-block;">
|
<script src="http://hitcounters.net/counter.php?id=11368&cmd=cookie"></script>
|
||||||
<!-- Counter Code END -->
|
<img src="http://hitcounters.net/counter.php?id=11368&cmd=img_only" alt="hit counter"
|
||||||
|
style="display: inline-block;">
|
||||||
|
<!-- Counter Code END -->
|
||||||
|
</div>
|
||||||
|
|
||||||
</aside>
|
</aside>
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "npx @11ty/eleventy --serve",
|
"dev": "npx @11ty/eleventy --serve",
|
||||||
"build": "npx @11ty/eleventy"
|
"build": "rm -rf dist && npx @11ty/eleventy"
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
|
Loading…
Reference in a new issue