you WOULD type a script

This commit is contained in:
rhiannon morris 2023-09-07 01:17:21 +02:00
parent 8cb6752168
commit 7a08c05cea
11 changed files with 385 additions and 359 deletions

View file

@ -42,7 +42,7 @@ make' root (GalleryInfo {title, desc, prefix, filters, hidden}) infos = [b|@0
<meta name=robots content='noai,noimageai'>
<script src=/script/gallery.js></script>
<script src=/script/gallery.js type=module></script>
$0.nsfwScript
<title>$title</title>

View file

@ -12,7 +12,7 @@ instance CanBuild What where
script :: Maybe What -> Builder
script Nothing = ""
script (Just _) = [b|<script src=/script/nsfw-warning.js></script>|]
script (Just _) = [b|<script src=/script/nsfw-warning.js type=module></script>|]
dialog :: Maybe What -> Builder
dialog Nothing = ""

View file

@ -141,7 +141,7 @@ make' root siteName prefix nsfw _dataDir dir
<meta name=robots content='noai,noimageai'>
<script src=/script/single.js></script>
<script src=/script/single.js type=module></script>
$nsfwScript
$bgStyle