-
Notifications
You must be signed in to change notification settings - Fork 103
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
Use font awesome anchor #789
Conversation
e924785
to
e3e048d
Compare
✔️ Deploy Preview for k8gb-preview ready! 🔨 Explore the source changes: 3993475 🔍 Inspect the deploy log: https://app.netlify.com/sites/k8gb-preview/deploys/61ae2b2e395b7e00088b791a 😎 Browse the preview: https://deploy-preview-789--k8gb-preview.netlify.app |
_layouts/default.html
Outdated
@@ -45,7 +46,7 @@ <h2 class="project-tagline">{{ page.description | default: site.description | de | |||
</header> | |||
|
|||
<main id="content" class="main-content" role="main"> | |||
{% include anchor_headings.html html=content anchorBody="§" anchorClass="heading-anchor" anchorAttrs="aria-labelledby=\"%html_id%\"" headerAttrs="class=heading" %} | |||
{% include anchor_headings.html html=content anchorClass="heading-anchor fa fa-anchor" anchorAttrs="aria-labelledby=\"%html_id%\"" headerAttrs="class=heading" %} |
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.
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.
well, both are better than §
. I like the "anchor" anchor better b/c it's aligned w/ the k8s nomenclature but I guess we can be boring predictable in our docs ;) so changing..
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.
@jkremser looks awesome, just one nit about symbol
Signed-off-by: Jirka Kremser <jiri.kremser@gmail.com>
e3e048d
to
3993475
Compare
follow-up of #692 (comment)
looks like this:
Signed-off-by: Jirka Kremser jiri.kremser@gmail.com