summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_layouts/redirect.html11
-rwxr-xr-x_posts/2009-06-11-forking.markdown9
-rw-r--r--_posts/2009-06-14-linux-git-installation.markdown9
-rw-r--r--_posts/2009-06-14-mac-git-installation.markdown9
-rw-r--r--_posts/2009-06-14-win-git-installation.markdown9
-rw-r--r--_posts/2009-06-15-linux-key-setup.markdown9
-rw-r--r--_posts/2009-06-15-mac-key-setup.markdown9
-rw-r--r--_posts/2009-06-15-msysgit-key-setup.markdown9
8 files changed, 25 insertions, 49 deletions
diff --git a/_layouts/redirect.html b/_layouts/redirect.html
new file mode 100644
index 0000000..7894f22
--- /dev/null
+++ b/_layouts/redirect.html
@@ -0,0 +1,11 @@
+---
+layout: default
+---
+<p>
+ This page has moved. If the redirect fails,
+ <a href="{{ page.redirect_to }}">click me</a>.
+</p>
+
+<script type="text/javascript">
+ window.location = '{{ page.redirect_to }}'
+</script>
diff --git a/_posts/2009-06-11-forking.markdown b/_posts/2009-06-11-forking.markdown
index bb06e35..aaf8b5b 100755
--- a/_posts/2009-06-11-forking.markdown
+++ b/_posts/2009-06-11-forking.markdown
@@ -1,11 +1,6 @@
---
-layout: default
+layout: redirect
title: Forking a project
description: How to fork a project, submit changes, and pull from other repos in the fork network
+redirect_to: /fork-a-repo
---
-
-This page has moved. If the redirect fails, [click me](fork-a-repo)
-
-<script type="text/javascript">
- window.location = '/fork-a-repo'
-</script>
diff --git a/_posts/2009-06-14-linux-git-installation.markdown b/_posts/2009-06-14-linux-git-installation.markdown
index 97f5af4..71e2316 100644
--- a/_posts/2009-06-14-linux-git-installation.markdown
+++ b/_posts/2009-06-14-linux-git-installation.markdown
@@ -1,11 +1,6 @@
---
-layout: default
+layout: redirect
title: Installing git (Linux)
description: How to install git on Linux
+redirect_to: /linux-set-up-git
---
-
-This page has moved. If the redirect fails, [click me](linux-set-up-git)
-
-<script type="text/javascript">
- window.location = '/linux-set-up-git'
-</script>
diff --git a/_posts/2009-06-14-mac-git-installation.markdown b/_posts/2009-06-14-mac-git-installation.markdown
index a63a7c8..4c0bd7f 100644
--- a/_posts/2009-06-14-mac-git-installation.markdown
+++ b/_posts/2009-06-14-mac-git-installation.markdown
@@ -1,11 +1,6 @@
---
-layout: default
+layout: redirect
title: Installing git (OSX)
description: How to install git on OSX
+redirect_to: /mac-set-up-git
---
-
-This page has moved. If the redirect fails, [click me](mac-set-up-git)
-
-<script type="text/javascript">
- window.location = '/mac-set-up-git'
-</script>
diff --git a/_posts/2009-06-14-win-git-installation.markdown b/_posts/2009-06-14-win-git-installation.markdown
index 4e618f4..dd0571d 100644
--- a/_posts/2009-06-14-win-git-installation.markdown
+++ b/_posts/2009-06-14-win-git-installation.markdown
@@ -1,11 +1,6 @@
---
-layout: default
+layout: redirect
title: Installing git (Win/msysgit)
description: How to install git on Windows
+redirect_to: /win-set-up-git
---
-
-This page has moved. If the redirect fails, [click me](win-set-up-git)
-
-<script type="text/javascript">
- window.location = '/win-set-up-git'
-</script>
diff --git a/_posts/2009-06-15-linux-key-setup.markdown b/_posts/2009-06-15-linux-key-setup.markdown
index 8216641..8dfa42d 100644
--- a/_posts/2009-06-15-linux-key-setup.markdown
+++ b/_posts/2009-06-15-linux-key-setup.markdown
@@ -1,11 +1,6 @@
---
-layout: default
+layout: redirect
title: Generating SSH keys (Linux)
description: Setting up SSH keys on Linux
+redirect_to: /linux-set-up-git
---
-
-This page has moved. If the redirect fails, [click me](linux-set-up-git)
-
-<script type="text/javascript">
- window.location = '/linux-set-up-git'
-</script>
diff --git a/_posts/2009-06-15-mac-key-setup.markdown b/_posts/2009-06-15-mac-key-setup.markdown
index b741f3a..e080310 100644
--- a/_posts/2009-06-15-mac-key-setup.markdown
+++ b/_posts/2009-06-15-mac-key-setup.markdown
@@ -1,11 +1,6 @@
---
-layout: default
+layout: redirect
title: Generating SSH keys (OSX)
description: Setting up SSH keys on Mac OSX
+redirect_to: /mac-set-up-git
---
-
-This page has moved. If the redirect fails, [click me](mac-set-up-git)
-
-<script type="text/javascript">
- window.location = '/mac-set-up-git'
-</script>
diff --git a/_posts/2009-06-15-msysgit-key-setup.markdown b/_posts/2009-06-15-msysgit-key-setup.markdown
index 70f340f..11c9da7 100644
--- a/_posts/2009-06-15-msysgit-key-setup.markdown
+++ b/_posts/2009-06-15-msysgit-key-setup.markdown
@@ -1,11 +1,6 @@
---
-layout: default
+layout: redirect
title: Generating SSH keys (Win/msysgit)
description: Setting up SSH keys with msysgit on Windows
+redirect_to: /win-set-up-git
---
-
-This page has moved. If the redirect fails, [click me](win-set-up-git)
-
-<script type="text/javascript">
- window.location = '/win-set-up-git'
-</script>