mirror of
https://github.com/httpjamesm/AnonymousOverflow.git
synced 2025-05-14 05:52:54 +00:00
feat: get timestamp and author details
This commit is contained in:
parent
60f0ec5ce9
commit
b7345d39a0
3 changed files with 69 additions and 7 deletions
|
@ -2,19 +2,22 @@
|
|||
<html>
|
||||
<head>
|
||||
<title>{{ .title }}</title>
|
||||
<link rel="stylesheet" href="/static/question.css">
|
||||
<link rel="stylesheet" href="/static/question.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="parent">
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<h1>{{ .title }}</h1>
|
||||
<p class="timestamp">
|
||||
Asked {{ .timestamp }} by
|
||||
<a href="{{ .authorURL }}">{{ .author }}</a>.
|
||||
</p>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
{{ .body }}
|
||||
</div>
|
||||
<div class="card-body">{{ .body }}</div>
|
||||
</div>
|
||||
<hr />
|
||||
<h2>Answers</h2>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue