Skip to content

Fix layouts mounting order #1372

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

Merged
merged 3 commits into from
Jul 28, 2025
Merged

Fix layouts mounting order #1372

merged 3 commits into from
Jul 28, 2025

Conversation

h-enk
Copy link
Member

@h-enk h-enk commented Jul 28, 2025

Summary

Brief explanation of the proposed changes.

Basic example

Include a basic example, screenshots, or links.

Motivation

Why are we doing this? What use cases does it support? What is the expected outcome?

#1371

Checks

  • Read Creating a pull request
  • Supports all screen sizes (if relevant)
  • Supports both light and dark mode (if relevant)
  • Passes npm run test (if relevant)

Copy link

changeset-bot bot commented Jul 28, 2025

🦋 Changeset detected

Latest commit: 5eaf263

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
doks Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@h-enk h-enk self-assigned this Jul 28, 2025
@h-enk h-enk requested a review from Copilot July 28, 2025 12:36
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes the mounting order of layouts by moving the local layouts mount to be processed before the external layout dependencies. This ensures that local layout files take precedence over dependency layouts.

  • Repositioned local layouts mount to appear before external layout mounts
  • Added excludeFiles configuration to exclude home.html from a specific mount
  • Added changeset documenting the fix as a patch release

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
config/_default/module.toml Reordered layout mounts to prioritize local layouts and added file exclusion
.changeset/moody-falcons-rule.md Added changeset entry documenting the layout mounting fix

@h-enk h-enk merged commit 1395d73 into main Jul 28, 2025
3 checks passed
@h-enk h-enk deleted the next branch July 28, 2025 12:38
@h-enk h-enk added the bug Something isn't working label Jul 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant