Commit 8062ad0c authored by yangxg's avatar yangxg
Browse files

添加目录

Showing with 27 additions and 2 deletions
+27 -2
......@@ -73,6 +73,8 @@
{% endblock main %}
</main>
<aside class="col-md-4">
{% block toc %}
{% endblock toc %}
<div class="widget widget-recent-posts">
<h3 class="widget-title">最新文章</h3>
{% get_recent_posts as recent_post_list %}
......
......@@ -54,7 +54,8 @@
{% for comment in comment_list %}
<li class="comment-item">
<span class="nickname">{{ comment.name }}</span>
<time class="submit-date">{{ comment.created_time }}</time>
<time class="submit-date"
datetime="{{ comment.created_time }}">{{ comment.created_time }}</time>
<div class="text">
{{ comment.text }}
</div>
......@@ -65,4 +66,26 @@
</ul>
</div>
</section>
{% endblock main %}
\ No newline at end of file
{% endblock main %}
{% block toc %}
<div class="widget widget-content">
<h3 class="widget-title">文章目录</h3>
<ul>
<li>
<a href="#">教程特点</a>
</li>
<li>
<a href="#">谁适合这个教程</a>
</li>
<li>
<a href="#">在线预览</a>
</li>
<li>
<a href="#">资源列表</a>
</li>
<li>
<a href="#">获取帮助</a>
</li>
</ul>
</div>
{% endblock toc %}
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment