2013-09-06 17:50:14 +00:00
|
|
|
//Trick needed to pass 'env' to ./layout
|
|
|
|
|
block vars
|
2013-09-01 16:56:43 +00:00
|
|
|
doctype 5
|
|
|
|
|
html
|
|
|
|
|
|
|
|
|
|
head
|
|
|
|
|
block title
|
|
|
|
|
title HabitRPG | Your Life the Role Playing Game
|
|
|
|
|
|
2013-09-10 12:40:00 +00:00
|
|
|
link(rel='shortcut icon', href='/#{env.getBuildUrl("favicon.ico")}?v=2')
|
2013-09-07 11:55:48 +00:00
|
|
|
|
2013-09-01 16:56:43 +00:00
|
|
|
meta(charset='utf-8')
|
|
|
|
|
meta(name='viewport', content='width=device-width, initial-scale=1.0')
|
2013-09-02 05:08:28 +00:00
|
|
|
|
2013-09-10 10:29:43 +00:00
|
|
|
// CSS Remember to update also in Grunfile.js cssmin task!
|
2013-09-10 12:40:00 +00:00
|
|
|
link(rel='stylesheet', href='/#{env.getBuildUrl("bower_components/bootstrap/docs/assets/css/bootstrap.css")}')
|
2013-09-06 19:39:18 +00:00
|
|
|
// Keep this out of build because the one after has some images and would like not to override it
|
2013-09-10 12:40:00 +00:00
|
|
|
link(rel='stylesheet', href='/#{env.getBuildUrl("bower_components/bootstrap/docs/assets/css/bootstrap-responsive.css")}')
|
|
|
|
|
link(rel='stylesheet', href='/#{env.getBuildUrl("bower_components/bootstrap/docs/assets/css/docs.css")}')
|
2013-09-06 19:39:18 +00:00
|
|
|
|
2013-09-10 12:40:00 +00:00
|
|
|
link(rel='stylesheet', href='/#{env.getBuildUrl("static.css")}')
|
2013-09-02 05:08:28 +00:00
|
|
|
|
|
|
|
|
// JS
|
2013-09-06 17:50:14 +00:00
|
|
|
- if(layoutEnv.NODE_ENV == 'production'){
|
2013-09-10 23:10:58 +00:00
|
|
|
script(type='text/javascript', src='/#{env.getBuildUrl("static.js")}')
|
2013-09-06 17:19:43 +00:00
|
|
|
- }else{
|
|
|
|
|
// Remember to update the file list in Gruntfile.js!
|
2013-09-06 17:50:14 +00:00
|
|
|
script(type='text/javascript', src='/bower_components/jquery/jquery.min.js')
|
|
|
|
|
script(type='text/javascript', src='/bower_components/habitrpg-shared/dist/habitrpg-shared.js')
|
|
|
|
|
script(type='text/javascript', src='/bower_components/angular/angular.min.js')
|
2013-09-10 01:25:45 +00:00
|
|
|
script(type='text/javascript', src='/bower_components/angular-resource/angular-resource.min.js')
|
2013-09-06 17:50:14 +00:00
|
|
|
script(type='text/javascript', src='/bower_components/bootstrap/docs/assets/js/bootstrap.min.js')
|
|
|
|
|
|
|
|
|
|
script(type='text/javascript', src='/js/static.js')
|
|
|
|
|
script(type='text/javascript', src='/js/services/userServices.js')
|
|
|
|
|
script(type='text/javascript', src='/js/controllers/authCtrl.js')
|
2013-09-06 17:19:43 +00:00
|
|
|
-}
|
|
|
|
|
|
2013-09-01 16:56:43 +00:00
|
|
|
script(type='text/javascript').
|
|
|
|
|
$.getScript("//s7.addthis.com/js/250/addthis_widget.js#pubid=lefnire");
|
2013-09-02 05:08:28 +00:00
|
|
|
|
2013-09-01 16:56:43 +00:00
|
|
|
body
|
|
|
|
|
block content
|
|
|
|
|
|
|
|
|
|
include ../shared/footer
|