Fix affected links in subdir to work with Hugo v0.101+ by zeeZ · Pull Request #252 · cstate/cstate · GitHub
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

Fix affected links in subdir to work with Hugo v0.101+ #252

Merged
merged 1 commit into from
Oct 29, 2022

Conversation

zeeZ
Copy link
Contributor

@zeeZ zeeZ commented Oct 28, 2022

IMPORTANT: Please do not create a Pull Request without creating an issue first.

Any change needs to be discussed before proceeding. Failure to do so may result in the rejection of the pull request.

Please provide enough information so that others can review your pull request:

When run with cd exampleSite && hugo serve --baseUrl=http://localhost/cstate/ --theme=cstate --themesDir=../.. --verbose on Hugo v0.101.0 and above, the services on the main page at [localhost]/cstate/ and individual issues should now correctly link to [localhost]/cstate/affected/[service] instead of [localhost]/affected/[service].
No visible changes on older versions or without a subdirectory.

Fixes #251

@mistermantas mistermantas merged commit eadc507 into cstate:master Oct 29, 2022
mistermantas added a commit that referenced this pull request Oct 29, 2022
mistermantas added a commit that referenced this pull request Oct 29, 2022
mistermantas added a commit that referenced this pull request Oct 29, 2022
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

Successfully merging this pull request may close these issues.

Broken "affected" links if baseURL contains non-root path
2 participants