69
examples/www-template/icon.svg
Normal file
69
examples/www-template/icon.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 84 KiB |
10
examples/www-template/index.step
Normal file
10
examples/www-template/index.step
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
Title: Test Page
|
||||
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.
|
||||
26
examples/www-template/theme.step
Normal file
26
examples/www-template/theme.step
Normal 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>
|
||||
Reference in New Issue
Block a user