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

Show plain text file #1893

Open
CLTGreg opened this issue Mar 22, 2024 · 0 comments
Open

Show plain text file #1893

CLTGreg opened this issue Mar 22, 2024 · 0 comments

Comments

@CLTGreg
Copy link

CLTGreg commented Mar 22, 2024

I am working on a new website. There is no default.html in the root so directories are shown which is what I want. In each directory at the end of the trail is a text file. I would like this to load automatically and displayed as a text file.

If I put it in an HTML file, the text gets munged. I can put it with the file name and a .txt extension but it is then a download.

There will only be one text file per directory. I want the contents of the plain text file to be shown once the directory is navigated to.

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

No branches or pull requests

1 participant