-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdetail.html
More file actions
33 lines (30 loc) · 689 Bytes
/
Copy pathdetail.html
File metadata and controls
33 lines (30 loc) · 689 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<head>
<title>
Nomad News | {{result.title}}
</title>
<link href="https://andybrewer.github.io/mvp/mvp.css" rel="stylesheet"></link>
</head>
<body>
<header>
<h1>{{result.title}}</h1>
<div>
{{result.points}} points | By {{result.author}} | <a href="{{result.url}}" target="_blank">{{result.url}}</a>
</div>
</header>
<main>
{% for comment in result.children %}
<div>
{% if comment.author == None%}
[deleted]
{% else %}
<strong>{{comment.author}}:</strong>
<p>{{comment.text | safe}}</p>
{% endif %}
</div>
<hr />
{% endfor %}
</main>
</body>
</html>