If page has a description use that for meta data

This commit is contained in:
Patrick Marsceill 2019-01-06 15:48:58 -05:00
parent 4a9b4fd5b1
commit f264034999
No known key found for this signature in database
GPG Key ID: 286B93882D828F40
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
{% if page.description %}
<meta name="Description" content="{{ page.description }}">
{% endif %}
<title>{{ page.title }} - {{ site.title }}</title>
<link rel="stylesheet" href="{{ "/assets/css/just-the-docs.css" | absolute_url }}">