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

Check content for dead links during the generation #1430

Closed
digitalcraftsman opened this issue Sep 14, 2015 · 3 comments
Closed

Check content for dead links during the generation #1430

digitalcraftsman opened this issue Sep 14, 2015 · 3 comments
Labels

Comments

@digitalcraftsman
Copy link
Member

This optional feature could check if a link inside a document is and output a warning.

@bep
Copy link
Member

bep commented Oct 16, 2015

This sounds out of scope. The only way to check dead links is to "try it" -- and that is too slow to be part of Hugo's build process.

@bep bep closed this as completed Oct 16, 2015
@earthboundkid
Copy link
Contributor

I think we could add a separate subcommand for this, like hugo test. For the site I'm working on, I'd like to have a step that will check for broken links before deploying. I could do this by just building on localhost and running a link checker over that, but ISTM it'd be faster/more efficient if it were built into Hugo.

@github-actions
Copy link

github-actions bot commented Mar 7, 2022

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants