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

about/trademark: add back old redirect #1

Merged
merged 1 commit into from
Oct 24, 2023

Conversation

rimrul
Copy link

@rimrul rimrul commented Oct 20, 2023

git-scm.com/trademark redirects to git-scm.com/about/trademark on the rails version of the site. Add this redirect back to the hugo version.

Note: I haven't tested this locally, yet, as my hugo doesn't want to serve the website locally. I have now got my hugo working. This works as intended.

git-scm.com/trademark redirects to git-scm.com/about/trademark on the
rails version of the site. Add this redirect back to the hugo version.

Signed-off-by: Matthias Aßhauer <[email protected]>
Copy link
Owner

@dscho dscho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@dscho
Copy link
Owner

dscho commented Oct 23, 2023

Note: I haven't tested this locally, yet, as my hugo doesn't want to serve the website locally. I have now got my hugo working. This works as intended.

Out of curiosity: what was the problem, what was the fix?

@rimrul
Copy link
Author

rimrul commented Oct 23, 2023

Out of curiosity: what was the problem,
what was the fix?

Problem #1: hugo installed via apt didn't recognise the repo as a hugo website and wanted me to reininitialize.

Problem #2: bash didn't find the hugo installed from the .deb file.

Solution: found the second hugo in /usr/local/bin.

@dscho
Copy link
Owner

dscho commented Oct 24, 2023

Solution: found the second hugo in /usr/local/bin.

Ah, so there was an old hugo in /usr/bin/ that probably expected a config.toml instead of a hugo.yml file.

@dscho dscho merged commit 4334119 into dscho:hugo Oct 24, 2023
1 check passed
@rimrul rimrul deleted the trademark-redirect branch October 24, 2023 10:59
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.

2 participants