diff options
Diffstat (limited to 'templates/template.html')
-rw-r--r-- | templates/template.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/templates/template.html b/templates/template.html new file mode 100644 index 0000000..638562a --- /dev/null +++ b/templates/template.html @@ -0,0 +1,37 @@ +<!doctype html> +<html lang="en"> + +<head> + <title>{page_title}</title> + <meta charset="UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + <meta http-equiv="x-ua-compatible" content="ie=edge"> + <meta name="author" content="My Name"> + <meta name="description" content="{page_description}"> + <link rel="canonical" href="{canoncial_url}"> + <link rel="icon" href="/favicon.ico"> + <link rel="stylesheet" href="/static/styles.css"> +</head> + +<body> +<main id="main"> + <nav class="links"> + <span><a href="/">Top</a> · </span> + <span><a href="/best/">Best</a> ·</span> + <span><a href="/new/">New</a> ·</span> + <span><a href="/ask/">Ask</a> ·</span> + <span><a href="/show/">Show</a> ·</span> + <span><a href="/job/">Job</a></span> + </nav> + {content} +</main> + +<footer> + <h2>Contact</h2> + <p><a href="https://sr.ht/~cmc/hn/"></a></p> + <p>Copyright © 2023 - {current_year}</p> +</footer> + +</body> + +</html> |