-
Notifications
You must be signed in to change notification settings - Fork 7
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
Major refactoring #13
Comments
why shouldnt javascript be used? |
Some users prefer not to use it. Also with modern browsers it's often possible to make dynamic pages without JS, and in case of such pages JS is used only to support old browsers (e.g. Internet Explorer). |
i suppose that makes sense. nobody uses IE anymore, so it probably wouldnt hurt to drop javascript as long as it can be fully replaced by something else |
not sure if this belongs here, but could we use geolocation to obtain the users location and send them to a version of the website in their local language/dialect? this would require translation of the whole website in a multitude of languages and would also require some javascript, but i think it would be a very useful feature to add. what are your thoughts? |
we should not use geolocation, but instead use browser locale. one way would be to detect browser locale and redirect user accordingly (needs js), if we do not need to auto switching based on locale, we can provide a language option menu like celestia.mobi. the translation could be implemented in HTML generator free of js. celestia.mobi uses server side Swift + Plot as the website generator. |
Page should be written using a template language like
Haml
instead of HTML. Or at least SSI can be used to simplify inclusion of common parts.JavaScript should not be used.
The text was updated successfully, but these errors were encountered: