From 22204e7e15d51f186203f62a0977ce159ac93362 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20=C2=BBmo=2E=C2=AB=20Sauer?= Date: Mon, 23 Feb 2015 13:06:38 +0100 Subject: [PATCH] Now with redirect layout --- _data/language.yml | 2 ++ _data/socialmedia.yml | 2 +- _layouts/redirect.html | 24 ++++++++++++++++++++++++ pages/redirected_page.md | 8 ++++++++ pages/roadmap.md | 4 +++- 5 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 _layouts/redirect.html create mode 100644 pages/redirected_page.md diff --git a/_data/language.yml b/_data/language.yml index d0932b0..bc1e06b 100644 --- a/_data/language.yml +++ b/_data/language.yml @@ -13,3 +13,5 @@ previous: "Previous" previous_posts: "Previous Posts" read: "Read" read_more: "Read More ›" +if_you_are_not_redirected_automatically: "If you are not redirected automatically," +click_here: "click here" \ No newline at end of file diff --git a/_data/socialmedia.yml b/_data/socialmedia.yml index 053571e..a26e8cb 100644 --- a/_data/socialmedia.yml +++ b/_data/socialmedia.yml @@ -28,7 +28,7 @@ class: icon-instagram title: "Bilder und Impressionen mit und ohne Filter..." -- name: Pinterst +- name: Pinterest url: http://www.pinterest.com/phlowmedia/ class: icon-pinterest title: "Bilder, Fotos, Illustrationen, Grafiken sammeln..." diff --git a/_layouts/redirect.html b/_layouts/redirect.html new file mode 100644 index 0000000..d8fa421 --- /dev/null +++ b/_layouts/redirect.html @@ -0,0 +1,24 @@ +--- +# This layout is used to redirect pages, if you moved them. +# Use the following settings in front matter: +# +# layout: redirected +# sitemap: false +# permalink: /old-location/ +# redirect_to: /new-location/ +# +# Idea and Code by: http://codingtips.kanishkkunal.in/about/ +--- + + + + + + + + +

Redirecting...

+ {{ site.language.if_you_are_not_redirected_automatically }} {{ site.language.click_here }}. + + + \ No newline at end of file diff --git a/pages/redirected_page.md b/pages/redirected_page.md new file mode 100644 index 0000000..48b9800 --- /dev/null +++ b/pages/redirected_page.md @@ -0,0 +1,8 @@ +--- +title: "A website that doesn't exit" +layout: redirected +sitemap: false +permalink: /redirect-page/ +redirect_to: "http://phlow.github.io/feeling-responsive/info/" +--- +This is just a page to demonstrate the `redirect`-layout, programmend by [Kanishk](http://codingtips.kanishkkunal.in/about/). \ No newline at end of file diff --git a/pages/roadmap.md b/pages/roadmap.md index 3216bf9..55ab8c4 100644 --- a/pages/roadmap.md +++ b/pages/roadmap.md @@ -11,6 +11,7 @@ permalink: "/roadmap/" ## Ideas and possible new features * Additional [header]({{ site.url }}/headers/) with text +github-pages/#comment-1870475246) * Produce an introduction video to showcase *Feeling Responsive* * Better responsive typography * Google AdSense ads @@ -21,7 +22,8 @@ permalink: "/roadmap/" ## Done -* Convert Foundation Sass to use native Jekyll Sass support +* [Add redirection layout by KanishkKanishk](http://codingtips.kanishkkunal.in/redirects-jekyll-github-pages/) +* * Convert Foundation Sass to use native Jekyll Sass support * Optimize HTML and use Schema.org-Attributes › http://schema.org/Article * Disqus comments * Rework `list-entries.html` › now language ready