2022-12-27 22:31:07 -05:00
|
|
|
<!DOCTYPE html>
|
2022-12-28 11:49:14 -05:00
|
|
|
<html data-theme="{{ .theme }}">
|
2022-12-27 22:31:07 -05:00
|
|
|
<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" />
|
2022-12-28 18:51:14 -05:00
|
|
|
<link rel="stylesheet" href="/static/syntax.css" />
|
2022-12-27 23:39:34 -05:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
2022-12-27 23:00:54 -05:00
|
|
|
<meta
|
|
|
|
http-equiv="Content-Security-Policy"
|
2022-12-28 00:10:09 -05:00
|
|
|
content="default-src 'none'; style-src 'self'; script-src 'none'; img-src {{ .imagePolicy }};"
|
2022-12-27 23:00:54 -05:00
|
|
|
/>
|
2022-12-28 00:34:15 -05:00
|
|
|
<link rel="icon" href="/static/codecircles.png" />
|
2022-12-28 00:58:41 -05:00
|
|
|
<meta name="theme-color" content="#8CFFC1" />
|
|
|
|
<meta name="og:image" content="/static/codecircles.png" />
|
2022-12-28 01:01:27 -05:00
|
|
|
<meta name="description" content="{{ .shortenedBody }}..." />
|
2022-12-27 22:31:07 -05:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="parent">
|
2022-12-28 11:56:17 -05:00
|
|
|
<div class="header">
|
|
|
|
<a href="/" class="logo-link">
|
|
|
|
<img
|
|
|
|
class="logo"
|
|
|
|
src="/static/codecircles.png"
|
|
|
|
alt="4 circles with alternating colors between green and white"
|
|
|
|
/>
|
|
|
|
</a>
|
|
|
|
<div class="icon">
|
|
|
|
<a href="/options/theme?redirect_url={{ .currentUrl }}">
|
|
|
|
<img src="/static/icons/{{ if eq .theme "dark" }}sun{{
|
|
|
|
else }}moon{{ end }}.svg" alt="Toggle theme" />
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2022-12-27 22:31:07 -05:00
|
|
|
<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-28 11:33:26 -05:00
|
|
|
<a
|
|
|
|
href="https://stackoverflow.com{{ .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-28 22:55:30 -05:00
|
|
|
<hr class="post-divider" />
|
2022-12-27 22:46:31 -05:00
|
|
|
<h2>Answers</h2>
|
2022-12-27 22:50:38 -05:00
|
|
|
{{ range $answer := .answers }}
|
2022-12-28 11:33:26 -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>
|