forked from st4ple/solid-jekyll
-
Notifications
You must be signed in to change notification settings - Fork 1
/
memo.html
50 lines (41 loc) · 1.65 KB
/
memo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
---
title: Memo
permalink: /memo
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<meta property="og:title" content="Linux Day 2018 - Avellino"/>
<meta property="og:image" content="http://irlug.it/assets/img/logo-big.png"/>
<meta property="og:site_name" content="Linux Day"/>
<meta property="og:description" content="Memorizza l'evento sul tuo calendario" />
<noscript>
<meta http-equiv="refresh" content="0;URL='https://s3-eu-west-1.amazonaws.com/irlug-avellino/linuxday2018.ics'" />
</noscript>
<title>Linux Day 2018 - Memorizza l'evento sul tuo calendario</title>
</head>
<body>
Dai uno sguardo al
<a href="https://www.facebook.com/events/289010225158179/">nostro evento facebook</a>
o <a href="http://irlug.it">sito web</a>
<script>
var icsPath = 's3-eu-west-1.amazonaws.com/irlug-avellino/linuxday2018.ics';
var appVersion = navigator.appVersion;
var isiOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;
var finalUrl = '';
if (isiOS || appVersion.indexOf('Mac') != -1) {
finalUrl = 'webcal://' + icsPath;
} else {
finalUrl = 'http://' + icsPath;
}
window.location = finalUrl;
// if (appVersion.indexOf('Win')!=-1) OSName='Windows';
// if (appVersion.indexOf('Mac')!=-1) OSName='MacOS';
// if (appVersion.indexOf('X11')!=-1) OSName='UNIX';
// if (appVersion.indexOf('Linux')!=-1) OSName='Linux';
</script>
</body>
</html>