Skip to content

Commit

Permalink
Specify Riak Cloud Hosting in the title attribute
Browse files Browse the repository at this point in the history
Attempt to make the google bots happier in finding riak hosting
websites.

See #3
  • Loading branch information
wlaurance committed Jun 1, 2013
1 parent 90ddc1c commit a840f1f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ app.configure(function(){
app.set('port', process.env.PORT || 3000);
app.set('views', __dirname + '/views');
app.set('view engine', 'jade');
app.set('title', 'Riak-River');
app.set('title', 'Riak-River - Riak Cloud Hosting');
app.use(express.favicon());
app.use(express.logger('dev'));
app.use(express.cookieParser());
Expand Down
2 changes: 1 addition & 1 deletion routes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
*/

exports.index = function(req, res){
res.render('index', { title: 'Riak-River', user: req.user });
res.render('index', {user: req.user });
};
5 changes: 1 addition & 4 deletions views/header.jade
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
-if (typeof title !== 'undefined')
h3= title
-else
h3= 'Riak-River'
h3= 'Riak-River'
2 changes: 1 addition & 1 deletion views/layout.jade
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
doctype 5
html
head
title= title
title Riak River - Riak Cloud Hosting
link(rel='stylesheet', href='/stylesheets/style.css')
meta(name='keywords', content='riak, hosting, cloud hosting, inexpensive, scalable, basho, distributed database')
script(type='text/javascript', src='/javascripts/jquery-1.9.1.min.js')
Expand Down

0 comments on commit a840f1f

Please sign in to comment.