Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange warnings when building a website with this theme #31

Open
ieugen opened this issue Jan 17, 2019 · 2 comments
Open

Strange warnings when building a website with this theme #31

ieugen opened this issue Jan 17, 2019 · 2 comments

Comments

@ieugen
Copy link

ieugen commented Jan 17, 2019

Hi,

I'm using this theme with hugo 0.53 for some static legal documents. The pages I have contain only markup and I am a bit confused what the warnings mean.

uilding sites … WARNING: make non-relative ref/relref page reference(s) in page "/legal" absolute, e.g. {{< ref "/blog/my-post.md" >}}
WARNING: make non-relative ref/relref page reference(s) in page "/categories" absolute, e.g. {{< ref "/blog/my-post.md" >}}
WARNING: make non-relative ref/relref page reference(s) in page "/tags" absolute, e.g. {{< ref "/blog/my-post.md" >}}
WARNING: make non-relative ref/relref page reference(s) in page "/legal/respondent-terms-of-use/index.en.md" absolute, e.g. {{< ref "/blog/my-post.md" >}}
@Xzya
Copy link
Owner

Xzya commented Jan 21, 2019

Hello,

This seems to be unrelated to the theme.

From the error message, I think you may be missing a / at the beginning of URLs, e.g. {{< ref "blog/my-post.md" >}} => {{< ref "/blog/my-post.md" >}}.

More details here (check the Notes section).

Thank you!

@ieugen
Copy link
Author

ieugen commented Jan 29, 2019

Thanks,
I don't have any link in those markdown files 😕

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants