Grav – Media URL

  • Post author:
  • Post category:Grav
  • Post comments:1 Comment

Description

url() gives back raw url path to media.

Example

{{ page.media['my-new-image.jpg'].url }}

Output

The above code fetches you the following output −

URL

Previous Page:-Click Here

This Post Has One Comment

Leave a Reply