i have uploaded an html file, but github repo is taking it as java. please help. my website is not displaying properly
Hi there! Welcome to the Community!
When you say “the github repo is taking it as java” I think you’re talking about the language bar that displays on the front of the repository? GitHub determines language statistics based on the total size of the files that belong to each language.
We use the Linguist open source library to analyze source code files. You can read about how to use overrides in the Linguist documentation:
…and create a
.gitattributes file that specifies your file should be HTML, not Java.
That won’t affect how your website displays, assuming you’re talking about a GitHub Pages site. If the repo is public can you give me a link to it and I’ll take a look!