I love just Jekyll and use it for my blog now. But I have a problem the pages are not W3c valid: see [output](http://validator.w3.org/check?uri=http%3A%2F%2Fwritepermission.com). So because some `<h1>` tags have the same value, the `id` attribute will reoccur. I don't get why the `id` is set to the `<h1>` value anyhow?
Activity
mojombo commentedon Jan 9, 2010
Can you provide a link to the source code for the page that exhibits this problem?
To1ne commentedon Jan 9, 2010
Same website as used on my other posted issue:
http://writepermission.com/
The source used to generate this site with jekyll is available on GitHub
mojombo commentedon Jan 12, 2010
This is Maruku's default rendering behavior. Try adding the following to your
_config.yml
file:To1ne commentedon Jan 13, 2010
That solves the problem. Thanks for that!
lengerfulluse commentedon Jul 28, 2015
Sorry for reopening this thread.
@mojombo I add the following to
_config.yml
file to generate table of content.Unfortunately, it still generates the same header id, please refer the following screenshot:

Any idea? Thanks in advance!