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
+1 -5
View File
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% if page_title %}{{ page_title }}{% else %}DevPlace The Developer Social Network{% endif %}</title>
<title>{% if page_title %}{{ page_title }}{% else %}DevPlace - The Developer Social Network{% endif %}</title>
<meta name="description" content="{% if meta_description %}{{ meta_description }}{% else %}Track industry shifts. Discover bold releases. Share what you're building in an open, uncensored environment.{% endif %}">
<link rel="canonical" href="{{ canonical_url or request.url }}">
<meta name="robots" content="{{ meta_robots or 'index,follow' }}">
@@ -158,10 +158,6 @@
<script defer src="https://cdn.jsdelivr.net/npm/marked/lib/marked.umd.js"></script>
<script defer src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.11.1/build/highlight.min.js"></script>
<script type="module" src="https://cdn.jsdelivr.net/npm/emoji-picker-element@^1/index.js"></script>
<script type="module" src="/static/js/ContentRenderer.js"></script>
<script type="module" src="/static/js/AttachmentUploader.js"></script>
<script type="module" src="/static/js/EmojiPicker.js"></script>
<script type="module" src="/static/js/MentionInput.js"></script>
<script type="module" src="/static/js/Application.js"></script>
{% block extra_js %}{% endblock %}
</body>