mirror of
https://git.v0l.io/Kieran/dtan.git
synced 2025-01-18 04:41:32 +00:00
feat: add alt tag
This commit is contained in:
parent
b4cc59d25f
commit
1935b5a051
@ -90,7 +90,8 @@ export function NewPage() {
|
||||
.kind(TorrentKind)
|
||||
.content(obj.desc)
|
||||
.tag(["title", obj.name])
|
||||
.tag(["btih", obj.btih]);
|
||||
.tag(["btih", obj.btih])
|
||||
.tag(["alt", `${obj.name}\nTorrent published on https://dtan.xyz`]);
|
||||
|
||||
obj.tags.forEach((t) => v.tag(["t", t]));
|
||||
obj.files.forEach((f) => v.tag(["file", f.name, String(f.size)]));
|
||||
|
Loading…
Reference in New Issue
Block a user