diff --git a/layout/common/widget.ftl b/layout/common/widget.ftl index 13d4a97..f7f55aa 100644 --- a/layout/common/widget.ftl +++ b/layout/common/widget.ftl @@ -24,6 +24,7 @@ <#if post??> <#include "../widget/cate_posts.ftl"> <#include "../widget/tag_posts.ftl"> + <#include "../widget/toc-post.ftl"> <#else> <#if settings.sidebar_recentpost!true> <#include "../widget/recent_posts.ftl"> @@ -33,10 +34,9 @@ <#include "../widget/recent_comments.ftl"> <#-- <#include "../widget/archive.ftl">--> - <#if settings.sidebar_tags!true> - <#include "../widget/tag.ftl"> - - +<#-- <#if settings.sidebar_tags!true>--> +<#-- <#include "../widget/tag.ftl">--> +<#-- --> <#if position == 'left'>
diff --git a/layout/widget/toc-post.ftl b/layout/widget/toc-post.ftl new file mode 100644 index 0000000..4851112 --- /dev/null +++ b/layout/widget/toc-post.ftl @@ -0,0 +1,185 @@ +
+
+
+ + +