use I2P urls, replace with clearnet URLS on clearnet pages via Javascript

This commit is contained in:
idk
2020-01-28 22:10:36 -05:00
parent c4eb0965d4
commit 8c51d6ec16
3 changed files with 35 additions and 1 deletions

View File

@ -13,7 +13,9 @@ index: README
@echo "</head>" >> index.html
@echo "<body>" >> index.html
sed "s|magnetsub|[Magnet Link]($(MAGNET))|g" README.md | \
sed 's|https://github.com/eyedeekay/various-i2p-browsers/tree/master||g' | markdown | tee -a index.html
sed 's|https://github.com/eyedeekay/various-i2p-browsers/tree/master||g' | \
markdown | tee -a index.html
@echo " <script src=\"script.js\" type=\"text/javascript\"></script>" >> index.html
@echo "</body>" >> index.html
@echo "</html>" >> index.html