annotate _layouts/default.html @ 93:92f1ea793bf2

layouts/default: put all this cruft as oneliners
author Paper <paper@paper.us.eu.org>
date Wed, 19 Jun 2024 05:00:17 -0400
parents 5914d06f72b4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
78
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
1 <!DOCTYPE html>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
2 <html lang="en-US">
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
3 <head>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
4 <title>{{ page.title }} - Paper's website</title>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
6 <meta name="viewport" content="width=device-width, initial-scale=1.0">
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
7 <link href="/css/style.css" rel="stylesheet" media="screen">
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
8 <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico?">
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
9 <style>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
10 body {
93
92f1ea793bf2 layouts/default: put all this cruft as oneliners
Paper <paper@paper.us.eu.org>
parents: 84
diff changeset
11 background-repeat: {% if page.bgrepeat %} {{ page.bgrepeat }} {% else %} repeat {% endif %};
92f1ea793bf2 layouts/default: put all this cruft as oneliners
Paper <paper@paper.us.eu.org>
parents: 84
diff changeset
12 background-image: {% if page.bgimage %} {% unless page.bgimage == "none" %} url("{{ page.bgimage }}") {% endunless %} {% else %} url("/media/KnitLight.png") {% endif %};
78
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
13 background-position: center top;
93
92f1ea793bf2 layouts/default: put all this cruft as oneliners
Paper <paper@paper.us.eu.org>
parents: 84
diff changeset
14 background-color: {% if page.bgcolor %} {% unless page.bgcolor == "none" %} {{ page.bgcolor }} {% endunless %} {% else %} #737373 {% endif %};
92f1ea793bf2 layouts/default: put all this cruft as oneliners
Paper <paper@paper.us.eu.org>
parents: 84
diff changeset
15 background-size: {% if page.bgsize %} {{ page.bgsize }} {% endif %};
78
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
16 min-height: 100vh;
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
17 }
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
18 </style>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
19 </head>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
20 <body>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
21 {% include navigation.html %}
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
22
84
5914d06f72b4 css: tweak styles to make things work on older browsers
Paper <paper@paper.us.eu.org>
parents: 78
diff changeset
23 <div class="catchall">
78
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
24
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
25 {{ content }}
84
5914d06f72b4 css: tweak styles to make things work on older browsers
Paper <paper@paper.us.eu.org>
parents: 78
diff changeset
26
5914d06f72b4 css: tweak styles to make things work on older browsers
Paper <paper@paper.us.eu.org>
parents: 78
diff changeset
27 </div>
78
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
28 </body>
5fdf5f346b92 *: use jekyll for templates, blogging, etc.
Paper <paper@paper.us.eu.org>
parents:
diff changeset
29 </html>