Browse Source

Add doc toc

pull/827/head
afc163 9 years ago
parent
commit
a0ea479108
  1. 2
      site/templates/page.html

2
site/templates/page.html

@ -18,8 +18,8 @@
<section class="main-container"> <section class="main-container">
<article class="markdown"> <article class="markdown">
<h1>{{ post.title }} {{ post.meta.chinese }}</h1> <h1>{{ post.title }} {{ post.meta.chinese }}</h1>
<div class="toc">{{ post.toc }}</div>
{{ post.html|add_anchor }} {{ post.html|add_anchor }}
</article> </article>
</section> </section>
{% endblock %} {% endblock %}

Loading…
Cancel
Save