From 5f4c6f4cfd188a0a75db9e8e644f77aa4b140fa1 Mon Sep 17 00:00:00 2001 From: Piotr Sarnacki Date: Mon, 30 Mar 2015 12:14:30 +0200 Subject: [PATCH] Add separate layout for landing-page --- app/templates/layouts/landing-page.hbs | 7 +++++++ app/views/home.coffee | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 app/templates/layouts/landing-page.hbs diff --git a/app/templates/layouts/landing-page.hbs b/app/templates/layouts/landing-page.hbs new file mode 100644 index 00000000..22546b2e --- /dev/null +++ b/app/templates/layouts/landing-page.hbs @@ -0,0 +1,7 @@ +
+ {{render "top"}} +
+ +{{render "flash"}} + +{{yield}} diff --git a/app/views/home.coffee b/app/views/home.coffee index a33e0330..06446f76 100644 --- a/app/views/home.coffee +++ b/app/views/home.coffee @@ -1,6 +1,6 @@ `import BasicView from 'travis/views/basic'` View = BasicView.extend - layoutName: 'layouts/simple' + layoutName: 'layouts/landing-page' `export default View`