Mercurial > web
comparison _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 |
comparison
equal
deleted
inserted
replaced
77:d9242232f51d | 78:5fdf5f346b92 |
---|---|
1 <!DOCTYPE html> | |
2 <html lang="en-US"> | |
3 <head> | |
4 <title>{{ page.title }} - Paper's website</title> | |
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
6 <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
7 <link href="/css/style.css" rel="stylesheet" media="screen"> | |
8 <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?"> | |
9 <style> | |
10 body { | |
11 {% if page.bgrepeat %} | |
12 background-repeat: {{ page.bgrepeat }}; | |
13 {% else %} | |
14 background-repeat: repeat; | |
15 {% endif %} | |
16 {% if page.bgimage %} | |
17 {% unless page.bgimage == "none" %} | |
18 background-image: url("{{ page.bgimage }}"); | |
19 {% endunless %} | |
20 {% else %} | |
21 background-image: url("/media/KnitLight.png"); | |
22 {% endif %} | |
23 background-position: center top; | |
24 {% if page.bgcolor %} | |
25 {% unless page.bgcolor == "none" %} | |
26 background-color: {{ page.bgcolor }}; | |
27 {% endunless %} | |
28 {% else %} | |
29 background-color: #737373; | |
30 {% endif %} | |
31 {% if page.bgsize %} | |
32 background-size: {{ page.bgsize }}; | |
33 {% endif %} | |
34 min-height: 100vh; | |
35 } | |
36 </style> | |
37 </head> | |
38 <body> | |
39 {% include navigation.html %} | |
40 | |
41 <br> | |
42 | |
43 {{ content }} | |
44 </body> | |
45 </html> |