Remove option to force pixels (not useful and not a good idea)
diff --git a/README.md b/README.md
index 7827cff..90cc361 100644
--- a/README.md
+++ b/README.md
@@ -38,7 +38,6 @@
- `DISQUS_SITENAME`: Set this to enable Disqus comments on articles.
- `TAGLINE`: The site's tagline. Rendered right below the image.
- `SCROLL_TO_CONTENT`: If this is set to `True`, when content is below the sidebar (for example, on mobile), the page will be scrolled down to the content when it loads. An exception is made for the home page.
-- `FORCE_PIXELS`: Some screens (mostly mobiles) don't use pixels directly and scale based on the concept of a 'display pixel'. Setting this to `True` tells the device to use actual pixels. Enable with care.
- `MANGLE_EMAILS`: If enabled, any emails in the `SOCIAL` links will be obfuscated in HTML and have their links generated by Javascript when the page loads.
- `GLOBAL_KEYWORDS`: A list of strings that will be set as keywords for each page.
- `FUZZY_DATES`: If `True`, uses [lw-timeago](https://github.com/pR0Ps/lw-timeago) to display fuzzy dates on articles (eg. 'Posted 3 months ago').
diff --git a/templates/base.html b/templates/base.html
index 908450f..ee0bd97 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -17,7 +17,7 @@
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<meta charset="utf-8" />
- <meta name="viewport" id="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="author" content="{{ AUTHOR }}">
<meta name="description" content="{% block description %}Posts by {{ AUTHOR }}{% endblock %}">
@@ -183,17 +183,6 @@
};
</script>
{% endif %}
-
- {% if FORCE_PIXELS %}
- <script type="text/javascript">
- var ratio = 1/window.devicePixelRatio;
- var tag = document.getElementById("viewport")
- if (ratio != 1 && tag != null){
- tag.content = "width=device-width, initial-scale=" + ratio;
- }
- </script>
- {% endif %}
-
{% endblock scripts %}
</body>
</html>