-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
132 lines (108 loc) · 4.06 KB
/
404.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en-us">
<head>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "BlogPosting",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://tealinuxos.org/"
},
"articleSection" : "",
"name" : "404 Page not found",
"headline" : "404 Page not found",
"description" : "",
"inLanguage" : "en-US",
"author" : "",
"creator" : "",
"publisher": "",
"accountablePerson" : "",
"copyrightHolder" : "",
"copyrightYear" : "0001",
"datePublished": "0001-01-01 00:00:00 +0000 UTC",
"dateModified" : "0001-01-01 00:00:00 +0000 UTC",
"url" : "",
"wordCount" : "0",
"keywords" : [ "Blog" ]
}
</script>
<title>404 Page not found
</title>
<meta name="description" content="
">
<meta name="generator" content="Hugo 0.52" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/aos@next/dist/aos.css" />
<link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Roboto|Open+Sans|Lato">
<link rel="stylesheet" href="https://tealinuxos.org/css/bundle.min.37e45e96c5964e9d10e2bb0ffc32e0f9ca869d5a1252b49fa817231ec8906aea6ac0f5459d9fac55e44b357d26aa132da2fd90b8d4c4b327c48df89d3d2992a5.css">
</head>
<body>
<main id="main">
<div>
<h1 id="title"><a href="/">Go Home</a></h1>
</div>
</main>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.5.17/vue.min.js" integrity="sha256-FtWfRI+thWlNz2sB3SJbwKx5PgMyKIVgwHCTwa3biXc=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.18.0/axios.min.js" integrity="sha256-mpnrJ5DpEZZkwkE1ZgkEQQJW/46CSEh/STrZKOB/qoM=" crossorigin="anonymous"></script>
<script>
let vuesearch = new Vue({
el: '.search',
data: {
txt: '',
timeoutID: 0,
showresult: false,
result: {},
bdd: []
},
mounted: function() {
axios.get('https:\/\/tealinuxos.org\/search\/index.json')
.then(function (response) {
vuesearch.bdd = response.data.results;
})
.catch(function (error) {
console.log(error);
});
},
methods: {
close: function() {
setTimeout(function() {
vuesearch.showresult = false;
vuesearch.txt = '';
}, 300);
},
search: function() {
clearTimeout(this.timeoutID);
this.timeoutID = setTimeout(this.dosearch, 500);
},
dosearch: function() {
this.result = [];
let words = this.txt.split(' ');
let words2 = [];
words.forEach(function(element) {
if(element) {words2.push(element);}
});
let r;
let resultmp;
words2.forEach(function(e) {
r = vuesearch.bdd.filter(p => p.content.indexOf(e.toLowerCase()) !== -1);
if(vuesearch.result.length===0) {vuesearch.result = r.slice(); return;}
resultmp = [];
vuesearch.result.forEach(function(all1) {
r.forEach(function(all2) {
if(all1.url===all2.url) {resultmp.push(all1);}
});
});
vuesearch.result = resultmp.slice();
});
this.result = this.result.slice(0, 10);
this.showresult = (this.result.length>0);
}
}
});
</script>
</body>
<script src="https://unpkg.com/lunr/lunr.js"></script>
</html>