From 6fa433ced8c274561d3439450dcb141523d6b780 Mon Sep 17 00:00:00 2001 From: Raphael Sofaer Date: Wed, 11 May 2011 15:33:39 -0700 Subject: [PATCH] added the header back --- app/views/home/show.html.haml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/app/views/home/show.html.haml b/app/views/home/show.html.haml index 37a71fba2..c028942b2 100644 --- a/app/views/home/show.html.haml +++ b/app/views/home/show.html.haml @@ -2,18 +2,19 @@ -# licensed under the Affero General Public License version 3 or later. See -# the COPYRIGHT file. -:css - header{ - display:none; - } - body{ - margin-top: 20px; - } + - content_for :page_title do DIASPORA* ALPHA - begin - = render :partial => 'home/show' + = render :partial => 'home/show' - rescue + :css + header{ + display:none; + } + body{ + margin-top: 20px; + } :erb <%= File.open(File.join(Rails.root, 'public/default.html')).read %>