]> _ Git - fluidbook-html5.git/commitdiff
wip #5339 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 6 Jul 2022 10:00:08 +0000 (12:00 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 6 Jul 2022 10:00:08 +0000 (12:00 +0200)
_seohybrid.html [new file with mode: 0644]

diff --git a/_seohybrid.html b/_seohybrid.html
new file mode 100644 (file)
index 0000000..0ef1385
--- /dev/null
@@ -0,0 +1,29 @@
+<!DOCTYPE html>
+<html lang="$lang">
+<head>
+       <meta charset="UTF-8">
+       <title>$title</title>
+       <meta name="description" content="$description">
+       <meta property="og:title" content="$title"/>
+       <meta property="og:image" content="$imageurl"/>
+       <meta property="og:image:width" content="$imagewidth"/>
+       <meta property="og:image:height" content="$imageheight"/>
+       <meta name="twitter:title" content="$title">
+       <meta name="twitter:description" content="$description">
+       <meta name="twitter:image" content="$imageurl">
+       <meta name="twitter:site" content="@Fluidbook">
+       <meta name="twitter:card" content="summary_large_image">
+</head>
+<body>
+<script>
+       var redirect;
+       if (window.matchMedia('(min-device-width: 640px) and (min-device-height: 640px)').matches) {
+               redirect = 'd';
+       } else {
+               redirect = 'mf';
+       }
+    window.location = '../../'+redirect+'/index.html$page';
+</script>
+$content
+</body>
+</html>
\ No newline at end of file