Skip to content

Commit bea000b

Browse files
committed
make title configurable again
1 parent ee496eb commit bea000b

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

templates/layout.jade

+4-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ html.no-js
33
head
44
meta(charset='utf-8')
55
meta(http-equiv='X-UA-Compatible', content='IE=edge')
6-
title= name || 'badgeboard'
6+
if (typeof(title) !== 'undefined')
7+
title= title
8+
else
9+
title= name || 'badgeboard'
710
meta(name='description', content=description || '')
811
meta(name='keywords', content=keywords || '')
912
meta(name='viewport', content='width=device-width, initial-scale=1')

0 commit comments

Comments
 (0)