mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
e1f25eb098
Also, the HandleDir accepts both string and http.FileSystem (interface{}) (like the view's fs)
16 lines
363 B
Plaintext
16 lines
363 B
Plaintext
{{ asset("./myasset.mp3")}}
|
|
<br/>
|
|
{{ style("my-stle.css") | raw}}
|
|
<br/>
|
|
{{ script("my-script.js") | raw}}
|
|
|
|
<!-- view page source: can't add a link as chrome blocks loading local source, instead
|
|
do that: -->
|
|
|
|
<code>
|
|
./myasset.mp3
|
|
<br/>
|
|
<link href="my-stle.css" rel="stylesheet">
|
|
<br/>
|
|
<script src="my-script.js"></script>
|
|
</code> |