This might look like a server question but I think it belongs more on SO that on SF.
Long story short, I have a Nginx server that automatically aggregates .html to my pages in the backend so that the users only see :
mysite.com/somepage
instead of
mysite.com/somepage.html
So in my code, my links look like this :
<ul>
<li class="current"><a href="somePage"></a></li>
<li class="menu"><a href="somePage2"></a></li>
</ul>
Then nginx works its magic and adds a .html to it secretly.
Of course, this doesn't work in my dev environment (environment controlled by CodeAnywhere.com) so for it to work I would have to add the extensions like so :
<ul>
<li class="current"><a href="somePage.html"></a></li>
<li class="menu"><a href="somePage2.html"></a></li>
</ul>
Since changing those href by hand everytime I want to go to production and adding back the .html when I pull the copy and want to code, there must be an easy way around this.
Anyway I can work around that using HTML or JS? Or any other outside the box ideas..would be greatly appreciated.