niallkp commented on PR #542:
URL: 
https://github.com/apache/druid-website-src/pull/542#issuecomment-2836840297

   Had to work it out again as I didn't save them - the following removes 
everything except for file **downloads_apache.html** which I manually edited.
   
   `find . -type f -name '*.html' -exec sed -z "s/<script async=\"\" 
src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=UA-131010415-1\"><\/script><script>\n
              window.dataLayer = window.dataLayer || \[\];\n              
function gtag(){dataLayer.push(arguments); }\n              gtag('js', new 
Date());\n              gtag('config', 'UA-131010415-1');\n            /\n/" -i 
{} \;`
   
   `find . -type f -name '*.html' -exec sed -z "s/\n<link rel=\"preconnect\" 
href=\"https:\/\/www.googletagmanager.com\">\n<script async 
src=\"https:\/\/www.googletagmanager.com\/gtag\/js?id=UA-131010415-1\"><\/script>\n<script>function
 
gtag(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||\[\],gtag(\"js\",new
 Date),gtag(\"config\",\"UA-131010415-1\",{.)<\/script>\n/\n/" -i {} \;`
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to