diff options
author | cel 🌸 <cel@blos.sm> | 2024-07-18 01:37:00 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2024-07-18 01:37:00 +0100 |
commit | 6c6319c3ecfb9606c32b3c6c9b487da33911f8b6 (patch) | |
tree | a4acdd5843e8e440d01b1ab2bfa4ba0370d04c5e /templates/article-resource.html | |
parent | 43ea12ee41d39f387bf4338b5709fffdb1650f0e (diff) | |
download | infoculture.pub-6c6319c3ecfb9606c32b3c6c9b487da33911f8b6.tar.gz infoculture.pub-6c6319c3ecfb9606c32b3c6c9b487da33911f8b6.tar.bz2 infoculture.pub-6c6319c3ecfb9606c32b3c6c9b487da33911f8b6.zip |
add resources dir
Diffstat (limited to 'templates/article-resource.html')
-rw-r--r-- | templates/article-resource.html | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/templates/article-resource.html b/templates/article-resource.html deleted file mode 100644 index e3d9cac..0000000 --- a/templates/article-resource.html +++ /dev/null @@ -1,44 +0,0 @@ -<article> - $if(thumbnail)$ - <div class="thumbnail" style="height: 30vh;">$thumbnail$</div> - $endif$ - $if(torrent)$ - <div> - <video controls class="thumbnail" id="media-$id$" style="height: 30vh;"></video> - <script type='module'> - const torrentId = '$torrent$'; - const player = document.querySelector('#media-$id$'); - window.torrentClient.add(torrentId, torrent => { - const file = torrent.files.find(file => file.name.endsWith('.mp4')); - file.streamTo(player); - }); - </script> - </div> - $endif$ - <div class="panel"> - <section class="header"> - <div class="title"> - <h1>$title$</h1> - <a href="https://infoculture.pub$url$">permalink</a> - <a href="/$path$">raw</a> - $if(torrent)$ - <a href="$torrent$">magnet link</a> - $endif$ - </div> - <div class="meta"> - $if(author)$ - <h2 class="author">$author$</h2> - $endif$ - <h3 class="date">$date$</h3> - $if(tags)$ - <h3 class="tags">$tags$</h3> - $endif$ - </div> - </section> - <br> - <br> - <section> - $body$ - </section> - </div> -</article>
\ No newline at end of file |