A pastebin for markdown pages.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.1 KiB

{{define "Note"}}
8 years ago
<!DOCTYPE html>
<html>
<head>
5 years ago
<title>Notes &mdash; {{.Title}}</title>
8 years ago
<meta charset="UTF-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<link href="/style.css" rel="stylesheet" type="text/css" />
<script src='/note.js'></script>
8 years ago
</head>
<body>
{{if .Fraud}}
{{.Ads}}
<input type="hidden" id="encoded" value="{{.Encoded}}" />
<article></article>
<script>
document.getElementsByTagName("article")[0].innerHTML =
decodeURIComponent(escape(window.atob(document.getElementById("encoded").value)));
</script>
{{else}}
8 years ago
<article>
{{.Content}}
</article>
{{end}}
8 years ago
<footer>
<a href="/">&#8962; main page</a> &middot;
{{if .ID}}
<a href="/{{.ID}}/stats">stats</a> &middot;
8 years ago
<a href="/{{.ID}}/edit">edit</a> &middot;
<a href="/{{.ID}}/export">export</a> &middot;
{{end}}
8 years ago
</footer>
</body>
</html>
{{end}}