Created
January 29, 2014 11:04
-
-
Save whisher/8685833 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| doctype html | |
| html#ng-app(xmlns:ng='http://angularjs.org', lang='it', data-ng-app='nodblog') | |
| head | |
| meta(charset='utf-8') | |
| meta(name='viewport', content='width=device-width, initial-scale=1, user-scalable=no') | |
| meta(name='robots', content='index,follow') | |
| meta(name='fragment', content='!') | |
| title= appTitle | |
| meta(name='title', content='nodBlog') | |
| meta(name='description', content='nodBlog') | |
| meta(name='author', content='whisher') | |
| meta(name='Copyright', content='Copyright 2012. All Rights Reserved') | |
| link(rel='shortcut icon', href='favicon.ico') | |
| link(rel='bookmark', href='favicon.ico') | |
| link(rel='stylesheet', href='/vendor/bootstrap/dist/css/bootstrap.css') | |
| link(rel='stylesheet', href='/default/css/default.css') | |
| | <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> <![endif]--> | |
| | <!--[if lt IE 9]> <script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script> <![endif]--> | |
| script. | |
| var config = #{JSON.encode(config)}; | |
| body(data-ng-controller="MainCtrl") | |
| 'use strict'; | |
| exports.render = function(req, res) { | |
| res.render('default/index', {appTitle:'nodBlog',config:{prop:'myprop'}}); | |
| }; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment