Skip to content

chore: add gsc meta tag for verification #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions components/Html.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@ type Props = {
export default function Html({ children, className }: Props) {
return (
<MathJaxContext>
<MathJax>
<MathJax hideUntilTypeset="first">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure why those Mathjax changes are here, maybe you rebase from the wrong branch? 🤔

<span
className={className}
dangerouslySetInnerHTML={{ __html: children }}
/>
</MathJax>
</MathJaxContext>

);
}
1 change: 1 addition & 0 deletions pages/_document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ class MyDocument extends Document {
<Html lang="en">
<Head>
<link href="/favicon.ico" rel="icon" />
<meta name="google-site-verification" content="l7VjaJvG_OgqxbCyZDDtk_ykMcPXyqwTSoWnf94hGQk" />
<script
async
src={`https://www.googletagmanager.com/gtag/js?id=${GA_TRACKING_ID}`}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default function TopicPage({ topicData }: Props) {
{value && (
<section>
<h2>Value</h2>
<Html>{value}</Html>
<Html className="list-view">{value}</Html>
</section>
)}
{sections && sections.length > 0 && (
Expand All @@ -144,7 +144,7 @@ export default function TopicPage({ topicData }: Props) {
{details && (
<section>
<h2>Details</h2>
<Html>{details}</Html>
<Html className="list-view">{details}</Html>
</section>
)}
{references && (
Expand Down