| 
						
						
						
					 | 
					 | 
					@ -1,4 +1,3 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					//go:generate go-bindata -pkg caddyhugo simplemde/dist/... simplemde/debug/...
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					package caddyhugo | 
					 | 
					 | 
					 | 
					package caddyhugo | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					import ( | 
					 | 
					 | 
					 | 
					import ( | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -18,6 +17,7 @@ import ( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						"time" | 
					 | 
					 | 
					 | 
						"time" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						"git.stephensearles.com/stephen/acedoc" | 
					 | 
					 | 
					 | 
						"git.stephensearles.com/stephen/acedoc" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
						"git.stephensearles.com/stephen/caddy-hugo2/assets" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						"github.com/gorilla/websocket" | 
					 | 
					 | 
					 | 
						"github.com/gorilla/websocket" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						"github.com/mholt/caddy" | 
					 | 
					 | 
					 | 
						"github.com/mholt/caddy" | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -146,11 +146,11 @@ func (ch *CaddyHugo) ServeHTTPWithNext(next httpserver.Handler, c *caddy.Control | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							return http.StatusFound, nil | 
					 | 
					 | 
					 | 
							return http.StatusFound, nil | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						} | 
					 | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						if strings.HasPrefix(r.URL.Path, "/hugo/simplemde.css") { | 
					 | 
					 | 
					 | 
						if strings.HasPrefix(r.URL.Path, "/hugo/simplemde.css") { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							w.Write(MustAsset("simplemde/dist/simplemde.min.css")) | 
					 | 
					 | 
					 | 
							w.Write(assets.MustAsset("simplemde/dist/simplemde.min.css")) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							return http.StatusOK, nil | 
					 | 
					 | 
					 | 
							return http.StatusOK, nil | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						} | 
					 | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						if strings.HasPrefix(r.URL.Path, "/hugo/simplemde.js") { | 
					 | 
					 | 
					 | 
						if strings.HasPrefix(r.URL.Path, "/hugo/simplemde.js") { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							w.Write(MustAsset("simplemde/debug/simplemde.js")) | 
					 | 
					 | 
					 | 
							w.Write(assets.MustAsset("simplemde/debug/simplemde.js")) | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
							return http.StatusOK, nil | 
					 | 
					 | 
					 | 
							return http.StatusOK, nil | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						} | 
					 | 
					 | 
					 | 
						} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
						if strings.HasPrefix(r.URL.Path, "/hugo/admin") { | 
					 | 
					 | 
					 | 
						if strings.HasPrefix(r.URL.Path, "/hugo/admin") { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |