Skip to content

Relative path in Quire #59

Answered by geealbers
1000camels asked this question in Get Help
Mar 10, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hi @1000camels, yes unfortunately we've seen this before (with @hlj24 most recently) and I haven't been able to create and test a stable fix for it yet.

The primary issue is that Hugo's relURL and absURL functions, and their relativeURLs and canonifyURLs config settings are for some reason only applied in certain contextual situations. For instance, they have the desired effect when used on a URL in an <a> tag but not when used on a URL in a style attribute, as they are for the background images on splash pages.

Until Hugo makes a change or we can work out something stable in Quire, I think this should probably fix it for you.

In /themes/quire-starter-theme/layouts/splash/single.html on o…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@1000camels
Comment options

@geealbers
Comment options

@1000camels
Comment options

Answer selected by Erin-Cecele
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants