forked from elementary/appcenter-web
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
26 lines (22 loc) · 820 Bytes
/
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
---
layout: default
permalink: /404.html
---
{% assign apps = site.apps | sort_natural: 'title' %}
<div class="home main constrain">
<h1>{{ site.title }}</h1>
<h2>Not Found</h2>
<p>The app or page you’re looking for isn’t here. You can try browsing for it among the {{apps | size}} apps on the homepage, or if you’re on Endless OS, try searching in App Center.</p>
<div class="action">
<a id="open-appcenter" class="button" href="appstream://">Search App Center</a>
<a class="button suggested" href="{{ site.baseurl }}/">Visit Homepage</a>
</div>
</div>
<footer>
<div class="constrain">
<a class="button go-home" href="{{ site.baseurl }}/">All Apps</a>
</div>
</footer>
<script>
document.getElementById("open-appcenter").href += window.location.pathname.replace("/", "");
</script>