add a magnet link

This commit is contained in:
idk
2020-01-04 13:06:32 -05:00
parent a06b349d5f
commit 24fd8a98c3
2 changed files with 4 additions and 1 deletions

View File

@@ -64,6 +64,8 @@ amo-readme:
sed 's|</h3>|</strong>|g' | \
grep -v '<img' > amo-index.html
MAGNET=`torrent2magnet i2ppb@eyedeekay.github.io.xpi.torrent`
index:
@echo "<!DOCTYPE html>" > index.html
@echo "<html>" >> index.html
@@ -71,7 +73,7 @@ index:
@echo " <title>I2P in Private Browsing Mode</title>" >> index.html
@echo " <link rel=\"stylesheet\" type=\"text/css\" href =\"home.css\" />" >> index.html
@echo "</head>" >> index.html
markdown README.md >> index.html
sed "s|magnet|$(TORRENT)|g" README.md >> index.html
@echo "</html>" >> index.html

View File

@@ -36,6 +36,7 @@ Bittorrent Download:
The self-hosted plugin is available from I2P both within the I2P and Clearnet
Bittorrent network.
* magnetsub
* [Get the .torrent file](./i2ppb@eyedeekay.github.io.xpi.torrent)
Usage: