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

Refactor: copy_assets instead of copy_asset #2418

Merged
merged 1 commit into from
Jan 22, 2024

Conversation

clarfonthey
Copy link
Contributor

  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Are you doing the PR on the next branch?

The site component has a private copy_asset function that just runs copy_file_if_needed, but the copy_asset function itself is part of a larger loop which is repeated in both page and section. This replaces copy_asset with a copy_assets function that contains the larger loop.

@clarfonthey clarfonthey mentioned this pull request Jan 22, 2024
2 tasks
@Keats Keats merged commit 0122845 into getzola:next Jan 22, 2024
5 checks passed
@clarfonthey clarfonthey deleted the copy-assets branch January 22, 2024 20:56
veluca93 pushed a commit to veluca93/zola that referenced this pull request May 14, 2024
berdandy pushed a commit to berdandy/azola that referenced this pull request Sep 17, 2024
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