Commit 6163e20a authored by Yohan Jarosz's avatar Yohan Jarosz

add ability to add keywords and description

parent c0b78fd9
......@@ -4,8 +4,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
<meta name="description" content="{% if page.description %}{{ page.description | strip_html | strip_newlines}}{% else %}{{ site.description }}{% endif %}">
{% if page.keywords %}
<meta name="keywords" content="{{page.keywords | join: ','}}" />
{% else %}
<meta name="keywords" content="{{site.keywords | join: ','}}" />
{% endif %}
{% if page.theme %}
<link rel="stylesheet" href="{{site.baseurl}}/css/{{page.theme}}.min.css">
{% else %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment