diff --git a/docs/content/documentation/templates/overview.md b/docs/content/documentation/templates/overview.md index 50f26c27..7ab7013a 100644 --- a/docs/content/documentation/templates/overview.md +++ b/docs/content/documentation/templates/overview.md @@ -203,14 +203,14 @@ This can also be used to get the permalinks for static assets, for example if we want to link to the file that is located at `static/css/app.css`: ```jinja2 -{{/* get_url(path="static/css/app.css") */}} +{{/* get_url(path="css/app.css") */}} ``` By default, assets will not have a trailing slash. You can force one by passing `trailing_slash=true` to the `get_url` function. An example is: ```jinja2 -{{/* get_url(path="static/css/app.css", trailing_slash=true) */}} +{{/* get_url(path="css/app.css", trailing_slash=true) */}} ``` In the case of non-internal links, you can also add a cachebust of the format `?h=` at the end of a URL