You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello all. Thanks for the great plugin, I've been using it extensively across sites and it works great. However I ran into an issue. Not sure to report here or in the other project, as it seems to be an issue occurring when two plugins are used together.
I'm using jekyll-datapage-generator to generate pages based on a YAML datafile. These pages include a Jekyll-TOS element. Let's assume my data file has a list of countries:
The page has h1/h2/h3's with the country name in it.
Somehow, TOC shows the country name of the previously generated country. So in this example, the Albania page has an H1 with Albania in it, but TOC will show the Afghanistan title. In addition, TOC doesn't add the href="#..." attribute that make the items clickable.
Is there any way to resolve this problem? I'm happy to provide an example if needed.
The text was updated successfully, but these errors were encountered:
In hindsight, this is a very low-priority issue. Because when the content is generated dynamically, it's easy to generate the TOC dynamically aswell without this plugin. Sorry for bothering - jekyll-toc is my go to solution, but might in this case not be necessary.
Hello all. Thanks for the great plugin, I've been using it extensively across sites and it works great. However I ran into an issue. Not sure to report here or in the other project, as it seems to be an issue occurring when two plugins are used together.
I'm using jekyll-datapage-generator to generate pages based on a YAML datafile. These pages include a Jekyll-TOS element. Let's assume my data file has a list of countries:
The page has h1/h2/h3's with the country name in it.
Somehow, TOC shows the country name of the previously generated country. So in this example, the Albania page has an H1 with Albania in it, but TOC will show the Afghanistan title. In addition, TOC doesn't add the href="#..." attribute that make the items clickable.
Is there any way to resolve this problem? I'm happy to provide an example if needed.
The text was updated successfully, but these errors were encountered: