Closed StephanBijzitter closed 9 years ago
No idea why Travis is angry with me by the way, I pulled the template from the master branch, added a few lines and boom?
I purposely broke travis on head... heheh There were some broken bits in the code that I hot fixed for the last two releases... just did a major refactor of famous-metrics and I'm patching it up right now.
Also fixed the image location in the _main.js template. Previously it only worked in the main directory of a (local) server, now it also works in subdirectories.
I don't think we are going to merge the change from absolute to relative paths. This can be solved either with tooling or with the base tag in the head
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
AFAIK it is considered best practice to use this style of absolute path.
A better approach would be to implement a generated base path with the html pre-process task that is already running. You can use the grunt config to inject the variable
Since HTML 2.0, wow how did I miss this! I'll revert the commit tomorrow at the office :+1:
Closing
UTF-8 encoding will make sure people are not going to have issues with Cyrillic text; minimal-ui will make sure iOS 7 users get a larger viewport with less browser clutter; msapplication-tap-highlight will make sure to remove the disgusting highlights Windows Phone introduces on DOM elements, this to standardise the experience across devices.