mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-05-14 05:52:54 +00:00
feat: parse accepted answer and add tag
This commit is contained in:
parent
f1d22a713f
commit
010bd290af
3 changed files with 25 additions and 2 deletions
|
@ -3,6 +3,10 @@
|
|||
<head>
|
||||
<title>{{ .title }}</title>
|
||||
<link rel="stylesheet" href="/static/question.css" />
|
||||
<meta
|
||||
http-equiv="Content-Security-Policy"
|
||||
content="default-src 'self'; style-src 'self'; script-src 'none'; img-src https:;"
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<div class="parent">
|
||||
|
@ -19,8 +23,8 @@
|
|||
<hr />
|
||||
<h2>Answers</h2>
|
||||
{{ range $answer := .answers }}
|
||||
<div class="answer">{{ $answer }}</div>
|
||||
<hr class="answer-divider" />
|
||||
<div class="answer">{{ $answer }}</div>
|
||||
<hr class="answer-divider" />
|
||||
{{ end }}
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue