add web module

This commit is contained in:
01joy
2016-01-07 21:28:55 +08:00
parent 87b9208c2c
commit 1421ff6f29
14 changed files with 897 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>{{doc.title}}</title>
</head>
<body>
<div id="basic" align="center">
<h1>{{doc.title}}</h1>
<p>{{doc.datetime}}</p>
<p><a href="{{doc.url}}" target="_blank">{{doc.url}}</a></p>
</div>
<hr/>
<div id="detail" align="center">
<table width="1000" border="0">
<tr>
<td style="width:1000px"><p>{{doc.body}}</p></td>
</tr>
</table>
</div>
<hr/>
<div align="center">
<table width="1000" border="0">
<tr>
<td style="width:1000px"><h2>推荐阅读</h2></td>
</tr>
{% for each in doc.extra %}
<tr>
<td style="width:1000px"><a href="/search/{{each.id}}/" target="_blank">{{each.title}}</a></td>
</tr>
{% endfor %}
</table>
</div>
</body>
</html>