From 5821103c00e3194e1807ef185086283692ed45f7 Mon Sep 17 00:00:00 2001 From: Atli Bjarnason Date: Sun, 28 Jul 2024 17:03:49 +0000 Subject: [PATCH] update --- sh/build-dev-dirhtml-latexpdf.sh | 2 +- sh/build-dev-html-latexpdf.sh | 2 +- sh/build-dev-html.sh | 2 +- sh/build-main-dirhtml-latexpdf.sh | 2 +- sh/build-main-html-latexpdf.sh | 2 +- sh/build-main-html.sh | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sh/build-dev-dirhtml-latexpdf.sh b/sh/build-dev-dirhtml-latexpdf.sh index dc875d3..c5baf7c 100755 --- a/sh/build-dev-dirhtml-latexpdf.sh +++ b/sh/build-dev-dirhtml-latexpdf.sh @@ -15,7 +15,7 @@ find _build/html/ -name '*.html' -exec sed -i '' -e 's|href="https://rit.rubik.i find _build/html/ -name '*.html' -exec sed -i '' -e 's|PL8JH23F|MLN5L94K|g' {} + # Hafa bara eitt tag í öllum HTML skrám -find _build/html/ -name '*.html' -exec sed -i '' '/||' {} + # Breyta á forsíðu, með því að fjarlægja "* – " (sem er skilgreint í "_templates/layout.html") diff --git a/sh/build-dev-html-latexpdf.sh b/sh/build-dev-html-latexpdf.sh index 414a92d..2472baa 100755 --- a/sh/build-dev-html-latexpdf.sh +++ b/sh/build-dev-html-latexpdf.sh @@ -15,7 +15,7 @@ find _build/html/ -name '*.html' -exec sed -i '' -e 's|href="https://rit.rubik.i find _build/html/ -name '*.html' -exec sed -i '' -e 's|PL8JH23F|MLN5L94K|g' {} + # Hafa bara eitt <meta name="viewport"...> tag í öllum HTML skrám -find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .*/d' {} + +find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .* /d' {} + find _build/html/ -name '*.html' -exec sed -i '' -e 's|<meta charset="utf-8" />|<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />|' {} + # Breyta <title> á forsíðu, með því að fjarlægja "* – " (sem er skilgreint í "_templates/layout.html") diff --git a/sh/build-dev-html.sh b/sh/build-dev-html.sh index e74e440..2d3ba1b 100755 --- a/sh/build-dev-html.sh +++ b/sh/build-dev-html.sh @@ -15,7 +15,7 @@ find _build/html/ -name '*.html' -exec sed -i '' -e 's|href="https://rit.rubik.i find _build/html/ -name '*.html' -exec sed -i '' -e 's|PL8JH23F|MLN5L94K|g' {} + # Hafa bara eitt <meta name="viewport"...> tag í öllum HTML skrám -find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .*/d' {} + +find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .* /d' {} + find _build/html/ -name '*.html' -exec sed -i '' -e 's|<meta charset="utf-8" />|<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />|' {} + # Breyta <title> á forsíðu, með því að fjarlægja "* – " (sem er skilgreint í "_templates/layout.html") diff --git a/sh/build-main-dirhtml-latexpdf.sh b/sh/build-main-dirhtml-latexpdf.sh index a14f557..b192030 100755 --- a/sh/build-main-dirhtml-latexpdf.sh +++ b/sh/build-main-dirhtml-latexpdf.sh @@ -6,7 +6,7 @@ make clean sphinx-build -b dirhtml . _build/html # Hafa bara eitt <meta name="viewport"...> tag í öllum HTML skrám -find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .*/d' {} + +find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .* /d' {} + find _build/html/ -name '*.html' -exec sed -i '' -e 's|<meta charset="utf-8" />|<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />|' {} + # Breyta <title> á forsíðu, með því að fjarlægja "* – " (sem er skilgreint í "_templates/layout.html") diff --git a/sh/build-main-html-latexpdf.sh b/sh/build-main-html-latexpdf.sh index 3d8ae78..6b727b0 100755 --- a/sh/build-main-html-latexpdf.sh +++ b/sh/build-main-html-latexpdf.sh @@ -6,7 +6,7 @@ make clean sphinx-build -b html . _build/html # Hafa bara eitt <meta name="viewport"...> tag í öllum HTML skrám -find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .*/d' {} + +find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .* /d' {} + find _build/html/ -name '*.html' -exec sed -i '' -e 's|<meta charset="utf-8" />|<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />|' {} + # Breyta <title> á forsíðu, með því að fjarlægja "* – " (sem er skilgreint í "_templates/layout.html") diff --git a/sh/build-main-html.sh b/sh/build-main-html.sh index 5b935e2..7cbc24d 100755 --- a/sh/build-main-html.sh +++ b/sh/build-main-html.sh @@ -6,7 +6,7 @@ make clean sphinx-build -b html . _build/html # Hafa bara eitt <meta name="viewport"...> tag í öllum HTML skrám -find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .*/d' {} + +find _build/html/ -name '*.html' -exec sed -i '' '/<meta name="viewport" .* /d' {} + find _build/html/ -name '*.html' -exec sed -i '' -e 's|<meta charset="utf-8" />|<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />|' {} + # Breyta <title> á forsíðu, með því að fjarlægja "* – " (sem er skilgreint í "_templates/layout.html")