search and 404 page
This commit is contained in:
parent
175fe7a3e2
commit
125bbb0c3d
3 changed files with 28 additions and 2 deletions
8
_includes/google_search.html
Normal file
8
_includes/google_search.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<script language="Javascript" type="text/javascript">
|
||||||
|
function google_search()
|
||||||
|
{
|
||||||
|
var query = document.getElementById("google-search").value;
|
||||||
|
window.open("http://google.com/search?q=" + query
|
||||||
|
+ "%20site:" + "{{ site.url }}");
|
||||||
|
}
|
||||||
|
</script>
|
18
pages/404.md
Normal file
18
pages/404.md
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "404"
|
||||||
|
subheadline: "Oops! There is noting here..."
|
||||||
|
description: "..., this is an error-page. Maybe the webpage moved or we deleted it. Or did you maybe mistype the URL?"
|
||||||
|
permalink: "/404.html"
|
||||||
|
---
|
||||||
|
## No problem!
|
||||||
|
|
||||||
|
Try...
|
||||||
|
...to start over on the [home page]({{ site.url }}).
|
||||||
|
...our **search**.
|
||||||
|
|
||||||
|
{% include google_search.html %}
|
||||||
|
|
||||||
|
<form onsubmit="google_search()" >
|
||||||
|
<input type="text" id="google-search">
|
||||||
|
</form>
|
|
@ -14,8 +14,6 @@ permalink: "/roadmap/"
|
||||||
* Convert Foundation Sass to use native Jekyll Sass support
|
* Convert Foundation Sass to use native Jekyll Sass support
|
||||||
* Create custom 404.html-webpage <https://help.github.com/articles/custom-404-pages/>
|
* Create custom 404.html-webpage <https://help.github.com/articles/custom-404-pages/>
|
||||||
* More post-formats for blogging like special post formats for links, audio, tweets,...
|
* More post-formats for blogging like special post formats for links, audio, tweets,...
|
||||||
* Patterns for header
|
|
||||||
* Alternative non-landscape header
|
|
||||||
* [Submit *Feeling Responsive* to jekyllthemes.org](http://jekyllthemes.org/)
|
* [Submit *Feeling Responsive* to jekyllthemes.org](http://jekyllthemes.org/)
|
||||||
* Produce some small tutorials to show features and how to customize *Feeling Responsive*
|
* Produce some small tutorials to show features and how to customize *Feeling Responsive*
|
||||||
* Optimize HTML and use Schema.org-Attributes › <http://schema.org/Article>
|
* Optimize HTML and use Schema.org-Attributes › <http://schema.org/Article>
|
||||||
|
@ -24,6 +22,8 @@ permalink: "/roadmap/"
|
||||||
|
|
||||||
## Done
|
## Done
|
||||||
|
|
||||||
|
* <s>Alternative non-landscape header</s>
|
||||||
|
* <s>Patterns for header</s>
|
||||||
* <s>Clean up color scheme and highlighting colors</s>
|
* <s>Clean up color scheme and highlighting colors</s>
|
||||||
* <s>Make theme translation ready</s>
|
* <s>Make theme translation ready</s>
|
||||||
* [<s>Add draft-templates for new pages/posts</s>](https://github.com/Phlow/feeling-responsive/tree/gh-pages/_drafts)
|
* [<s>Add draft-templates for new pages/posts</s>](https://github.com/Phlow/feeling-responsive/tree/gh-pages/_drafts)
|
||||||
|
|
Reference in a new issue