1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 01:10:58 +01:00

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>
{% block site_meta %}
<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 %}
<meta name="description" content="{{ config.site_description }}">
{% endif %}
@ -18,7 +18,7 @@
{% else %}
<link rel="shortcut icon" href="{{ base_url }}/assets/images/favicon.ico">
{% endif %}
<meta name="generator" content="mkdocs+mkdocs-material#0.2.1">
<meta name="generator" content="mkdocs+mkdocs-material#1.0.0">
{% endblock %}
{% block htmltitle %}
{% if page.title %}

View File

@ -27,8 +27,7 @@
<!-- Block: metatags -->
{% block site_meta %}
<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" />
<!-- Site description -->
{% if config.site_description %}