-
Notifications
You must be signed in to change notification settings - Fork 920
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cachebust for files in the output path (#1586)
* Consider the site's output path in search_for_file The search_for_file helper function now accepts an optional output path. If passed, the file will also be searched there. This is used in the get_url function to search in the Site::output_path. In practice, this means cachebust works for files in the output path. * Make output_dir required in search_for_file * Update docs for file searching logic * Add test for new file searching behavior
- Loading branch information
1 parent
c658d17
commit 5ca2b29
Showing
6 changed files
with
113 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.