redo site in jekyll
[martlubbers.net.git] / _layouts / default.html
diff --git a/_layouts/default.html b/_layouts/default.html
new file mode 100644 (file)
index 0000000..71db6fd
--- /dev/null
@@ -0,0 +1,41 @@
+<!DOCTYPE html>
+<html lang="en">
+       <head>
+               <title>{{ page.title }}</title>
+               <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+               <meta name="viewport" content="width=device-width, initial-scale=1" />
+       </head>
+       <body>
+               <header>
+                       <h1>
+                               {% if page.collection == "posts" %}
+                                       {{ page.date | date: '%Y-%m-%d' }}:
+                               {% endif %}
+                               {{ page.title }}
+                        </h1>
+
+                       {% if page.collection == "posts" %}
+                       <a href="/foerageer">Terug naar het blog</a>
+                       {% endif %}
+                       {% if page.name != "index.md" %}
+                       <a href="/">Back to home/terug naar home</a>
+                       {% endif %}
+               </header>
+
+               <section>
+               {{ content }}
+               </section>
+
+               <footer>
+                       <span style="font-size: 0.75em">
+                       Valid HTML 5 and optimized for screen readers.<br />
+                       Best viewed with a screen resolution at least &ge;640x480 or at
+                       least &ge;80x24 text mode in one of <a href="https://en.wikipedia.org/wiki/List_of_web_browsers">these browsers.</a><br />
+                       Powered by <a href="https://jekyllrb.com">Jekyll</a><br />
+                       {% unless page.collection == "posts" %}
+                       Last updated: {{ page.date |  date: '%Y-%m-%d' }}<br />
+                       {% endunless %}
+                       </span>
+               </footer>
+       </body>
+</html>