feat: publish unlisted GTIN tool
This commit is contained in:
@@ -91,9 +91,10 @@ fi
|
||||
|
||||
printf '\n== routes\n'
|
||||
for route in / /fotografie/ /businessfotografie/ /portrait-und-model/ /familie/ \
|
||||
/minishootings/ /video/ /musik-und-buehne/ /social-media/ /projekte/ /ueber/ /kontakt/ /impressum/ /datenschutz/; do
|
||||
/minishootings/ /video/ /musik-und-buehne/ /social-media/ /projekte/ /ueber/ /kontakt/ /impressum/ /datenschutz/ /gtin/; do
|
||||
check_status "$base$route" 200
|
||||
done
|
||||
check_redirect "$base/gtin" "$base/gtin/"
|
||||
|
||||
# The retired photo URL must keep working: it is the umbrella page now.
|
||||
check_redirect "$base/shootings" "$base/fotografie/"
|
||||
@@ -139,6 +140,18 @@ check_contains "$base/musik-und-buehne/" "Sagenbringer"
|
||||
check_contains "$base/impressum/" "§ 5 DDG"
|
||||
check_contains "$base/impressum/" "DE462149560"
|
||||
check_contains "$base/datenschutz/" "keine Zugriffsprotokolle"
|
||||
check_contains "$base/datenschutz/" "bis zu 20"
|
||||
check_contains "$base/impressum/" "GTIN-Tool"
|
||||
check_contains "$base/gtin/" 'name="robots" content="noindex, nofollow"'
|
||||
check_not_contains "$base/" 'href="/gtin'
|
||||
check_not_contains "$base/sitemap.xml" "/gtin/"
|
||||
check_contains "$base/gtin/" 'href="/impressum/"'
|
||||
check_contains "$base/gtin/" 'href="/datenschutz/"'
|
||||
for route in / /fotografie/ /businessfotografie/ /portrait-und-model/ /familie/ \
|
||||
/minishootings/ /video/ /musik-und-buehne/ /social-media/ /projekte/ /ueber/ \
|
||||
/kontakt/ /impressum/ /datenschutz/; do
|
||||
check_not_contains "$base$route" 'href="/gtin'
|
||||
done
|
||||
check_contains "$base/datenschutz/" "youtube-nocookie.com"
|
||||
check_contains "$base/video/" "NWWFTf7l8g0"
|
||||
check_contains "$base/" "https://www.dennyschulz.de/"
|
||||
@@ -157,6 +170,17 @@ check_status "$base/assets/img/logo-160.png" 200
|
||||
check_status "$base/assets/img/favicon-32.png" 200
|
||||
check_status "$base/assets/img/og-fotografie.jpg" 200
|
||||
check_status "$base/assets/site.css" 200
|
||||
check_status "$base/gtin/css/app.css" 200
|
||||
check_status "$base/gtin/js/app.js" 200
|
||||
check_status "$base/gtin/sw.js" 200
|
||||
check_status "$base/gtin/manifest.webmanifest" 200
|
||||
check_status "$base/gtin/health" 404
|
||||
manifest_type="$(curl -sSI --max-time 30 "$base/gtin/manifest.webmanifest" | tr -d '\r' | grep -i '^content-type:' || true)"
|
||||
if printf '%s' "$manifest_type" | grep -qi 'application/manifest+json'; then
|
||||
pass "$base/gtin/manifest.webmanifest uses the Web App Manifest MIME type"
|
||||
else
|
||||
fail "$base/gtin/manifest.webmanifest has wrong Content-Type: ${manifest_type:-<missing>}"
|
||||
fi
|
||||
check_status "$base/assets/fonts/fraunces-latin.woff2" 200
|
||||
# The portfolio expansion ships the operator's own public work...
|
||||
check_status "$base/assets/img/music-dreadlocks-1200.webp" 200
|
||||
|
||||
Reference in New Issue
Block a user