Move HTML to pages/
This commit is contained in:
		
							parent
							
								
									23aaa0a438
								
							
						
					
					
						commit
						011b2eff0a
					
				@ -24,6 +24,6 @@ function cleanup() {
 | 
			
		||||
trap cleanup EXIT
 | 
			
		||||
 | 
			
		||||
sync
 | 
			
		||||
while inotifywait -r -e modify src/ template/; do
 | 
			
		||||
while inotifywait -r -e modify src/ pages/; do
 | 
			
		||||
  sync
 | 
			
		||||
done
 | 
			
		||||
 | 
			
		||||
@ -45,7 +45,7 @@ func init() {
 | 
			
		||||
	flag.Parse()
 | 
			
		||||
	e = echo.New()
 | 
			
		||||
	t = &Template{
 | 
			
		||||
		templates: template.Must(template.ParseGlob("template/**.html")),
 | 
			
		||||
		templates: template.Must(template.ParseGlob("pages/**.html")),
 | 
			
		||||
	}
 | 
			
		||||
	COMMIT_LONG_SHA = execCmd("git", "rev-parse", "HEAD")
 | 
			
		||||
	COMMIT_SHORT_SHA = execCmd("git", "rev-parse", "--short", "HEAD")
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user