build(docs-infra): add short description "See more" link (#25768)
If there is additional (non-short) description then add in a link to the short description to take the reader there. PR Close #25768
This commit is contained in:
parent
4b1fd98093
commit
d22418d417
|
@ -1,7 +1,10 @@
|
||||||
{% extends 'base.template.html' -%}
|
{% extends 'base.template.html' -%}
|
||||||
|
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<p class="short-description">{$ doc.shortDescription | marked $}</p>
|
<section class="short-description">
|
||||||
|
{$ doc.shortDescription | marked $}
|
||||||
|
{% if doc.description %}<p><a href="#description">See more...</a></p>{% endif %}
|
||||||
|
</section>
|
||||||
{% include "includes/security-notes.html" %}
|
{% include "includes/security-notes.html" %}
|
||||||
{% include "includes/deprecation.html" %}
|
{% include "includes/deprecation.html" %}
|
||||||
{% block overview %}{% endblock %}
|
{% block overview %}{% endblock %}
|
||||||
|
|
Loading…
Reference in New Issue