Server MD with Rust
This commit is contained in:
commit
3899ecce2f
14 changed files with 2823 additions and 0 deletions
26
sample/layout/minimal.hbs
Normal file
26
sample/layout/minimal.hbs
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{title}}</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
pre {
|
||||
background: #f0f0f0;
|
||||
padding: 10px;
|
||||
overflow-x: auto;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<h1>{{title}}</h1>
|
||||
<div>{{{content}}}</div>
|
||||
<footer>
|
||||
<small>Template: minimal | Path: {{path}}</small>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue