]> 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 16af8875e2bdeb6483afdb425dce74c6bc8b9913..55eff9c66ea66de4f26a99551469d5646f23a5f6 100644 (file)
@@ -3,11 +3,23 @@
 <html lang="en">
   <head>
     <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 }}">
-    <link rel="stylesheet" type="text/css" href="/css/application.css">
+
+    <meta name="theme-color" content="#db5945">
+
     <title>Unlimited &#127829; {{ page.title }}</title>
 
+    <link rel="manifest" href="/manifest.webmanifest">
+
+    <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\ U N L I M I T E D