diff --git a/templates/layouts/partials/base.jet.html b/templates/layouts/partials/base.jet.html index 1921f10f..402c7539 100644 --- a/templates/layouts/partials/base.jet.html +++ b/templates/layouts/partials/base.jet.html @@ -44,7 +44,7 @@ - {{ AdType := kilo_rand(3) }} + {{ AdType := kilo_rand(1) }}
{{ yield infos()}} diff --git a/templates/layouts/partials/helpers/ad.jet.html b/templates/layouts/partials/helpers/ad.jet.html index 051a38c8..8cba9795 100644 --- a/templates/layouts/partials/helpers/ad.jet.html +++ b/templates/layouts/partials/helpers/ad.jet.html @@ -8,12 +8,3 @@ {{end}} {{end}} {{end}} -{{block ad_cube()}} -{{ if !kilo_strcmp(URL.String(), "/mod", 4, 1) }} - {{ ID := kilo_rand(2) + (Sukebei()) }} - {{ if ID == 0}} JList Games {{ end }} - {{ if ID == 1}} JList Snacks {{ end }} - {{ if ID == 2}} JList Touhou {{ end }} - {{ if ID == 3}} JList Onaholes {{ end }} -{{end}} -{{end}} diff --git a/templates/layouts/partials/torrent_item.jet.html b/templates/layouts/partials/torrent_item.jet.html index c29d821a..97c52c1c 100644 --- a/templates/layouts/partials/torrent_item.jet.html +++ b/templates/layouts/partials/torrent_item.jet.html @@ -30,6 +30,11 @@ Templates.Add("torrents.item", function(torrent) { var languages = "" var colspan = (torrent.comments.length == 0 ? ` colspan="2"` : "" ) var commentTd = ((torrent.comments.length > 0) ? `` + torrent.comments.length + `` : "") + + var stats = ["-", "-", "-"] + if(torrent.seeders != 0 || torrent.leechers != 0 || torrent.completed != 0) + stats = [torrent.seeders, torrent.leechers, torrent.completed] + if (torrent.languages[0] != "") { var flagClass = (torrent.languages.length == 1) ? Templates.FlagCode(torrent.languages[0]) : "multiple" @@ -56,9 +61,9 @@ Templates.Add("torrents.item", function(torrent) { `+ `
` +` ` + humanFileSize(torrent.filesize) + ` - ` + torrent.seeders == 0 ? `-` : torrent.seeders + ` - ` + torrent.leechers == 0 ? `-` : torrent.leechers + ` - ` + torrent.completed == 0 ? `-` : torrent.completed + ` + ` + stats[0] + ` + ` + stats[1] + ` + ` + stats[2] + ` ` + torrent.date + ` `; }); diff --git a/templates/site/static/faq.jet.html b/templates/site/static/faq.jet.html index 32946961..64c6c094 100644 --- a/templates/site/static/faq.jet.html +++ b/templates/site/static/faq.jet.html @@ -17,7 +17,7 @@ Nyaa - https://nyoo.moe/ (Mirror)
Sukebei - https://sukebei.nyoo.moe/ (Mirror)
Nyaa - https://nyaa.pt/ (Mirror)
- Sukebei - https://sukebei.nyaa.pt/ (Mirror) + Sukebei - https://sukebei.nyaa.pt/ (Mirror)
Nyaa - dpzz6tjaqbl3ttba.onion (Mirror)
Sukebei - 34knbgrnvicofdgz.onion (Mirror)