Skip to content

Commit 9f84a36

Browse files
committed
Add support for meta tags
1 parent e5cebbc commit 9f84a36

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
author: Ramon de C Valle
12
baseurl: /jekyll-theme-bootstrap4
3+
description: A Bootstrap-based Jekyll theme.
24
excerpts: true
35
exclude:
46
- "*.gemspec"

_layouts/default.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,12 @@
5555
border-color: var(--color-gray-300);
5656
}
5757
</style>
58+
{% if site.author %}
59+
<meta name="author" content="{{ site.author }}">
60+
{% endif %}
61+
{% if site.description %}
62+
<meta name="description" content="{{ site.description }}">
63+
{% endif %}
5864
</head>
5965
<body>
6066
{% include navigation.html %}

0 commit comments

Comments
 (0)