Skip to content

Conversation

wrabit
Copy link
Owner

@wrabit wrabit commented Mar 2, 2025

This PR introduces ability to choose a default component when calling a directory path by using an index.html.

Before:

- cotton
  - comp
    - header.html
    - main.html


<c-comp.main>
  <c-comp.header />
</c-comp.main>

After:

- cotton
  - comp
    - header.html
    - index.html


<c-comp>
  <c-comp.header />
</c-comp>

@wrabit wrabit merged commit 44c8360 into main Mar 2, 2025
1 check passed
@wrabit wrabit deleted the index_file_pattern branch March 2, 2025 19:23
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.

1 participant