Merge pull request #55 from halfdan/asset-helper
Use asset helper to generate paths.
This commit is contained in:
commit
7bc3dfa7e6
|
@ -14,7 +14,7 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
|
||||||
{{! Styles'n'Scripts }}
|
{{! 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" />
|
<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 }}
|
{{! Ghost outputs important style and meta data with this tag }}
|
||||||
|
@ -37,8 +37,8 @@
|
||||||
{{ghost_foot}}
|
{{ghost_foot}}
|
||||||
|
|
||||||
{{! The main JavaScript file for Casper }}
|
{{! The main JavaScript file for Casper }}
|
||||||
<script type="text/javascript" src="/assets/js/jquery.fitvids.js"></script>
|
<script type="text/javascript" src="{{asset "js/jquery.fitvids.js"}}"></script>
|
||||||
<script type="text/javascript" src="/assets/js/index.js"></script>
|
<script type="text/javascript" src="{{asset "js/index.js"}}"></script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue