]> git.r.bdr.sh - rbdr/r.bdr.sh/blobdiff - jekyll/_layouts/default.html
Add progressive webapp optimizations
[rbdr/r.bdr.sh] / jekyll / _layouts / default.html
index e4dd10c937b9385ef6a7068ccee2047c9f3f189f..55eff9c66ea66de4f26a99551469d5646f23a5f6 100644 (file)
@@ -1,56 +1,32 @@
 <!DOCTYPE HTML>
 
-<html>
+<html lang="en">
   <head>
-    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
-    <meta charset="utf-8" />
-    <meta name="author" content="Rubén Beltrán del Río" />
-    <meta name="description" content="{{ page.description }}" />
-    <link rel="stylesheet" type="text/css" href="/css/application.css" />
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <meta name="author" content="Rubén Beltrán del Río">
+    <meta name="description" content="{{ page.description }}">
+
+    <meta name="theme-color" content="#db5945">
+
     <title>Unlimited &#127829; {{ page.title }}</title>
-    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
-    <script src="https://cdn.firebase.com/js/client/1.0.21/firebase.js"></script>
 
-    <script src="/js/vendor/neon/neon.js"></script>
-    <script src="/js/vendor/neon/stdlib/node_support.js"></script>
-    <script src="/js/vendor/neon/stdlib/custom_event.js"></script>
-    <script src="/js/vendor/neon/stdlib/custom_event_support.js"></script>
-    <script src="/js/vendor/neon/stdlib/widget.js"></script>
+    <link rel="manifest" href="/manifest.webmanifest">
 
-    <script src="/js/vendor/recorderjs/recorder.js"></script>
-    <script src="/js/vendor/recorderjs/recorderWorker.js"></script>
+    <link rel="stylesheet" type="text/css" href="/css/application.css" media="none" onload="if (media!=='all') { media = 'all'; }">
+    <noscript>
+      <link rel="stylesheet" type="text/css" href="/css/application.css">
+    </noscript>
+
+    <script src="/js/offline_support.js" defer></script>
 
     <!--
         /\
-       / O\   The Unlimited Pizza Family's Own Libraries
-      /O o \    * Melty Cheese: *DESTROYED, NEED NEW*
-     |______|   * Pepperoni: Audio Recorder Widget
-                * Tasty Crust: *RESTROYED, NEED NEW*
-                * Tomato Sauce: Random Telnet Renderer
+       / O\ U N L I M I T E D
+      /O o \    P I Z Z A
+     |______|
     -->
-    <script src="js/unlimited_pizza.js"></script>
-    <script src="js/unlimited_pizza/melty_cheese.js"></script>
-    <script src="js/unlimited_pizza/pepperoni.js"></script>
-    <script type="text/javascript">
-
-      window.addEventListener('load', function () {
-        UnlimitedPizza.instance({
-          element : $('body')
-        }).activate();
-      });
-
-      var _gaq = _gaq || [];
-      _gaq.push(['_setAccount', 'UA-20018878-4']);
-      _gaq.push(['_trackPageview']);
-
-      (function() {
-        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
-        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
-        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
-      })();
-
-    </script>
-</head>
+  </head>
   <body>
     <h1>
       <a class="logo" href="/">Unlimited 🍕  Pizza</a>