Skip to content

Page not valid: duplicate use of ID #110

Closed
@To1ne

Description

@To1ne

I love just Jekyll and use it for my blog now.

But I have a problem the pages are not W3c valid: see output.

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

mojombo commented on Jan 9, 2010

@mojombo
Contributor

Can you provide a link to the source code for the page that exhibits this problem?

To1ne

To1ne commented on Jan 9, 2010

@To1ne
Author

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

mojombo commented on Jan 12, 2010

@mojombo
Contributor

This is Maruku's default rendering behavior. Try adding the following to your _config.yml file:

markdown: rdiscount
To1ne

To1ne commented on Jan 13, 2010

@To1ne
Author

That solves the problem. Thanks for that!

lengerfulluse

lengerfulluse commented on Jul 28, 2015

@lengerfulluse

Sorry for reopening this thread.
@mojombo I add the following to _config.yml file to generate table of content.

markdown: rdiscount
rdiscount:
    extensions:
      - generate_toc

Unfortunately, it still generates the same header id, please refer the following screenshot:
screen shot 2015-07-27 at 5 30 30 pm
Any idea? Thanks in advance!

locked and limited conversation to collaborators on Feb 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @mojombo@To1ne@lengerfulluse@jekyllbot

        Issue actions

          Page not valid: duplicate use of ID · Issue #110 · jekyll/jekyll