Improve www-template
This commit is contained in:
		
							parent
							
								
									9aa1695d53
								
							
						
					
					
						commit
						06c788d997
					
				
							
								
								
									
										7
									
								
								examples/www-template/error.step
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								examples/www-template/error.step
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,7 @@
 | 
			
		||||
---
 | 
			
		||||
Title: Error
 | 
			
		||||
Extends: theme.step
 | 
			
		||||
---
 | 
			
		||||
{{.Data.Status}}: {{statusText .Data.Status}}
 | 
			
		||||
 | 
			
		||||
{{.Data.Message}}
 | 
			
		||||
@ -5,6 +5,9 @@ Extends: theme.step
 | 
			
		||||
 | 
			
		||||

 | 
			
		||||
 | 
			
		||||
If you can see this, it means that `stepd` is working!
 | 
			
		||||
This page should be located at `/srv/www-step`. You can place your site in that
 | 
			
		||||
directory, and configure it using the step.meta file.
 | 
			
		||||
If you can see this, it means that `stepd` is working! This page should be
 | 
			
		||||
located at `/srv/www-step`. You can place your site in that directory, and
 | 
			
		||||
configure it using the step.meta file.
 | 
			
		||||
 | 
			
		||||
You can find more about how to use STEP [here](http://holanet.xyz/soft/step).
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								examples/www-template/step.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								examples/www-template/step.meta
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
			
		||||
http.error-document: error.step
 | 
			
		||||
@ -13,6 +13,14 @@
 | 
			
		||||
			max-width: 40em;
 | 
			
		||||
			margin: auto;
 | 
			
		||||
		}
 | 
			
		||||
		a {
 | 
			
		||||
			color: #3d808f;
 | 
			
		||||
		}
 | 
			
		||||
		code {
 | 
			
		||||
			outline: 1px solid #FFF4;
 | 
			
		||||
			background-color: #FFF2;
 | 
			
		||||
			border-radius: 2px;
 | 
			
		||||
		}
 | 
			
		||||
	</style>
 | 
			
		||||
</head>
 | 
			
		||||
<body>
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user