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 #1731 (asset colocation does not detect files without an extension) #1734

Merged
merged 1 commit into from
Jan 13, 2022

Conversation

tsheinen
Copy link
Contributor

Pretty minor change; I just adjusted the match statement so that if Path::extension returned None it would include that asset -- only Some("md") should be ignored. I also added a file without an extension to the test cases for this function.

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Code changes

(Delete or ignore this section for documentation changes)

  • Are you doing the PR on the next branch?

Copy link
Collaborator

@Keats Keats left a comment

Choose a reason for hiding this comment

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

Thanks for the quick fix!

@Keats Keats merged commit 69ab002 into getzola:next Jan 13, 2022
Keats pushed a commit that referenced this pull request Jan 22, 2022
Keats pushed a commit that referenced this pull request Jan 23, 2022
thomasantony pushed a commit to thomasantony/zola that referenced this pull request Sep 17, 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.

2 participants