From f3bcbaee198f23f8db13e2170155e4be0c91a17f Mon Sep 17 00:00:00 2001 From: Brandon Mathis Date: Fri, 7 Jan 2011 17:45:30 -0600 Subject: [PATCH] added redirect for reference and updated general layouts redirect --- doc-src/content/reference.haml | 4 ++++ doc-src/layouts/redirect.haml | 5 +++++ 2 files changed, 9 insertions(+) create mode 100644 doc-src/content/reference.haml create mode 100644 doc-src/layouts/redirect.haml diff --git a/doc-src/content/reference.haml b/doc-src/content/reference.haml new file mode 100644 index 00000000..594a4334 --- /dev/null +++ b/doc-src/content/reference.haml @@ -0,0 +1,4 @@ +--- +title: Compass Documentation +redirect: /reference/compass/ +--- \ No newline at end of file diff --git a/doc-src/layouts/redirect.haml b/doc-src/layouts/redirect.haml new file mode 100644 index 00000000..5c7c76ff --- /dev/null +++ b/doc-src/layouts/redirect.haml @@ -0,0 +1,5 @@ +!!!5 +- # This template redirects. +%html{:dir => "ltr", :lang => "en"} + %head + %meta{:"http-equiv" => "refresh", :content => "0;#{@item[:redirect]}"}/ \ No newline at end of file