diff options
Diffstat (limited to 'templates/main_page.html')
-rw-r--r-- | templates/main_page.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/main_page.html b/templates/main_page.html new file mode 100644 index 0000000..ee04af9 --- /dev/null +++ b/templates/main_page.html @@ -0,0 +1,14 @@ +<html> +<head> + <meta name="viewport" content="width=device-width" /> +</head> +<body> + <h1>List of articles</h1> + <h2>Number of posts: {{ files|length }}</h2> + {% if files %} + {% for item in files %} + <a text-size=3.2vw href="static/html/{{ item }}">{{ item }}</a><br> + {% endfor %} + {% endif %} +</body> +</html> |