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,36 +1,32 @@
<!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" %}
<body>
{% include "nav.html" %} <div class="page-info">
<div class="page-title article-name">{{ article_title }}</div>
<body> <div class="page-detail article-summary">{{ article_summary }}</div>
<div class="page-info"> <div class="article-dates">
<div class="page-title article-name">{{ article_title }}</div> <div class="article-published">{{ article_published }}</div>
<div class="page-detail article-summary">{{ article_summary }}</div> <div class="article-last-updated">{{ article_last_updated }}</div>
<div class="article-dates"> </div>
<div class="article-published">{{ article_published }}</div> <div class="article-tags">
<div class="article-last-updated">{{ article_last_updated }}</div> <ul>
{% for tag in article_tags -%}
<li><a href="/tags/{{ tag }}.html">{{ tag }}</a></li>
{% endfor -%}
</ul>
</div>
</div> </div>
<div class="article-tags"> <article>
<ul> <hr />
{% for tag in article_tags -%} {{ article_content }}
<li><a href="/tags/{{ tag }}.html">{{ tag }}</a></li> </article>
{% endfor -%} </body>
</ul>
</div>
</div>
<article>
<hr />
{{ article_content }}
</article>
</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,24 +1,21 @@
<!DOCTYPE html> <!doctype html>
<html lang="en"> <html lang="en">
<head>
<title>Tags</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="/style/style.css" rel="stylesheet" />
<link href="/style/tags.css" rel="stylesheet" />
</head>
{% include "nav.html" %}
<head> <body>
<title>Tags</title> <div class="tags">
<meta charset="UTF-8" /> <ul>
<meta name="viewport" content="width=device-width, initial-scale=1" /> {% for tag in tags -%}
<link href="/style/style.css" rel="stylesheet" />
<link href="/style/tags.css" rel="stylesheet" />
</head>
{% include "nav.html" %}
<body>
<div class="tags">
<ul>
{% for tag in tags -%}
<li><a href="/tags/{{ tag }}.html">{{ tag }}</a></li> <li><a href="/tags/{{ tag }}.html">{{ tag }}</a></li>
{% endfor -%} {% endfor -%}
</ul> </ul>
</div> </div>
</body> </body>
</html> </html>