Skip to content

Commit 2478f30

Browse files
authored
fix iframe title (#72)
1 parent 8e3b666 commit 2478f30

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/util/amphtml.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,10 @@ export function wrapAmpHtml(tree, config, context) {
149149
<html amp lang="en">
150150
<head>
151151
<meta charset="utf-8" />
152-
<title>${encodeHtmlEntities(context.title)}</title>
152+
<title>
153+
${encodeHtmlEntities(context.kind)}
154+
${encodeHtmlEntities(context.name)}
155+
</title>
153156
<meta
154157
name="viewport"
155158
content="width=device-width,minimum-scale=1,initial-scale=1"

0 commit comments

Comments
 (0)