mitsuba 1.10.0

Lightweight 4chan board archive software (like Foolfuuka), in Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{{#if tim}}
<div class="file" id="f{{no}}">
    <div class="fileText" id="fT{{no}}" {{#if spoiler}}title="{{shorten 25 filename}}{{ext}}"{{/if}}>File: <a 

        href="{{get_file_url file_sha256 ext}}" 

        target="_blank">{{#unless spoiler}}{{shorten 25 filename}}{{ext}}{{else}}Spoiler Image{{/unless}}</a> ({{b_to_kb fsize}} KB, {{w}}x{{h}})</div>
    <a class="fileThumb{{#if spoiler}} imgspoiler{{/if}}" href="{{get_file_url file_sha256 ext}}" 

    target="_blank">{{#unless spoiler}}<img src="{{get_thumbnail_url thumbnail_sha256}}" 

    alt="{{b_to_kb fsize}} KB" data-md5="{{md5}}" 

    style="height: {{tn_h}}px; width: {{tn_w}}px;" loading="lazy">{{else}}<img src="/static/image/spoiler.png" 

    alt="{{b_to_kb fsize}} KB" data-md5="{{md5}}" 

    style="height: 100px; width: 100px;" loading="lazy">{{/unless}}
    <div data-tip data-tip-cb="mShowFull" class="mFileInfo mobile">{{b_to_kb fsize}} KB {{ext}}</div>
    </a>
</div>
{{/if}}