Skip to content

Commit 125bbb0

Browse files
author
Moritz »mo.« Sauer
committed
search and 404 page
1 parent 175fe7a commit 125bbb0

3 files changed

Lines changed: 28 additions & 2 deletions

File tree

_includes/google_search.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<script language="Javascript" type="text/javascript">
2+
function google_search()
3+
{
4+
var query = document.getElementById("google-search").value;
5+
window.open("http://google.com/search?q=" + query
6+
+ "%20site:" + "{{ site.url }}");
7+
}
8+
</script>

pages/404.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: page
3+
title: "404"
4+
subheadline: "Oops! There is noting here..."
5+
description: "..., this is an error-page. Maybe the webpage moved or we deleted it. Or did you maybe mistype the URL?"
6+
permalink: "/404.html"
7+
---
8+
## No problem!
9+
10+
Try...
11+
...to start over on the [home page]({{ site.url }}).
12+
...our **search**.
13+
14+
{% include google_search.html %}
15+
16+
<form onsubmit="google_search()" >
17+
<input type="text" id="google-search">
18+
</form>

pages/roadmap.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ permalink: "/roadmap/"
1414
* Convert Foundation Sass to use native Jekyll Sass support
1515
* Create custom 404.html-webpage <https://help.github.com/articles/custom-404-pages/>
1616
* More post-formats for blogging like special post formats for links, audio, tweets,...
17-
* Patterns for header
18-
* Alternative non-landscape header
1917
* [Submit *Feeling Responsive* to jekyllthemes.org](http://jekyllthemes.org/)
2018
* Produce some small tutorials to show features and how to customize *Feeling Responsive*
2119
* Optimize HTML and use Schema.org-Attributes › <http://schema.org/Article>
@@ -24,6 +22,8 @@ permalink: "/roadmap/"
2422

2523
## Done
2624

25+
* <s>Alternative non-landscape header</s>
26+
* <s>Patterns for header</s>
2727
* <s>Clean up color scheme and highlighting colors</s>
2828
* <s>Make theme translation ready</s>
2929
* [<s>Add draft-templates for new pages/posts</s>](https://github.com/Phlow/feeling-responsive/tree/gh-pages/_drafts)

0 commit comments

Comments
 (0)