modify template structure

- add editorconfig & pug config
- add watch command
- update gitignore with local envs
main
bdeshi 2 years ago
parent 8bb9311b99
commit 824c7777a9
Signed by: bdeshi
GPG Key ID: 410D03DA9A3468E0

@ -0,0 +1,9 @@
root = true
[*]
tab_width = 4
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
end_of_line = lf

4
.gitignore vendored

@ -78,6 +78,7 @@ web_modules/
.env.test.local
.env.production.local
.env.local
.envrc
# parcel-bundler cache (https://parceljs.org/)
.cache
@ -129,5 +130,8 @@ dist
.yarn/install-state.gz
.pnp.*
# ignore local variables
/vars.*.pug
# ignore local research stash
_stash/

@ -0,0 +1,4 @@
{
"pretty": true,
"basedir": "./"
}

@ -1,5 +1,7 @@
include vars
doctype html
head
include includes/head
body
include includes/body
include includes/tail

@ -9,6 +9,7 @@
},
"scripts": {
"build": "parcel build index.pug",
"serve": "parcel watch index.pug"
"serve": "parcel serve index.pug",
"watch": "parcel watch index.pug"
}
}

@ -0,0 +1,3 @@
-
var variable = 'value'
include vars.local
Loading…
Cancel
Save