Add Meta Description to Head Template
Now, the meta description tag will contain the text specified within the _config.yml file. Also, the tag will only be displayed on the landing page.
This commit is contained in:
parent
13412353f8
commit
3a5cf334ee
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
{% if page.title == "Home" %}
|
||||
<meta name="description" content="{{ site.description }}">
|
||||
{% endif %}
|
||||
|
||||
<title>
|
||||
{% if page.title == "Home" %}
|
||||
|
|
Loading…
Reference in a new issue