diff --git a/.gitignore b/.gitignore
index 1b476d8..c6e245b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,5 @@ annastorrents.exe
annastorrents
torrents.db
torrents.db-shm
-torrents.db-wal
\ No newline at end of file
+torrents.db-wal
+assets/torrents
\ No newline at end of file
diff --git a/main.go b/main.go
index c5cd335..b684bd2 100644
--- a/main.go
+++ b/main.go
@@ -1122,7 +1122,7 @@ func getTemplateContent(name string) string {
{{.StatusLabel}} |
Magnet |
- {{if $.Torrents}}
+ {{if torrentsEnabled}}
Torrent
{{else}}
Torrent
@@ -1148,11 +1148,11 @@ func getTemplateContent(name string) string {
| Size | {{.FormattedDataSize}} |
Magnet Link | Magnet |
Torrent Link |
- {{if $.Torrents}}
- Torrent
- {{else}}
- Torrent
- {{end}}
+ {{if torrentsEnabled}}
+ Torrent
+ {{else}}
+ Torrent
+ {{end}}
|
Last Update | {{.StatsScrapedAt}} |
diff --git a/torrents.db b/torrents.db
index 5baa69b..a4f808e 100644
Binary files a/torrents.db and b/torrents.db differ