Skip to content

Commit 49e74fd

Browse files
committed
include meta.html fragment
1 parent 832d5ce commit 49e74fd

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

_includes/themes/htk/default.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="utf-8">
5-
<title>{{ page.title }}</title>
6-
{% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
7-
<meta name="author" content="{{ site.author.name }}">
8-
<meta name="description" content="{{ site.title }} : {{ site.tagline }}" />
4+
{% include themes/htk/fragments/meta.html %}
95

106
<!-- Enable responsive viewport -->
117
<meta name="viewport" content="width=device-width, initial-scale=1.0">

_includes/themes/htk/fragments/meta.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<meta charset="utf-8">
22
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
3-
{% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
3+
<meta name="description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.title }} : {{ site.tagline }}{% endif %}">
44
<meta name="author" content="{{ site.author.name }}">
55
{% comment %}----- Site Verifications -----{% endcomment %}
66
{% if site.verifications.alexa %}

0 commit comments

Comments
 (0)