1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
v/tutorials/Building a simple web blog with vweb/code/blog/index.html

17 lines
239 B
HTML
Raw Normal View History

2019-12-14 05:31:09 +03:00
<html>
<header>
<title>V Blog</title>
</header>
<body>
user id = @app.user_id <br>
2019-12-14 05:31:09 +03:00
@for article in articles
<div>
<b>@article.title</b> <br>
@article.text
</div>
2020-07-04 19:56:18 +03:00
<br>
2019-12-14 05:31:09 +03:00
@end
2019-12-15 00:55:05 +03:00
<a href='/new'>New article</a>
2019-12-14 05:31:09 +03:00
</body>
</html>