Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
abjarna committed Jul 2, 2024
1 parent 716f436 commit 8e0dc4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sh/build-dev-dirhtml-latexpdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ find _build/html/ -name '*.html' -exec sed -i '' -e 's/<head>/<head>\n<meta name
find _build/html/ -name '*.html' -exec sed -i '' -e 's|href="https://rit.rubik.is/|href="https://rit-dev.rubik.is/|g' {} +

# Fjarlægja Google Tag Manager kóða fyrir DEV
find _build/html/ -name '*.html' -exec sed -i'' -e '/<script>(function(w,d,s,l,i){w\[l\]=w\[l\]\|\|\[\];w\[l\]\.push({/,/GTM-PL8JH23F/ d' {} \;
# find _build/html/ -name '*.html' -exec sed -i '' -e '/<script>(function(w,d,s,l,i){w\[l\]=w\[l\]\|\|\[\];w\[l\]\.push({/,/GTM-PL8JH23F/ d' {} \;
find _build/html/ -name '*.html' -exec sed -i '' -e '/ <noscript><iframe src="https:\/\/www.googletagmanager.com\/ns.html?id=GTM-PL8JH23F"/,/<\/noscript>/d' {} \;

# Breyta <title> á forsíðu, með því að fjarlægja "* &ndash; " (sem er skilgreint í "_templates/layout.html")
Expand Down

0 comments on commit 8e0dc4a

Please sign in to comment.