Mercurial > web
diff _layouts/default.html @ 78:5fdf5f346b92
*: use jekyll for templates, blogging, etc.
I changed the pages to now use templates, so adding new stuff should
be much much easier in the future
author | Paper <paper@paper.us.eu.org> |
---|---|
date | Mon, 20 May 2024 02:49:07 -0400 |
parents | |
children | 5914d06f72b4 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/_layouts/default.html Mon May 20 02:49:07 2024 -0400 @@ -0,0 +1,45 @@ +<!DOCTYPE html> +<html lang="en-US"> +<head> + <title>{{ page.title }} - Paper's website</title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <link href="/css/style.css" rel="stylesheet" media="screen"> + <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?"> + <style> + body { + {% if page.bgrepeat %} + background-repeat: {{ page.bgrepeat }}; + {% else %} + background-repeat: repeat; + {% endif %} + {% if page.bgimage %} + {% unless page.bgimage == "none" %} + background-image: url("{{ page.bgimage }}"); + {% endunless %} + {% else %} + background-image: url("/media/KnitLight.png"); + {% endif %} + background-position: center top; + {% if page.bgcolor %} + {% unless page.bgcolor == "none" %} + background-color: {{ page.bgcolor }}; + {% endunless %} + {% else %} + background-color: #737373; + {% endif %} + {% if page.bgsize %} + background-size: {{ page.bgsize }}; + {% endif %} + min-height: 100vh; + } + </style> +</head> +<body> + {% include navigation.html %} + + <br> + + {{ content }} +</body> +</html> \ No newline at end of file