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

Feat: Use index.html as the default view #50

Merged
merged 5 commits into from
Oct 27, 2024
Merged

Conversation

ItzNotABug
Copy link
Owner

Enable index.html as the default file in directories.


Example:

  1. Navigating to / would serve index.html
  2. Navigating to /contact would serve contact/index.html
  3. Navigating to /contact/enterprise would serve contact/enterprise/index.html

This is handy when using SSG like tools to build a simple static site.

@ItzNotABug ItzNotABug added the enhancement New feature or request label Oct 27, 2024
@ItzNotABug ItzNotABug self-assigned this Oct 27, 2024
@ItzNotABug ItzNotABug merged commit 38266e9 into master Oct 27, 2024
1 check passed
@ItzNotABug ItzNotABug deleted the feat-index-default branch October 27, 2024 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant