Skip to content

Commit

Permalink
Adding new example with append_version
Browse files Browse the repository at this point in the history
  • Loading branch information
wAsnk committed Jan 19, 2024
1 parent 6a6bf84 commit e458f8e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
"SourcePath": "_MediaTheme/Assets/example.png",
"TargetPath": "_MediaTheme/Assets/example.png"
},
{
"SourcePath": "_MediaTheme/Assets/favicon.ico",
"TargetPath": "_MediaTheme/Assets/favicon.ico"
},
{
"SourcePath": "_MediaTheme/Templates/Example.liquid",
"TargetPath": "_MediaTheme/Templates/Example.liquid"
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<p>This is an example template hosted in Media Theme.</p>
<p>Below is an image also hosted in Media Theme:</p>
<img src="{{ '~/mediatheme/example.png' | href }}" alt="example" />

{% assign favicon = '~/mediatheme/favicon.ico' | href %}
{% link rel:"icon", type:"image/ico", sizes:"48x48", href:favicon, append_version:"true" %}

0 comments on commit e458f8e

Please sign in to comment.