render results as HTML

This commit is contained in:
2018-09-06 17:08:26 +01:00
parent 6d9103c154
commit 84ab27a75e
2 changed files with 38 additions and 2 deletions

14
templates/sitemap.html.j2 Normal file
View File

@@ -0,0 +1,14 @@
<html>
<head>
<title>Sitemap for {{ base_url }}</title>
</head>
<body>
<p>
Crawled {{ urlcount }} URLs on {{ base_url }}
<ul>
{% for url in urls %}
<li><a href="{{ url }}">{{ url }}</a></li>
{% endfor %}
</ul>
</body>
</html>