diff options
| author | Erg <uinarf@autistici.org> | 2024-11-28 16:40:51 +0100 | 
|---|---|---|
| committer | Erg <uinarf@autistici.org> | 2024-11-28 16:40:51 +0100 | 
| commit | bf8efbce7f202f1f7650f628955fb0e42d343a1f (patch) | |
| tree | d80a2556b24efdd4a9e0d8e6f5f6a11bcb3b5afd /templates/main_page.html | |
| download | fastapi_blog-master.tar.gz fastapi_blog-master.tar.bz2 fastapi_blog-master.zip | |
Initial commit. Serving main page and static html files, extra 404 error, contains openrc service file and accompanying scriptHEADmaster
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> | 
