Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Handle old urls.

Renamed CNAME to _CNAME for now.
  • Loading branch information...
commit f6201b66be8d1255e6a18455b1e57a4ccb0ef0e0 1 parent b5e0350
@carlrafting authored
View
0  CNAME → _CNAME
File renamed without changes
View
6 _layouts/default.html
@@ -8,10 +8,14 @@
<title>{{ page.title }} &mdash; Carl Räfting</title>
{% endif %}
<meta name="viewport" content="width=device-width">
+{% if page.redirect %}
+<meta http-equiv="refresh" content="0; url={{ page.redirect }}">
+<link rel="canonical" href="{{ page.redirect }}">
+{% endif %}
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700" media="all">
<!-- You can find unminified version here: http://carlrafting.com/css/global.css -->
<link rel="stylesheet" href="/css/global.min.css" media="all">
-<link rel="alternate" type="application/atom+xml" href="/feed.xml" title="RSS-Feed — Carl Räfting">
+<link rel="alternate" type="application/atom+xml" href="http://feeds.feedburner.com/carlrafting" title="RSS-Feed — Carl Räfting">
<link rel="shortcut icon" href="/favicon.ico">
<script src="/mint/?js"></script>
<script src="//use.typekit.net/ifu1lpm.js"></script>
View
2  _plugins/sitemap_generator.rb
@@ -46,7 +46,7 @@ module Jekyll
SITEMAP_FILE_NAME = "sitemap.xml"
# Any files to exclude from being included in the sitemap.xml
- EXCLUDED_FILES = ["atom.xml", "feed.xml", "404.html"]
+ EXCLUDED_FILES = ["atom.xml", "feed.xml", "404.html", "logg.html", "feed.html"]
# Any files that include posts, so that when a new post is added, the last
# modified date of these pages should take that into account
View
7 feed.html
@@ -0,0 +1,7 @@
+---
+layout: default
+redirect: /feed/feed.xml
+permalink: /feed/index.html
+---
+
+<h1>Redirecting you to feed...</h1>
View
5 feed.xml
@@ -1,11 +1,12 @@
---
layout: nil
+permalink: /feed/feed.xml
---
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Carl Räfting</title>
- <link href="http://carlrafting.com/feed.xml" rel="self"/>
+ <link href="http://carlrafting.com/feed/feed.xml" rel="self"/>
<link href="http://carlrafting.com/"/>
<updated>{{ site.time | date_to_xmlschema }}</updated>
<id>http://carlrafting.com/</id>
@@ -24,4 +25,4 @@ layout: nil
</entry>
{% endfor %}
-</feed>
+</feed>
View
7 logg.html
@@ -0,0 +1,7 @@
+---
+layout: default
+redirect: /
+permalink: /logg/
+---
+
+<h1>Redirecting you to home page...</h1>
View
7 rss.html
@@ -0,0 +1,7 @@
+---
+layout: default
+redirect: /feed/feed.xml
+permalink: /rss/
+---
+
+<h1>Redirecting you to /feed/feed.xml...</h1>
Please sign in to comment.
Something went wrong with that request. Please try again.