Skip to content

Respect org-mode option regarding toc generation #38

@yefeiyu

Description

@yefeiyu

1, I open the toc:nil to toc:t in #+OPTIONS: H:2 num:t tags:nil toc:t timestamps:t.
2, org2jekyll-publish
3, The result of the file **.html 's head is wrong .
Please help me fix it, thank you

<div id="table-of-contents">
<h2>Table of Contents</h2>
<div id="text-table-of-contents">
<ul>
<li><a href="#sec-1">1. wanna</a></li>
<li><a href="#sec-2">2. but</a></li>
</ul>
</div>
</div>

---
layout: post
title: abdc
date: 2016-04-29
categories: 
-
tags: 
-
author: yefeiyu
excerpt: 

---

<div id="outline-container-sec-1" class="outline-2">
<h2 id="sec-1"><span class="section-number-2">1</span> wanna</h2>
<div class="outline-text-2" id="text-1">
<p>
I want to use `toc:t`<br >
</p>
</div>
</div>

<div id="outline-container-sec-2" class="outline-2">
<h2 id="sec-2"><span class="section-number-2">2</span> but</h2>
<div class="outline-text-2" id="text-2">
<p>
&#x2026;<br >
</p>
</div>
</div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions