From 0f77408d646590273bcadb17e12256e93fee9600 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Wed, 22 Mar 2017 12:47:25 +0100 Subject: Add BETA to the title when BETA env is set to 1 --- views/error.jade | 12 ++++++------ views/layout.jade | 5 ++++- 2 files changed, 10 insertions(+), 7 deletions(-) (limited to 'views') diff --git a/views/error.jade b/views/error.jade index 51ec12c..e31ac76 100644 --- a/views/error.jade +++ b/views/error.jade @@ -1,6 +1,6 @@ -extends layout - -block content - h1= message - h2= error.status - pre #{error.stack} +doctype html +html + body + h1= message + h2= error.status + pre #{error.stack} diff --git a/views/layout.jade b/views/layout.jade index 045b2f8..e537ebf 100644 --- a/views/layout.jade +++ b/views/layout.jade @@ -2,7 +2,10 @@ doctype html html head block head_top - title Metis Rooster + if isBeta + title BETA Metis Rooster + else + title Metis Rooster meta(name='theme-color',content='#F44336') meta(name='viewport', content='width=device-width, initial-scale=1') link(href='https://fonts.googleapis.com/css?family=Roboto', rel='stylesheet') -- cgit v1.1