重做文章详情页:拾光阅读版式与目录/代码/灯箱交互
- 新增内容页外壳 base_content.html 与 reading.css / reading.js - 重写 post_detail.html:分类胶囊、阅读进度、首字下沉、代码块复制、 侧栏目录、上下篇、图片灯箱、明暗主题 - post_detail 视图补充上下篇、字数与阅读时长 - base.html 补 extra_css / extra_js block,修复脑图详情页样式不加载 - 加入 mindmaps、api、首页静态资源与模板 - 忽略 __pycache__ / *.pyc / *.back,并将已跟踪的 .pyc 移出版本库
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
{% extends "base.html" %}
|
||||
{% block content %}
|
||||
<h1>脑图笔记</h1>
|
||||
<ul class="mindmap-list">
|
||||
{% for m in mindmaps %}
|
||||
<li>
|
||||
<a href="{{ m.get_absolute_url }}">{{ m.title }}</a>
|
||||
<p>{{ m.description }}</p>
|
||||
</li>
|
||||
{% empty %}
|
||||
<li>还没有脑图,去后台导入吧。</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user