Skip to content

Commit

Permalink
Merge pull request #318 from RawkBob/patch-1
Browse files Browse the repository at this point in the history
Update asset.md to show public assets path in examples
  • Loading branch information
ragboyjr authored Nov 2, 2024
2 parents 8864ae5 + 843fb86 commit 34347cb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/content/extensions/asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ location ~* (.+)\.(?:\d+)\.(js|css|png|jpg|jpeg|gif)$ {
<html>
<head>
<title>Asset Extension Example</title>
<link rel="stylesheet" href="<?=$this->asset('/css/all.css')?>" />
<link rel="stylesheet" href="/assets<?=$this->asset('/css/all.css')?>" />
</head>

<body>

<img src="<?=$this->asset('/img/logo.png')?>">
<img src="/assets<?=$this->asset('/img/logo.png')?>">

</body>
</html>
~~~
~~~

0 comments on commit 34347cb

Please sign in to comment.