you WOULD type a script
This commit is contained in:
parent
8cb6752168
commit
7a08c05cea
11 changed files with 385 additions and 359 deletions
|
@ -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>
|
||||
|
|
|
@ -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 = ""
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue