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!
|
If you can see this, it means that `stepd` is working! This page should be
|
||||||
This page should be located at `/srv/www-step`. You can place your site in that
|
located at `/srv/www-step`. You can place your site in that directory, and
|
||||||
directory, and configure it using the step.meta file.
|
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;
|
max-width: 40em;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
}
|
}
|
||||||
|
a {
|
||||||
|
color: #3d808f;
|
||||||
|
}
|
||||||
|
code {
|
||||||
|
outline: 1px solid #FFF4;
|
||||||
|
background-color: #FFF2;
|
||||||
|
border-radius: 2px;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
Loading…
Reference in New Issue
Block a user