docs(readme): add sections to template docs
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							ee7b912a24
						
					
				
				
					commit
					e4fd80c627
				
			@ -645,6 +645,8 @@ templates/users/index.tmpl
 | 
				
			|||||||
{{ end }}
 | 
					{{ end }}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#### Custom Template renderer
 | 
				
			||||||
 | 
					
 | 
				
			||||||
You can also use your own html template render
 | 
					You can also use your own html template render
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```go
 | 
					```go
 | 
				
			||||||
@ -658,6 +660,8 @@ func main() {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					#### Custom Delimiters
 | 
				
			||||||
 | 
					
 | 
				
			||||||
You may use custom delims
 | 
					You may use custom delims
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```go
 | 
					```go
 | 
				
			||||||
@ -666,7 +670,7 @@ You may use custom delims
 | 
				
			|||||||
	r.LoadHTMLGlob("/path/to/templates"))
 | 
						r.LoadHTMLGlob("/path/to/templates"))
 | 
				
			||||||
```  
 | 
					```  
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#### Add custom template funcs
 | 
					#### Custom Template Funcs
 | 
				
			||||||
 | 
					
 | 
				
			||||||
main.go
 | 
					main.go
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user