have the meta tags be pulled from the metadata of the chapter.

This commit is contained in:
Adam Kerrigan 2021-02-15 17:08:15 +00:00
parent b9782b0ec2
commit ca3e426f4a
1 changed files with 3 additions and 1 deletions

View File

@ -16,7 +16,9 @@
{{> head}} {{> head}}
<meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta name="description" content="{{ description }}"> {{#if description}}<meta name="description" content="{{ description }}">{{/if}}
{{#if keywords}}<meta name="keywords" content="{{#each keywords}}{{lookup ../keywords @index}}, {{/each}}">{{/if}}
{{#if author}}<meta name="author" content="{{ author }}">{{/if}}
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#ffffff" /> <meta name="theme-color" content="#ffffff" />