mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig.space.git
synced 2025-12-13 16:26:50 +00:00
👻 Fix player script name
As Amplitude is also the name of a tracking service, the script gets blocked by extensions like uBlock Origin.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
"scripts": {
|
||||
"clean": "rm -rf dist generated && mkdir -p dist generated",
|
||||
"fetch": "node tasks/fetch_feed.js",
|
||||
"copy": "cp -r static/* dist && cp node_modules/amplitudejs/dist/amplitude.min.js dist/js/amplitude.js",
|
||||
"copy": "cp -r static/* dist && cp node_modules/amplitudejs/dist/amplitude.min.js dist/js/player.js",
|
||||
"init": "npm-run-all clean -p fetch copy build:data",
|
||||
"start": "NODE_ENV=development npm-run-all init -p start:*",
|
||||
"start:data": "onchange -k 'content/**/*' -- npm run build:data",
|
||||
|
||||
@@ -40,7 +40,7 @@ html(lang="en")
|
||||
link(rel="manifest" href="/site.webmanifest")
|
||||
link(rel="mask-icon" href=assetPath("/img/favicon/safari-pinned-tab.svg") color=themeColor)
|
||||
link(rel="stylesheet" href=assetPath("/css/main.css"))
|
||||
script(src=assetPath("/js/amplitude.js") defer)
|
||||
script(src=assetPath("/js/player.js") defer)
|
||||
script(src=assetPath("/js/main.js"))
|
||||
title= pageTitle
|
||||
noscript
|
||||
|
||||
Reference in New Issue
Block a user