Routing, templating, and database handling
This commit is contained in:
		
							
								
								
									
										13
									
								
								templates/base.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								templates/base.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,13 @@
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
<head>
 | 
			
		||||
    <meta charset="UTF-8">
 | 
			
		||||
    <title>SiteName - {{ template "pageTitle" }}</title>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
{{ template "content" . }}
 | 
			
		||||
</body>
 | 
			
		||||
<footer>
 | 
			
		||||
    <p>SiteName - Powered by Go!</p>
 | 
			
		||||
</footer>
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user