cloudfour / cloudfour/drizzle

Using baseurl in patterns

Open
#91 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
662
Forks
28
PR merge metrics
No merged PRs in 30d

Description

I saw in the default template `{{@root.baseurl}}` so I tried to use it in a pattern to point to icons that I added to the assets directory. Using it here adds an extra `../`. From what I can tell this happens because `@root` is the initial context that the template was executed in. Is there a way to use this in a pattern that I am just not seeing or do I have to hard code the directory levels?

I'm using it like this:
``

and getting
``

when I should get
``

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.