Skip to content

Commit 547aa5a

Browse files
committed
chore: add google-search-console meta tag to _document
1 parent 237680f commit 547aa5a

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

components/Html.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ type Props = {
88
export default function Html({ children, className }: Props) {
99
return (
1010
<MathJaxContext>
11-
<MathJax>
11+
<MathJax hideUntilTypeset="first">
1212
<span
1313
className={className}
1414
dangerouslySetInnerHTML={{ __html: children }}
1515
/>
1616
</MathJax>
1717
</MathJaxContext>
18-
1918
);
2019
}

pages/_document.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ class MyDocument extends Document {
2020
<Html lang="en">
2121
<Head>
2222
<link href="/favicon.ico" rel="icon" />
23+
<meta name="google-site-verification" content="l7VjaJvG_OgqxbCyZDDtk_ykMcPXyqwTSoWnf94hGQk" />
2324
<script
2425
async
2526
src={`https://www.googletagmanager.com/gtag/js?id=${GA_TRACKING_ID}`}

pages/packages/[package]/versions/[version]/topics/[topic].tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export default function TopicPage({ topicData }: Props) {
123123
{value && (
124124
<section>
125125
<h2>Value</h2>
126-
<Html>{value}</Html>
126+
<Html className="list-view">{value}</Html>
127127
</section>
128128
)}
129129
{sections && sections.length > 0 && (
@@ -144,7 +144,7 @@ export default function TopicPage({ topicData }: Props) {
144144
{details && (
145145
<section>
146146
<h2>Details</h2>
147-
<Html>{details}</Html>
147+
<Html className="list-view">{details}</Html>
148148
</section>
149149
)}
150150
{references && (

0 commit comments

Comments
 (0)