remove example web
parent
de1454129a
commit
f02ca3a540
|
@ -1,9 +0,0 @@
|
|||
<!DOCTYPE html><html><head>
|
||||
<title>Test Web</title>
|
||||
</head>
|
||||
<body>
|
||||
<div>
|
||||
<h1>Page Not Found 404</h1>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,53 +0,0 @@
|
|||
body {
|
||||
font-size: 10pt;
|
||||
font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
|
||||
color: red;
|
||||
background-color: blue;
|
||||
line-height: 14pt;
|
||||
/* display: block; */
|
||||
display: flex;
|
||||
}
|
||||
|
||||
main {
|
||||
margin: 100px;
|
||||
font-size: 2em;
|
||||
flex-direction: column
|
||||
}
|
||||
|
||||
|
||||
h1 {
|
||||
font: 30pt Verdana, Geneva, Arial, Helvetica, sans-serif;
|
||||
font-weight: bold;
|
||||
line-height: 20pt;
|
||||
}
|
||||
|
||||
p {
|
||||
color: white;
|
||||
margin-bottom: 1em;
|
||||
line-height: 1.2em;
|
||||
}
|
||||
|
||||
code {
|
||||
padding: .3em;
|
||||
background-color: yellow;
|
||||
color: blue;
|
||||
}
|
||||
|
||||
pre#_markdown {
|
||||
background-color: black;
|
||||
color: white;
|
||||
}
|
||||
|
||||
a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
|
||||
a:link, a:visited {
|
||||
color: #8094d6;
|
||||
}
|
||||
|
||||
|
||||
a:hover, a:active {
|
||||
color: #FF9933;
|
||||
}
|
|
@ -1,9 +0,0 @@
|
|||
# Example Rendered Markdown
|
||||
|
||||
This is an example markdown file rendered via a template by Caddy2
|
||||
|
||||
`some code`
|
||||
|
||||
```
|
||||
Fenced Code Block
|
||||
```
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
title: Index File
|
||||
---
|
||||
# Default Index File
|
||||
[See Example Markdown File](./example.md)
|
|
@ -1,15 +0,0 @@
|
|||
{{$markdownFilePath := printf .OriginalReq.URL.Path}}
|
||||
{{$markdownFile := (include $markdownFilePath | splitFrontMatter)}}
|
||||
{{$meta := $markdownFile.Meta }}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>{{ $meta.title }}</title>
|
||||
<link rel="stylesheet" href="/css/default.css">
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
{{markdown $markdownFile.Body }}
|
||||
</main>
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in New Issue