From 2670be79e39f9db01fc0efc959b4d97894e0809c Mon Sep 17 00:00:00 2001 From: Aaron Heckmann Date: Sat, 15 Dec 2012 14:44:13 -0800 Subject: [PATCH] website; point to tumblr site for prod examples --- docs/production.jade | 20 +++++++++++--------- docs/redirect.jade | 26 ++++++++++++++++++++++++++ index.jade | 2 +- 3 files changed, 38 insertions(+), 10 deletions(-) create mode 100644 docs/redirect.jade diff --git a/docs/production.jade b/docs/production.jade index da5c5f9d13e..2dd82917635 100644 --- a/docs/production.jade +++ b/docs/production.jade @@ -1,11 +1,13 @@ -extends layout +extends redirect + +block meta + meta(http-equiv="refresh", content="5;url=http://mongoosejs.tumblr.com/") block content - h2 - | Mongoose In The Wild - a(href='mailto:aaronheckmann+github@gmail.com?subject=Please add my project to mongoosejs.com', title='add/remove your project') (add your project) - ul.inthewild - each img in images - li - a(href=img.url, title=img.title + ' ' + img.desc) - img(src="images/apps/" + img.src + ".png", alt=img.title + ' ' + img.desc) + p + | You are being redirected to http://mongoosejs.tumblr.com. + br + | Please + a(href="http://mongoosejs.tumblr.com/") click here + | if you are not redirected in 5 seconds. + diff --git a/docs/redirect.jade b/docs/redirect.jade new file mode 100644 index 00000000000..dc0f0769b08 --- /dev/null +++ b/docs/redirect.jade @@ -0,0 +1,26 @@ +doctype html +html(lang='en') + head + meta(charset="utf-8") + meta(name="viewport", content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no") + title Mongoose + block meta + block style + link(href='http://fonts.googleapis.com/css?family=Anonymous+Pro:400,700|Droid+Sans+Mono|Open+Sans:400,700|Linden+Hill|Quattrocento:400,700|News+Cycle:400,700|Antic+Slab|Cabin+Condensed:400,700', rel='stylesheet', type='text/css') + link(href='/docs/css/default.css', rel='stylesheet', type='text/css') + link(href='/docs/css/guide.css', rel='stylesheet', type='text/css') + body + a#forkbanner(href="http://github.com/learnboost/mongoose") + img(style="position: absolute; top: 0; right: 0; border: 0;", src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png", alt="Fork me on GitHub") + #links + #header + h1 + a(href="../index.html") + .mongoose Mongoose + include includes/nav + #content + .module + block content + script. + document.body.className = 'load'; + include includes/googleanalytics diff --git a/index.jade b/index.jade index 2289311d3e4..c43cce9d1e5 100644 --- a/index.jade +++ b/index.jade @@ -64,7 +64,7 @@ html(lang='en') h2 | Production | - a(href='docs/production.html', title='More production examples') View More + a(href='http://mongoosejs.tumblr.com/', target='_blank', title='More production examples') View More ul li a(href="http://storify.com/", alt="Storify")