Skip to content

Instantly share code, notes, and snippets.

@timkelty
Created September 16, 2024 14:09
Show Gist options
  • Save timkelty/072e93d16084de39cd892d38535eecd6 to your computer and use it in GitHub Desktop.
Save timkelty/072e93d16084de39cd892d38535eecd6 to your computer and use it in GitHub Desktop.
<link rel="apple-touch-icon" sizes="180x180" href="{{ cloud.artifactUrl('apple-touch-icon.png') }}">
<div style="background-image: {{ cloud.artifactUrl('images/bottombg.svg') }}; width: 100%; height: 30px; background-size: cover;"> </div>

Alternatively, you can use the @artifactBaseUrl alias in a url function:

{{ url('@artifactBaseUrl/images/bottombg.svg') }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment