Add www examples

Closes #10
This commit is contained in:
2024-12-11 03:35:28 -05:00
parent b41540e091
commit 9aa1695d53
8 changed files with 147 additions and 0 deletions

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 84 KiB

View File

@@ -0,0 +1,10 @@
---
Title: Test Page
Extends: theme.step
---
![STEP logo](icon.svg)
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.

View File

@@ -0,0 +1,26 @@
<!DOCTYPE html>
<html>
<head>
<title>{{.Child.Title}}</title>
<style>
body {
background-color: #161815;
color: #e2c558;
font-family: monospace;
margin: 2em;
}
body > * {
max-width: 40em;
margin: auto;
}
</style>
</head>
<body>
<main>
<h1>{{.Child.Title}}</h1>
{{.Child.Body | markdownHTML}}
</main>
</body>
</html>