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
varheading=startHeading.outerHTML;// Include the starting <h> element itself
386
-
varnextSibling=startHeading.nextElementSibling;
387
-
388
-
// If handling a page title it will not have next sibling normally at all (we are removed and handling differently the description from the generated page)
389
-
// In that case the description is all the normal texts parts in the content, from the top (right bellow the title) to the first heading <h1-6>, try to get, it if there's any.
390
-
// If not presented, drop the whole content, return an empty one (a.k.a. do not show title only tooltips)
// If handling a page title it will not have next sibling normally at all (we are removed and handling differently the description from the generated page)
396
+
// In that case the description is all the normal texts parts in the content, from the top (right bellow the title) to the first heading <h1-6>, try to get, it if there's any.
397
+
// If not presented, drop the whole content, return an empty one (a.k.a. do not show title only tooltips)
It will be added by aour Jekyll plugin as simple text paragraph right at the beggining of the content, before the first heading instead, that will be used as description in the tooltips.
40
+
DO NOT ADD page.subtitle and page.description, as that is handled specially by Jekyll, and will not be rendered almost perfectly with markdown or liquid contents in every cases !!!
41
+
It will be added by our Jekyll plugin as simple text paragraph right at the beggining of the content, before the first heading instead, that will be used as description in the tooltips.
42
42
This eliminates markdown and liquid rendering differences in the description part.
0 commit comments