feat: add news sanitize CLI command and upload static file serving with content-disposition

This commit is contained in:
2026-05-22 23:50:31 +00:00
parent 92c1bfca47
commit 8eea7cc0c9
33 changed files with 947 additions and 765 deletions
+2 -2
View File
@@ -47,7 +47,7 @@
<div class="gists-grid">
{% for item in gists %}
<a href="/gists/{{ item.gist['slug'] or item.gist['uid'] }}" class="gist-card fade-in">
<div class="gist-card fade-in" data-href="/gists/{{ item.gist['slug'] or item.gist['uid'] }}">
<div class="gist-card-header">
<h3 class="gist-card-title">{{ item.gist['title'] }}</h3>
<form method="POST" action="/votes/gist/{{ item.gist['uid'] }}" class="inline-form" data-stop-propagation>
@@ -71,7 +71,7 @@
</div>
<span>{{ item.time_ago }}</span>
</div>
</a>
</div>
{% else %}
<div class="empty-state empty-state-full">No gists found. Create one!</div>
{% endfor %}