Now with redirect layout
This commit is contained in:
parent
38f7c1ae4c
commit
22204e7e15
5 changed files with 38 additions and 2 deletions
|
@ -13,3 +13,5 @@ previous: "Previous"
|
||||||
previous_posts: "Previous Posts"
|
previous_posts: "Previous Posts"
|
||||||
read: "Read"
|
read: "Read"
|
||||||
read_more: "Read More ›"
|
read_more: "Read More ›"
|
||||||
|
if_you_are_not_redirected_automatically: "If you are not redirected automatically,"
|
||||||
|
click_here: "click here"
|
|
@ -28,7 +28,7 @@
|
||||||
class: icon-instagram
|
class: icon-instagram
|
||||||
title: "Bilder und Impressionen mit und ohne Filter..."
|
title: "Bilder und Impressionen mit und ohne Filter..."
|
||||||
|
|
||||||
- name: Pinterst
|
- name: Pinterest
|
||||||
url: http://www.pinterest.com/phlowmedia/
|
url: http://www.pinterest.com/phlowmedia/
|
||||||
class: icon-pinterest
|
class: icon-pinterest
|
||||||
title: "Bilder, Fotos, Illustrationen, Grafiken sammeln..."
|
title: "Bilder, Fotos, Illustrationen, Grafiken sammeln..."
|
||||||
|
|
24
_layouts/redirect.html
Normal file
24
_layouts/redirect.html
Normal file
|
@ -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/
|
||||||
|
---
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<link rel="canonical" href="{{ page.redirect_to }}"/>
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
|
||||||
|
<meta http-equiv="refresh" content="0;url={{ page.redirect_to }}" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Redirecting...</h1>
|
||||||
|
{{ site.language.if_you_are_not_redirected_automatically }} <a href="{{ page.redirect_to }}">{{ site.language.click_here }}<a>.
|
||||||
|
<script>location='{{ page.redirect_to }}'</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
8
pages/redirected_page.md
Normal file
8
pages/redirected_page.md
Normal file
|
@ -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/).
|
|
@ -11,6 +11,7 @@ permalink: "/roadmap/"
|
||||||
## Ideas and possible new features
|
## Ideas and possible new features
|
||||||
|
|
||||||
* Additional [header]({{ site.url }}/headers/) with text
|
* Additional [header]({{ site.url }}/headers/) with text
|
||||||
|
github-pages/#comment-1870475246)
|
||||||
* Produce an introduction video to showcase *Feeling Responsive*
|
* Produce an introduction video to showcase *Feeling Responsive*
|
||||||
* Better responsive typography
|
* Better responsive typography
|
||||||
* Google AdSense ads
|
* Google AdSense ads
|
||||||
|
@ -21,7 +22,8 @@ permalink: "/roadmap/"
|
||||||
|
|
||||||
## Done
|
## Done
|
||||||
|
|
||||||
* <s>Convert Foundation Sass to use native Jekyll Sass support</s>
|
* [<s>Add redirection layout by KanishkKanishk](http://codingtips.kanishkkunal.in/redirects-jekyll-github-pages/)
|
||||||
|
* * <s>Convert Foundation Sass to use native Jekyll Sass support</s>
|
||||||
* <s>Optimize HTML and use Schema.org-Attributes › http://schema.org/Article</s>
|
* <s>Optimize HTML and use Schema.org-Attributes › http://schema.org/Article</s>
|
||||||
* <s>Disqus comments</s>
|
* <s>Disqus comments</s>
|
||||||
* <s>Rework `list-entries.html` › now language ready</s>
|
* <s>Rework `list-entries.html` › now language ready</s>
|
||||||
|
|
Reference in a new issue