mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-24 15:40:15 +01:00
Allow a user to scale the site if they'd like
This commit is contained in:
parent
d2285b4d92
commit
bf98f49819
@ -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 %}
|
||||||
|
@ -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 %}
|
||||||
|
Loading…
Reference in New Issue
Block a user