projects
/
eg-antora.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0986ee8
)
remove redundant guard around description and keywords meta
author
Dan Allen
<dan@opendevise.com>
Wed, 8 Apr 2020 07:28:24 +0000
(
01:28
-0600)
committer
Dan Allen
<dan@opendevise.com>
Wed, 8 Apr 2020 07:28:24 +0000
(
01:28
-0600)
src/partials/head-info.hbs
patch
|
blob
|
history
diff --git
a/src/partials/head-info.hbs
b/src/partials/head-info.hbs
index
bf1f19b
..
e6e9112
100644
(file)
--- a/
src/partials/head-info.hbs
+++ b/
src/partials/head-info.hbs
@@
-1,14
+1,12
@@
{{#with page.canonicalUrl}}
<link rel="canonical" href="{{this}}">
{{/with}}
- {{#if page.component}}
{{#with page.description}}
<meta name="description" content="{{this}}">
{{/with}}
{{#with page.keywords}}
<meta name="keywords" content="{{this}}">
{{/with}}
- {{/if}}
{{#with (or antoraVersion site.antoraVersion)}}
<meta name="generator" content="Antora {{this}}">
{{/with}}