Commit 8a8fe446 authored by Sylvain Kerkour's avatar Sylvain Kerkour

layout: inline cash and my js

parent 3088c584
Pipeline #147484394 passed with stages
in 57 seconds
......@@ -15,11 +15,11 @@
</footer>
{{/* <!-- <script src="{{ "js/cash-0.7.1.min.js" | relURL }}"></script> --> */}}
{{ with resources.Get "js/cash-0.7.1.min.js" | minify }}
<script type="text/javascript">{{ .Content | safeJS }}</script>
{{ end }}
{{ with resources.Get "js/index.js" | minify }}
<script type="text/javascript">{{ .Content | safeJS }}</script>
{{ end }}
{{ $cash := resources.Get "js/cash-0.7.1.min.js" | minify }}
{{ $myjs := resources.Get "js/index.js" | minify }}
<script type="text/javascript">
{{ $cash.Content | safeJS }}
{{ $myjs.Content | safeJS}}
</script>
</body>
</html>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment