diff options
author | Cheng-Han, Wu | 2016-02-16 20:08:44 -0800 |
---|---|---|
committer | Cheng-Han, Wu | 2016-02-16 20:08:44 -0800 |
commit | b2b1be3dda406312add39997ad8bd9494f20b7f8 (patch) | |
tree | 997403359ffc0f585fa52752c399ce87287222c3 /public/views/head.ejs | |
parent | 3f2f063e9b6c6d36169f6acefc27df87d0bd176b (diff) |
Support set url path and use relative url, move raphael to bower and fixed minor issue in history
Diffstat (limited to '')
-rw-r--r-- | public/views/head.ejs | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/public/views/head.ejs b/public/views/head.ejs index 92fd44e4..17a4a8fb 100644 --- a/public/views/head.ejs +++ b/public/views/head.ejs @@ -8,34 +8,34 @@ <meta name="robots" content="<%- robots %>"> <% } %> <title><%- title %></title> -<link rel="icon" type="image/png" href="/favicon.png"> -<link rel="apple-touch-icon" href="/apple-touch-icon.png"> +<link rel="icon" type="image/png" href="<%- url %>/favicon.png"> +<link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png"> <% if(useCDN) { %> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"> <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"> <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.9.0/bootstrap-social.min.css"> <% } else { %> -<link rel="stylesheet" href="/vendor/bootstrap/dist/css/bootstrap.min.css"> -<link rel="stylesheet" href="/vendor/font-awesome/css/font-awesome.min.css"> -<link rel="stylesheet" href="/css/bootstrap-social.css"> +<link rel="stylesheet" href="<%- url %>/vendor/bootstrap/dist/css/bootstrap.min.css"> +<link rel="stylesheet" href="<%- url %>/vendor/font-awesome/css/font-awesome.min.css"> +<link rel="stylesheet" href="<%- url %>/css/bootstrap-social.css"> <% } %> -<link rel="stylesheet" href="/vendor/jquery-ui/jquery-ui.min.css"> -<link rel="stylesheet" href="/vendor/codemirror/lib/codemirror.css"> -<link rel="stylesheet" href="/vendor/codemirror/addon/fold/foldgutter.css"> -<link rel="stylesheet" href="/vendor/codemirror/addon/display/fullscreen.css"> -<link rel="stylesheet" href="/vendor/codemirror/addon/dialog/dialog.css"> -<link rel="stylesheet" href="/vendor/codemirror/addon/scroll/simplescrollbars.css"> -<link rel="stylesheet" href="/vendor/codemirror/addon/search/matchesonscrollbar.css"> -<link rel="stylesheet" href="/vendor/codemirror/theme/monokai.css"> -<link rel="stylesheet" href="/vendor/codemirror/theme/one-dark.css"> -<link rel="stylesheet" href="/css/github-extract.css"> -<link rel="stylesheet" href="/vendor/highlight-js/github-gist.min.css"> -<link rel="stylesheet" href="/vendor/emojify/css/emojify.min.css"> -<link rel="stylesheet" href="/vendor/showup/showup.css"> -<link rel="stylesheet" href="/css/markdown.css"> -<link rel="stylesheet" href="/css/index.css"> -<link rel="stylesheet" href="/css/extra.css"> -<link rel="stylesheet" href="/css/site.css"> +<link rel="stylesheet" href="<%- url %>/vendor/jquery-ui/jquery-ui.min.css"> +<link rel="stylesheet" href="<%- url %>/vendor/codemirror/lib/codemirror.css"> +<link rel="stylesheet" href="<%- url %>/vendor/codemirror/addon/fold/foldgutter.css"> +<link rel="stylesheet" href="<%- url %>/vendor/codemirror/addon/display/fullscreen.css"> +<link rel="stylesheet" href="<%- url %>/vendor/codemirror/addon/dialog/dialog.css"> +<link rel="stylesheet" href="<%- url %>/vendor/codemirror/addon/scroll/simplescrollbars.css"> +<link rel="stylesheet" href="<%- url %>/vendor/codemirror/addon/search/matchesonscrollbar.css"> +<link rel="stylesheet" href="<%- url %>/vendor/codemirror/theme/monokai.css"> +<link rel="stylesheet" href="<%- url %>/vendor/codemirror/theme/one-dark.css"> +<link rel="stylesheet" href="<%- url %>/css/github-extract.css"> +<link rel="stylesheet" href="<%- url %>/vendor/highlight-js/github-gist.min.css"> +<link rel="stylesheet" href="<%- url %>/vendor/emojify/css/emojify.min.css"> +<link rel="stylesheet" href="<%- url %>/vendor/showup/showup.css"> +<link rel="stylesheet" href="<%- url %>/css/markdown.css"> +<link rel="stylesheet" href="<%- url %>/css/index.css"> +<link rel="stylesheet" href="<%- url %>/css/extra.css"> +<link rel="stylesheet" href="<%- url %>/css/site.css"> <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]> |