mirror of
				https://github.com/ItsDrike/itsdrike.com.git
				synced 2025-11-04 04:06:36 +00:00 
			
		
		
		
	Add some basic layout HTML
This commit is contained in:
		
							parent
							
								
									c45258acec
								
							
						
					
					
						commit
						16103599b3
					
				
					 2 changed files with 27 additions and 0 deletions
				
			
		
							
								
								
									
										15
									
								
								layouts/_default/list.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								layouts/_default/list.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,15 @@
 | 
				
			||||||
 | 
					<html lang="en">
 | 
				
			||||||
 | 
					<head>
 | 
				
			||||||
 | 
					    <meta charset="UTF-8">
 | 
				
			||||||
 | 
					    <title>{{.Title}}</title>
 | 
				
			||||||
 | 
					</head>
 | 
				
			||||||
 | 
					<body>
 | 
				
			||||||
 | 
					    <h1>{{.Title}}</h1>
 | 
				
			||||||
 | 
					    {{.Content}}
 | 
				
			||||||
 | 
					    {{ range .Pages }}
 | 
				
			||||||
 | 
					        <ul>
 | 
				
			||||||
 | 
					            <li><a href="{{.Permalink}}">{{.Title}}</a></li>
 | 
				
			||||||
 | 
					        </ul>
 | 
				
			||||||
 | 
					    {{end}}
 | 
				
			||||||
 | 
					</body>
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
							
								
								
									
										12
									
								
								layouts/_default/single.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								layouts/_default/single.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
					@ -0,0 +1,12 @@
 | 
				
			||||||
 | 
					<html lang="en">
 | 
				
			||||||
 | 
					<head>
 | 
				
			||||||
 | 
					    <meta charset="UTF-8">
 | 
				
			||||||
 | 
					    <title>{{.Title}}</title>
 | 
				
			||||||
 | 
					</head>
 | 
				
			||||||
 | 
					<body>
 | 
				
			||||||
 | 
					    <h1>{{.Title}}</h1>
 | 
				
			||||||
 | 
					    <h4>{{.Date}}</h4>
 | 
				
			||||||
 | 
					    <br>
 | 
				
			||||||
 | 
					    {{.Content}}
 | 
				
			||||||
 | 
					</body>
 | 
				
			||||||
 | 
					</html>
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue