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>
<html lang="en">
<head>
<title>{{ article_title }}</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/article.css" rel="stylesheet" />
</head>
{% include "nav.html" %}
<body>
<div class="page-info">
<div class="page-title article-name">{{ article_title }}</div>
<div class="page-detail article-summary">{{ article_summary }}</div>
<div class="article-dates">
<div class="article-published">{{ article_published }}</div>
<div class="article-last-updated">{{ article_last_updated }}</div>
<head>
<title>{{ article_title }}</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/article.css" rel="stylesheet" />
</head>
{% include "nav.html" %}
<body>
<div class="page-info">
<div class="page-title article-name">{{ article_title }}</div>
<div class="page-detail article-summary">{{ article_summary }}</div>
<div class="article-dates">
<div class="article-published">{{ article_published }}</div>
<div class="article-last-updated">{{ article_last_updated }}</div>
</div>
<div class="article-tags">
<ul>
{% for tag in article_tags -%}
<li><a href="/tags/{{ tag }}.html">{{ tag }}</a></li>
{% endfor -%}
</ul>
</div>
</div>
<div class="article-tags">
<ul>
{% for tag in article_tags -%}
<li><a href="/tags/{{ tag }}.html">{{ tag }}</a></li>
{% endfor -%}
</ul>
</div>
</div>
<article>
<hr />
{{ article_content }}
</article>
</body>
<article>
<hr />
{{ article_content }}
</article>
</body>
</html>

View File

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

View File

@ -1,24 +1,21 @@
<!DOCTYPE html>
<!doctype html>
<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>
<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" %}
<body>
<div class="tags">
<ul>
{% for tag in tags -%}
<body>
<div class="tags">
<ul>
{% for tag in tags -%}
<li><a href="/tags/{{ tag }}.html">{{ tag }}</a></li>
{% endfor -%}
</ul>
</div>
</body>
{% endfor -%}
</ul>
</div>
</body>
</html>