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