Merge pull request #71 from brendo/better-responsive-meta

Allow a user to scale the site if they'd like
This commit is contained in:
Martin Donath 2016-12-19 18:16:36 +01:00 committed by GitHub
commit 101078f313
2 changed files with 3 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<head> <head>
{% block site_meta %} {% block site_meta %}
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1,maximum-scale=1"> <meta name="viewport" content="width=device-width,initial-scale=1">
{% if config.site_description %} {% if config.site_description %}
<meta name="description" content="{{ config.site_description }}"> <meta name="description" content="{{ config.site_description }}">
{% endif %} {% endif %}
@ -18,7 +18,7 @@
{% else %} {% else %}
<link rel="shortcut icon" href="{{ base_url }}/assets/images/favicon.ico"> <link rel="shortcut icon" href="{{ base_url }}/assets/images/favicon.ico">
{% endif %} {% endif %}
<meta name="generator" content="mkdocs+mkdocs-material#0.2.1"> <meta name="generator" content="mkdocs+mkdocs-material#1.0.0">
{% endblock %} {% endblock %}
{% block htmltitle %} {% block htmltitle %}
{% if page.title %} {% if page.title %}

View File

@ -27,8 +27,7 @@
<!-- Block: metatags --> <!-- Block: metatags -->
{% block site_meta %} {% block site_meta %}
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, <meta name="viewport" content="width=device-width, initial-scale=1" />
user-scalable=no, initial-scale=1, maximum-scale=1" />
<!-- Site description --> <!-- Site description -->
{% if config.site_description %} {% if config.site_description %}