File tree Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Expand file tree Collapse file tree 1 file changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,27 @@ const frontmatter = entry.data;
25
25
26
26
{ /* Add meta tags for the new fields */ }
27
27
{ frontmatter .audience && (
28
- <meta name = " audience" content = { Array .isArray (frontmatter .audience ) ? frontmatter .audience .join (' , ' ) : frontmatter .audience } />
28
+ <meta
29
+ name = " audience"
30
+ content = {
31
+ Array .isArray (frontmatter .audience )
32
+ ? frontmatter .audience .join (' , ' )
33
+ : frontmatter .audience
34
+ }
35
+ />
29
36
)}
30
37
{ frontmatter .complexity && (
31
38
<meta name = " complexity" content = { frontmatter .complexity } />
32
39
)}
33
40
{ frontmatter .keywords && (
34
- <meta name = " keywords" content = { frontmatter .keywords .join (' , ' )} />
41
+ <meta
42
+ name = " keywords"
43
+ content = {
44
+ Array .isArray (frontmatter .keywords )
45
+ ? frontmatter .keywords .join (' , ' )
46
+ : ' '
47
+ }
48
+ />
35
49
)}
36
50
{ frontmatter .ai_summary && (
37
51
<meta name = " ai-summary" content = { frontmatter .ai_summary } />
You can’t perform that action at this time.
0 commit comments