-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementing anchor heading permalinks in Playbook pages #271
Conversation
This should turn all of the persona headings into anchor headings.
Pa11y testing results
|
_layouts/personas.html
Outdated
@@ -34,7 +34,8 @@ | |||
<img src="{{ site.baseurl }}/assets/personas/mugshots/{{ page.img }}" alt="Headshot of {{ page.title }}"> | |||
<h1>{{ page.title }}</h1> | |||
{% endif %} | |||
{{ content }} | |||
<!--{{ content }}--> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mgifford I think it is better to just delete this line then generate two versions of the content in the source which this might do.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've modified this, and agree. I just wanted to to express exactly what i'd written there as a comment, not spit out the results of the comment. But not sure how to do that.
I had wanted to just show the text {{ content }} so it was more clear. what was changed. Just wasn't sure how to comment that without as you noted Daniel duplicating the content.
Pa11y testing results
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for adding it. Let's see how it goes.
This should implement https://github.com/allejo/jekyll-anchor-headings