This commit is contained in:
		| @@ -24,7 +24,7 @@ | ||||
| 		@404 { | ||||
| 			expression {http.error.status_code} == 404 | ||||
| 		} | ||||
| 		rewrite @404 /404.html | ||||
| 		rewrite @404 /not-found.html | ||||
| 		file_server | ||||
| 	} | ||||
| } | ||||
|   | ||||
							
								
								
									
										1
									
								
								justfile
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								justfile
									
									
									
									
									
								
							| @@ -52,6 +52,7 @@ clean: | ||||
| # SSG | ||||
| ssg: | ||||
| 	- wget --no-convert-links -r -p -E -P dist --no-host-directories 127.0.0.1:{{port}} | ||||
| 	- wget --no-convert-links -p -E -P dist --no-host-directories 127.0.0.1:{{port}}/not-found | ||||
| 	find generated_images/ -name "*_og*" -exec cp --parents {} dist/ \; | ||||
|    | ||||
| # Preview server | ||||
|   | ||||
		Reference in New Issue
	
	Block a user