Use asset helper to generate paths.

fixes #54
This commit is contained in:
Fabian Becker 2013-11-28 13:41:52 +00:00
parent e4e8b0d902
commit b5819fd970
1 changed files with 4 additions and 4 deletions

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>
</html>