diff options
author | EuAndreh <eu@euandre.org> | 2021-10-06 14:36:42 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-10-06 14:36:42 -0300 |
commit | 3370290bc7e55d26165dcec12885d4fd2e7c442e (patch) | |
tree | 737edbdcf4e7426da63cf694e8387a8f620862cd /_layouts/post.html | |
parent | configure: Remove file (diff) | |
download | euandre.org-3370290bc7e55d26165dcec12885d4fd2e7c442e.tar.gz euandre.org-3370290bc7e55d26165dcec12885d4fd2e7c442e.tar.xz |
Stop using WebTorrent
I'll stick with just plain torrent + web seed, to reduce the
dependencies of the website.
Diffstat (limited to '_layouts/post.html')
-rw-r--r-- | _layouts/post.html | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index 13dbf21..345f781 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -19,10 +19,7 @@ layout: default </audio> <div class="torrent-link"> - {% capture torrent-file %}{{ ogg | absolute_url | append: ".torrent" }}{% endcapture %} - <a href="{{ torrent-file }}">torrent</a> - | - <a href="/torrent.html?torrent={{ torrent-file | uri_escape }}">online webtorrent</a> + <a href="{{ ogg | absolute_url | append: ".torrent" }}">torrent</a> </div> {% endif %} @@ -33,10 +30,7 @@ layout: default </video> <div class="torrent-link"> - {% capture torrent-file %}{{ webm | absolute_url | append: ".torrent" }}{% endcapture %} - <a href="{{ torrent-file }}">torrent</a> - | - <a href="/torrent.html?torrent={{ torrent-file | uri_escape }}">online webtorrent</a> + <a href="{{ webm | absolute_url | append: ".torrent" }}">torrent</a> </div> {% endif %} |