aboutsummaryrefslogtreecommitdiff
path: root/templates/bootstrap.hamlet
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-07-31 12:17:31 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-07-31 12:17:31 -0400
commit04794eafc0f0fd09e645247136fe557fd80bfb55 (patch)
tree92ca3260821cdc99c0d47907765ee862c6d23782 /templates/bootstrap.hamlet
parentb9b009787662cda4948b3c9706b8897587d05d8a (diff)
webapp now starts up when run not in a git repo
Diffstat (limited to 'templates/bootstrap.hamlet')
-rw-r--r--templates/bootstrap.hamlet6
1 files changed, 5 insertions, 1 deletions
diff --git a/templates/bootstrap.hamlet b/templates/bootstrap.hamlet
index cf686f843..f743a0d46 100644
--- a/templates/bootstrap.hamlet
+++ b/templates/bootstrap.hamlet
@@ -1,7 +1,11 @@
$doctype 5
<html>
<head>
- <title>#{relDir webapp} #{pageTitle page}
+ <title>
+ $maybe reldir <- relDir webapp
+ #{reldir} #{pageTitle page}
+ $nothing
+ #{pageTitle page}
<link rel="icon" href=@{StaticR favicon_ico} type="image/x-icon">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
^{pageHead page}