加入「拾编」写作台:文章 / 分类管理 + Markdown 上传

- 新增 studio 应用与 /manage/ 写作台
- 文章增删改查、状态/分类/标签、搜索筛选分页
- 分类增删改查,支持父分类
- 直接上传 .md(front matter)并创建文章,编辑页支持 Markdown 导入
- Post 增加 content_format,公开文章页支持 Markdown 渲染
- 复用拾匣密码解锁;首页页脚新增写作台入口
This commit is contained in:
2026-11-21 12:52:28 +08:00
parent d0f921ed27
commit 128dc20cd5
21 changed files with 2166 additions and 2 deletions
+2
View File
@@ -181,6 +181,8 @@
<!-- <span>共 18 篇文章</span> -->
<span class="dot"></span>
<span>Powered by xiaoan</span>
<span class="dot"></span>
<a class="footer-link" href="/manage/">写作台</a>
</footer>
+1
View File
@@ -26,6 +26,7 @@
<!-- 代码高亮(深色代码块配套主题) -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.9.0/build/styles/github-dark.min.css">
{% block extra_css %}{% endblock %}
{% block extra_head %}{% endblock %}
</head>
<body>
<a class="skip-link" href="#article">跳到正文</a>
+1 -1
View File
@@ -47,7 +47,7 @@
<div class="article-card">
<div class="post-body" id="postBody">
{{ post.content|safe }}
{{ post.rendered_content|safe }}
</div>
{% if post.tags.all %}