Attachment html

FossilOrigin-Name: cd69edc7941f8b3c45c7d9bf3cfa3a3d6d79be000d775866ee64c57f1c7fb944
This commit is contained in:
me@ow.nekobit.net 2022-02-28 04:36:04 +00:00
parent 0baa52545f
commit ae3f4f577b
4 changed files with 9 additions and 0 deletions

View file

@ -44,6 +44,10 @@ $(PAGES_DIR)/lists.chtml: $(PAGES_DIR)/lists.html
./filec $< data_lists_html > $@
$(PAGES_DIR)/error.chtml: $(PAGES_DIR)/error.html
./filec $< data_error_html > $@
$(PAGES_DIR)/attachments.chtml: $(PAGES_DIR)/attachments.html
./filec $< data_attachments_html > $@
$(PAGES_DIR)/attachment_image.chtml: $(PAGES_DIR)/attachment_image.html
./filec $< data_attachment_image_html > $@
$(MASTODONT_DIR):
git clone $(MASTODONT_URL) || true

View file

@ -0,0 +1 @@
<img src="%s">

3
static/attachments.html Normal file
View file

@ -0,0 +1,3 @@
<div class="attachments">
%s
</div>

View file

@ -12,6 +12,7 @@
<span class="status-content">
%s
</span>
%s
<div class="status-interact">
<ul>
<li>