modify template structure
- add editorconfig & pug config - add watch command - update gitignore with local envs
This commit is contained in:
		
							
								
								
									
										9
									
								
								.editorconfig
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.editorconfig
									
									
									
									
									
										Normal file
									
								
							| @ -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
									
									
								
							
							
						
						
									
										4
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @ -78,6 +78,7 @@ web_modules/ | |||||||
| .env.test.local | .env.test.local | ||||||
| .env.production.local | .env.production.local | ||||||
| .env.local | .env.local | ||||||
|  | .envrc | ||||||
|  |  | ||||||
| # parcel-bundler cache (https://parceljs.org/) | # parcel-bundler cache (https://parceljs.org/) | ||||||
| .cache | .cache | ||||||
| @ -129,5 +130,8 @@ dist | |||||||
| .yarn/install-state.gz | .yarn/install-state.gz | ||||||
| .pnp.* | .pnp.* | ||||||
|  |  | ||||||
|  | # ignore local variables | ||||||
|  | /vars.*.pug | ||||||
|  |  | ||||||
| # ignore local research stash | # ignore local research stash | ||||||
| _stash/ | _stash/ | ||||||
|  | |||||||
							
								
								
									
										0
									
								
								includes/body.pug
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								includes/body.pug
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								includes/head.pug
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								includes/head.pug
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										0
									
								
								includes/tail.pug
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								includes/tail.pug
									
									
									
									
									
										Normal file
									
								
							| @ -1,5 +1,7 @@ | |||||||
|  | include vars | ||||||
| doctype html | doctype html | ||||||
|  |  | ||||||
| head | head | ||||||
|  |   include includes/head | ||||||
| body | body | ||||||
|  |   include includes/body | ||||||
|  | include includes/tail | ||||||
|  | |||||||
| @ -9,6 +9,7 @@ | |||||||
|   }, |   }, | ||||||
|   "scripts": { |   "scripts": { | ||||||
|     "build": "parcel build index.pug", |     "build": "parcel build index.pug", | ||||||
|     "serve": "parcel watch index.pug" |     "serve": "parcel serve index.pug", | ||||||
|  |     "watch": "parcel watch index.pug" | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user