Skip to content

Commit

Permalink
Merge pull request #249 from mgreminger/robots-meta-update
Browse files Browse the repository at this point in the history
Update robots meta tag
  • Loading branch information
mgreminger authored Mar 30, 2024
2 parents 3b082e8 + 3b2e9d7 commit ec7e3e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset='utf-8'>
<meta name='description' content='EngineeringPaper.xyz is free and open source web app for creating shareable engineering calculations that checks/converts units, solves systems of equations, and plots.'>
<meta name='viewport' content='width=device-width,initial-scale=1'>
<meta name="googlebot" content="all" /> <!-- transformed by webworker to noindex,indexifembedded for sheet URL's-->
<meta name="robots" content="all" /> <!-- transformed by webworker to noindex,indexifembedded for sheet URL's-->
<meta name="theme-color" content="#e61f00" />

<title>EngineeringPaper.xyz</title>
Expand Down
2 changes: 1 addition & 1 deletion src/database/_worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export default {
});

response = new HTMLRewriter()
.on('meta[name="googlebot"]', new IndexIfEmbedded())
.on('meta[name="robots"]', new IndexIfEmbedded())
.transform(mainPage);

} else if ( (path === "/iframe_test.html" || path === "/iframe_test") &&
Expand Down

0 comments on commit ec7e3e7

Please sign in to comment.