2017-09-11 20:40:43 +02:00
|
|
|
{{define "Note"}}
|
2017-09-09 20:49:45 +02:00
|
|
|
<!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" />
|
2017-09-23 23:29:06 +02:00
|
|
|
<script src='/note.js'></script>
|
2017-09-09 20:49:45 +02:00
|
|
|
</head>
|
|
|
|
|
<body>
|
2017-09-18 23:59:01 +02:00
|
|
|
{{.Ads}}
|
2017-09-09 20:49:45 +02:00
|
|
|
<article>
|
|
|
|
|
{{.Content}}
|
|
|
|
|
</article>
|
|
|
|
|
<footer>
|
|
|
|
|
<a href="/">⌂ notehub</a> ·
|
2017-09-17 13:39:35 +02:00
|
|
|
{{if .ID}}
|
2017-09-26 22:50:11 +02:00
|
|
|
<a href="/{{.ID}}/stats">stats</a> ·
|
2017-09-11 22:59:06 +02:00
|
|
|
<a href="/{{.ID}}/edit">edit</a> ·
|
|
|
|
|
<a href="/{{.ID}}/export">export</a> ·
|
2017-09-23 23:29:06 +02:00
|
|
|
<a href="javascript:void(0)" onclick="report({{.ID}})">report abuse</a> ·
|
2017-09-17 13:39:35 +02:00
|
|
|
{{end}}
|
2017-09-09 20:49:45 +02:00
|
|
|
<a href="/TOS.md">terms of service</a>
|
|
|
|
|
</footer>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|
2017-09-11 20:40:43 +02:00
|
|
|
{{end}}
|