style: format some html templates

This commit is contained in:
Price Hiller 2023-08-27 21:40:16 -05:00
parent ee4699a1e4
commit 11f540a82e
Signed by: Price
SSH Key Fingerprint: SHA256:Y4S9ZzYphRn1W1kbJerJFO6GGsfu9O70VaBSxJO7dF8
3 changed files with 45 additions and 53 deletions

View File

@ -1,17 +1,14 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head>
<head>
<title>{{ article_title }}</title> <title>{{ article_title }}</title>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="/style/style.css" rel="stylesheet" /> <link href="/style/style.css" rel="stylesheet" />
<link href="/style/article.css" rel="stylesheet" /> <link href="/style/article.css" rel="stylesheet" />
</head> </head>
{% include "nav.html" %}
{% include "nav.html" %} <body>
<body>
<div class="page-info"> <div class="page-info">
<div class="page-title article-name">{{ article_title }}</div> <div class="page-title article-name">{{ article_title }}</div>
<div class="page-detail article-summary">{{ article_summary }}</div> <div class="page-detail article-summary">{{ article_summary }}</div>
@ -31,6 +28,5 @@
<hr /> <hr />
{{ article_content }} {{ article_content }}
</article> </article>
</body> </body>
</html> </html>

View File

@ -9,7 +9,6 @@
<link href="/style/article.css" rel="stylesheet" /> <link href="/style/article.css" rel="stylesheet" />
</head> </head>
{% include "nav.html" %} {% include "nav.html" %}
<body> <body>
<div class="page-info"> <div class="page-info">
<div class="page-title">{{ tag }}</div> <div class="page-title">{{ tag }}</div>

View File

@ -1,17 +1,15 @@
<!DOCTYPE html> <!doctype html>
<html lang="en"> <html lang="en">
<head>
<head>
<title>Tags</title> <title>Tags</title>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="/style/style.css" rel="stylesheet" /> <link href="/style/style.css" rel="stylesheet" />
<link href="/style/tags.css" rel="stylesheet" /> <link href="/style/tags.css" rel="stylesheet" />
</head> </head>
{% include "nav.html" %}
{% include "nav.html" %} <body>
<body>
<div class="tags"> <div class="tags">
<ul> <ul>
{% for tag in tags -%} {% for tag in tags -%}
@ -19,6 +17,5 @@
{% endfor -%} {% endfor -%}
</ul> </ul>
</div> </div>
</body> </body>
</html> </html>