mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-12 20:10:50 +01:00
SEO and speed improvements
This commit is contained in:
parent
837de9c131
commit
afe248c06f
Binary file not shown.
Before Width: | Height: | Size: 5.0 KiB |
Binary file not shown.
Before Width: | Height: | Size: 12 KiB |
BIN
_static/favicon-128x128.png
Normal file
BIN
_static/favicon-128x128.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
BIN
_static/favicon-192x192.png
Normal file
BIN
_static/favicon-192x192.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
BIN
_static/favicon-512x512.png
Normal file
BIN
_static/favicon-512x512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 9.7 KiB |
@ -3,12 +3,27 @@
|
|||||||
"short_name": "ESPHome",
|
"short_name": "ESPHome",
|
||||||
"icons": [
|
"icons": [
|
||||||
{
|
{
|
||||||
"src": "/_static/android-chrome-192x192.png",
|
"src": "/_static/favicon-16x16.png",
|
||||||
|
"sizes": "16x16",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/_static/favicon-32x32.png",
|
||||||
|
"sizes": "32x32",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/_static/favicon-128x128.png",
|
||||||
|
"sizes": "128x128",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/_static/favicon-192x192.png",
|
||||||
"sizes": "192x192",
|
"sizes": "192x192",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"src": "/_static/android-chrome-512x512.png",
|
"src": "/_static/favicon-512x512.png",
|
||||||
"sizes": "512x512",
|
"sizes": "512x512",
|
||||||
"type": "image/png"
|
"type": "image/png"
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,20 @@
|
|||||||
{% extends 'alabaster/layout.html' %}
|
{% extends 'alabaster/layout.html' %}
|
||||||
|
|
||||||
|
{%- block doctype %}
|
||||||
|
<!DOCTYPE html>
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{%- block extrahead %}
|
{%- block extrahead %}
|
||||||
{{ super() }}
|
<link rel="stylesheet" href="{{ pathto('_static/custom.css', 1) }}" type="text/css" />
|
||||||
<link rel="apple-touch-icon" sizes="180x180" href="/_static/apple-touch-icon.png">
|
<link rel="apple-touch-icon" sizes="180x180" href="/_static/apple-touch-icon.png">
|
||||||
|
<link rel="shortcut icon" href="/_static/favicon.ico">
|
||||||
|
<link rel="icon" type="image/png" sizes="512x512" href="/_static/favicon-512x512.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="192x192" href="/_static/favicon-192x192.png">
|
||||||
|
<link rel="icon" type="image/png" sizes="128x128" href="/_static/favicon-128x128.png">
|
||||||
<link rel="icon" type="image/png" sizes="32x32" href="/_static/favicon-32x32.png">
|
<link rel="icon" type="image/png" sizes="32x32" href="/_static/favicon-32x32.png">
|
||||||
<link rel="icon" type="image/png" sizes="16x16" href="/_static/favicon-16x16.png">
|
<link rel="icon" type="image/png" sizes="16x16" href="/_static/favicon-16x16.png">
|
||||||
<link rel="manifest" href="/_static/site.webmanifest">
|
<link rel="manifest" href="/_static/site.webmanifest">
|
||||||
<link rel="mask-icon" href="/_static/safari-pinned-tab.svg" color="#646464">
|
<link rel="mask-icon" href="/_static/safari-pinned-tab.svg" color="#646464">
|
||||||
<link rel="shortcut icon" href="/_static/favicon.ico">
|
|
||||||
<meta name="apple-mobile-web-app-title" content="ESPHome">
|
<meta name="apple-mobile-web-app-title" content="ESPHome">
|
||||||
<meta name="application-name" content="ESPHome">
|
<meta name="application-name" content="ESPHome">
|
||||||
<meta name="msapplication-TileColor" content="#dfdfdf">
|
<meta name="msapplication-TileColor" content="#dfdfdf">
|
||||||
@ -16,6 +23,7 @@
|
|||||||
<meta name="HandheldFriendly" content="True">
|
<meta name="HandheldFriendly" content="True">
|
||||||
<meta name="MobileOptimized" content="320">
|
<meta name="MobileOptimized" content="320">
|
||||||
<meta property="og:site_name" content="ESPHome">
|
<meta property="og:site_name" content="ESPHome">
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block footer %}
|
{% block footer %}
|
||||||
|
2
conf.py
2
conf.py
@ -80,7 +80,7 @@ release = '1.10.1'
|
|||||||
#
|
#
|
||||||
# This is also used if you do content translation via gettext catalogs.
|
# This is also used if you do content translation via gettext catalogs.
|
||||||
# Usually you set "language" from the command line for these cases.
|
# Usually you set "language" from the command line for these cases.
|
||||||
language = None
|
language = 'en'
|
||||||
|
|
||||||
# List of patterns, relative to source directory, that match files and
|
# List of patterns, relative to source directory, that match files and
|
||||||
# directories to ignore when looking for source files.
|
# directories to ignore when looking for source files.
|
||||||
|
Loading…
Reference in New Issue
Block a user