2022-12-27 22:31:07 -05:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>{{ .title }}</title>
|
2022-12-27 22:46:31 -05:00
|
|
|
<link rel="stylesheet" href="/static/question.css" />
|
2022-12-27 23:39:34 -05:00
|
|
|
<link rel="stylesheet" href="/static/globals.css" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2022-12-27 23:00:54 -05:00
|
|
|
<meta
|
|
|
|
http-equiv="Content-Security-Policy"
|
|
|
|
content="default-src 'self'; style-src 'self'; script-src 'none'; img-src https:;"
|
|
|
|
/>
|
2022-12-27 22:31:07 -05:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="parent">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header">
|
|
|
|
<h1>{{ .title }}</h1>
|
2022-12-27 22:46:31 -05:00
|
|
|
<p class="timestamp">
|
|
|
|
Asked {{ .timestamp }} by
|
2022-12-27 23:23:19 -05:00
|
|
|
<a href="{{ .authorURL }}" target="_blank" rel="noopener noreferrer">{{ .author }}</a>.
|
2022-12-27 22:46:31 -05:00
|
|
|
</p>
|
2022-12-27 22:31:07 -05:00
|
|
|
</div>
|
2022-12-27 22:46:31 -05:00
|
|
|
<div class="card-body">{{ .body }}</div>
|
2022-12-27 22:31:07 -05:00
|
|
|
</div>
|
2022-12-27 22:46:31 -05:00
|
|
|
<hr />
|
|
|
|
<h2>Answers</h2>
|
2022-12-27 22:50:38 -05:00
|
|
|
{{ range $answer := .answers }}
|
2022-12-27 23:00:54 -05:00
|
|
|
<div class="answer">{{ $answer }}</div>
|
|
|
|
<hr class="answer-divider" />
|
2022-12-27 22:50:38 -05:00
|
|
|
{{ end }}
|
2022-12-27 22:31:07 -05:00
|
|
|
</div>
|
|
|
|
</body>
|
|
|
|
</html>
|