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

feat: External URL redirect #2080

Merged
merged 5 commits into from
Feb 11, 2023
Merged

Conversation

kartva
Copy link
Contributor

@kartva kartva commented Jan 20, 2023

fixes: #1844

Code changes

Moved is_external_link to utils::net. Not the best place, I'm open to suggestions for better named modules or putting is_external_link in utils.

@Keats
Copy link
Collaborator

Keats commented Jan 20, 2023

Can you do the PR on the next branch instead please?

@kartva kartva changed the base branch from master to next January 21, 2023 10:43
@kartva
Copy link
Contributor Author

kartva commented Jan 21, 2023

Done!

components/site/src/lib.rs Show resolved Hide resolved
@kartva
Copy link
Contributor Author

kartva commented Feb 4, 2023

Ok! It took me some time to find the right place to insert the checks, but I think I've got it. Is it better now?

@Keats
Copy link
Collaborator

Keats commented Feb 6, 2023

Yep it looks ok. Just need a rebase and a test that the alias is added to the external links.

@kartva kartva force-pushed the external-URL-redirect branch from 89fd0e4 to 66dc9bd Compare February 9, 2023 12:16
@kartva
Copy link
Contributor Author

kartva commented Feb 9, 2023

Done, done.

@kartva
Copy link
Contributor Author

kartva commented Feb 10, 2023

Looks like everything is failing because of clippy linting stuff that isn't related to my changes.

@Keats
Copy link
Collaborator

Keats commented Feb 10, 2023

Don't worry about that

@Keats Keats merged commit e805998 into getzola:next Feb 11, 2023
Keats pushed a commit that referenced this pull request Feb 16, 2023
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