2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Use h5 for callouts so that they are not included in ToC.

Callouts are already excluded from ToC, but due to a limitation in jekyll-toc they are still being included.

We should revisit this if the bug is fixed later.
This commit is contained in:
XhmikosR
2018-11-11 12:07:42 +02:00
parent cb2b21bb88
commit 11da160114
7 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -257,14 +257,14 @@ $('body').scrollspy({ target: '#navbar-example' })
{% endhighlight %}
{% capture callout %}
#### Resolvable ID targets required
##### Resolvable ID targets required
Navbar links must have resolvable id targets. For example, a `<a href="#home">home</a>` must correspond to something in the DOM like `<div id="home"></div>`.
{% endcapture %}
{% include callout.html content=callout type="danger" %}
{% capture callout %}
#### Non-`:visible` target elements ignored
##### Non-`:visible` target elements ignored
Target elements that are not [`:visible` according to jQuery](https://api.jquery.com/visible-selector/) will be ignored and their corresponding nav items will never be highlighted.
{% endcapture %}