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.
|
|
|
|
{{define "Note"}}
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<title>NoteHub — {{.Title}}</title>
|
|
|
|
|
<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>
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
{{.Ads}}
|
|
|
|
|
<article>
|
|
|
|
|
{{.Content}}
|
|
|
|
|
</article>
|
|
|
|
|
<footer>
|
|
|
|
|
<a href="/">⌂ notehub</a> ·
|
|
|
|
|
{{if .ID}}
|
|
|
|
|
<a href="/{{.ID}}/stats">statistics</a> ·
|
|
|
|
|
<a href="/{{.ID}}/edit">edit</a> ·
|
|
|
|
|
<a href="/{{.ID}}/export">export</a> ·
|
|
|
|
|
<a href="javascript:void(0)" onclick="report({{.ID}})">report abuse</a> ·
|
|
|
|
|
{{end}}
|
|
|
|
|
<a href="/TOS.md">terms of service</a>
|
|
|
|
|
</footer>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
{{end}}
|