Merge pull request #55 from halfdan/asset-helper

Use asset helper to generate paths.
This commit is contained in:
Hannah Wolfe 2013-11-28 07:21:05 -08:00
commit 7bc3dfa7e6

View File

@ -14,7 +14,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{! Styles'n'Scripts }}
<link rel="stylesheet" type="text/css" href="/assets/css/screen.css" />
<link rel="stylesheet" type="text/css" href="{{asset "css/screen.css"}}" />
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Noto+Serif:400,700,400italic|Open+Sans:700,400" />
{{! Ghost outputs important style and meta data with this tag }}
@ -37,8 +37,8 @@
{{ghost_foot}}
{{! The main JavaScript file for Casper }}
<script type="text/javascript" src="/assets/js/jquery.fitvids.js"></script>
<script type="text/javascript" src="/assets/js/index.js"></script>
<script type="text/javascript" src="{{asset "js/jquery.fitvids.js"}}"></script>
<script type="text/javascript" src="{{asset "js/index.js"}}"></script>
</body>
</html>