mirror of
https://github.com/crazy-max/diun.git
synced 2025-03-17 04:42:39 +00:00
Fix docs meta tags
This commit is contained in:
parent
dc4a4ec94e
commit
b8565cea85
4 changed files with 24 additions and 11 deletions
|
@ -9,7 +9,7 @@
|
|||
<!-- assets absolute URL -->
|
||||
{% set assets = config.site_url ~ 'assets' %}
|
||||
|
||||
{% block site_meta %}
|
||||
{% block extrahead %}
|
||||
<meta name="application-name" content="{{ config.site_name }}">
|
||||
<meta name="msapplication-TileColor" content="#FFFFFF">
|
||||
<meta name="msapplication-TileImage" content="{{ assets }}/meta/mstile-144x144.png">
|
||||
|
@ -22,6 +22,7 @@
|
|||
<meta property="og:description" content="{{ config.site_description }}">
|
||||
<meta property="og:url" content="{{ page.canonical_url }}">
|
||||
<meta property="og:image" content="{{ assets }}/meta/card.png">
|
||||
<meta property="og:image:alt" content="{{ config.site_name }}">
|
||||
<meta property="og:image:type" content="image/png">
|
||||
<meta property="og:image:width" content="1280">
|
||||
<meta property="og:image:height" content="640">
|
||||
|
@ -33,9 +34,7 @@
|
|||
<meta name="twitter:image" content="{{ assets }}/meta/card.png">
|
||||
<meta name="google-site-verification" content="{{ config.extra.seo.google }}">
|
||||
<meta name="msvalidate.01" content="{{ config.extra.seo.bing }}">
|
||||
{% endblock %}
|
||||
|
||||
{% block extrahead %}
|
||||
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="{{ assets }}/meta/apple-touch-icon-57x57.png">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="{{ assets }}/meta/apple-touch-icon-114x114.png">
|
||||
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="{{ assets }}/meta/apple-touch-icon-72x72.png">
|
19
docs/assets/stylesheets/extra.css
Normal file
19
docs/assets/stylesheets/extra.css
Normal file
|
@ -0,0 +1,19 @@
|
|||
.md-logo {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
padding-bottom: 2px;
|
||||
padding-top: 2px;
|
||||
}
|
||||
|
||||
.md-logo img {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
||||
.md-header-nav__title {
|
||||
font-size: .85rem;
|
||||
}
|
||||
|
||||
.md-typeset__table code {
|
||||
word-break: normal;
|
||||
}
|
|
@ -1,3 +0,0 @@
|
|||
.md-typeset__table code {
|
||||
word-break: normal;
|
||||
}
|
|
@ -20,7 +20,7 @@ extra:
|
|||
|
||||
theme:
|
||||
name: material
|
||||
custom_dir: docs/overrides
|
||||
custom_dir: docs/_overrides
|
||||
language: en
|
||||
palette:
|
||||
scheme: default
|
||||
|
@ -29,16 +29,13 @@ theme:
|
|||
font:
|
||||
text: Roboto
|
||||
code: Roboto Mono
|
||||
i18n:
|
||||
prev: Previous
|
||||
next: Next
|
||||
logo: assets/logo.png
|
||||
favicon: assets/favicon.ico
|
||||
include_search_page: false
|
||||
search_index_only: true
|
||||
|
||||
extra_css:
|
||||
- css/extra.css
|
||||
- assets/stylesheets/extra.css
|
||||
|
||||
markdown_extensions:
|
||||
- admonition
|
||||
|
@ -59,6 +56,7 @@ markdown_extensions:
|
|||
plugins:
|
||||
- exclude:
|
||||
glob:
|
||||
- "_overrides/*"
|
||||
- "Dockerfile"
|
||||
- git-revision-date-localized:
|
||||
type: iso_datetime
|
||||
|
|
Loading…
Reference in a new issue