diff options
author | Dmitry Ilvokhin <d@ilvokhin.com> | 2022-12-25 19:31:44 +0000 |
---|---|---|
committer | Dmitry Ilvokhin <d@ilvokhin.com> | 2022-12-25 19:33:26 +0000 |
commit | e77fbf2e971aca484b8826f9530041fd162b16d9 (patch) | |
tree | 1708af1c85f823f9709d4290e873106ab0d77205 /templates/feed.html | |
parent | 53ef7f76f552b45a46208d6814c5ff39662ad013 (diff) | |
download | blog-e77fbf2e971aca484b8826f9530041fd162b16d9.tar.gz blog-e77fbf2e971aca484b8826f9530041fd162b16d9.tar.bz2 blog-e77fbf2e971aca484b8826f9530041fd162b16d9.zip |
Use style file from Bear blog by Herman Martinus
Diffstat (limited to 'templates/feed.html')
-rw-r--r-- | templates/feed.html | 52 |
1 files changed, 40 insertions, 12 deletions
diff --git a/templates/feed.html b/templates/feed.html index ee1411e..b8fc4bf 100644 --- a/templates/feed.html +++ b/templates/feed.html @@ -4,20 +4,48 @@ <head> <meta charset="UTF-8"> - <title>Blog</title> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="title" content="blog.ilvokhin.com"> + + <title>blog.ilvokhin.com</title> + <link rel="stylesheet" type="text/css" href="style.css"/> </head> -<body> - {% if posts %} - <ul> - {% for post in posts %} - <li> - <a href="{{ post.name }}">{{ post.metadata.title }}</a> - ({{ post.metadata.date }}) - </li> - {% endfor %} - </ul> - {% endif %} +<body class="feed"> +<header> +<a class="title" href="/"> + <h1>blog.ilvokhin.com</h1> +</a> +</header> + +<main> +<content> + +{% if posts %} + <ul class="posts"> + {% for post in posts %} + + <li> + <span> + <i> + <time datetime="{{ post.metadata.date }}" pubdate> + {{ post.metadata.date }} + </time> + </i> + </span> + <a href="{{ post.name }}"> + {{ post.metadata.title }} + {% if post.is_draft() %} + (Draft) + {% endif %} + </a> + </li> + {% endfor %} + </ul> +{% endif %} + +</content> +</main> </body> </html> |