mirror of
https://github.com/HandBrake/HandBrake-docs.git
synced 2025-12-12 18:31:30 -06:00
template: Add temporary hack to handle breadcrumbs edge case.
Eventually the build system should handle the creation of breadcrumb navigation.
This commit is contained in:
parent
a0b229843d
commit
cf5356491f
@ -156,5 +156,10 @@ $(document).ready(function(){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// temporary hack until build system creates breadcrumbs instead of template
|
||||||
|
if (docs.hasClass('landing') && docs.children('h1').first().text() == 'Versions'){
|
||||||
|
$('article.docs nav .breadcrumbs .language-separator').add('article.docs nav .breadcrumbs .language').css('display', 'inline');
|
||||||
|
}
|
||||||
|
|
||||||
docs.find('figure > a:has(img)').featherlight({type: 'image', openSpeed: 150, closeSpeed: 150});
|
docs.find('figure > a:has(img)').featherlight({type: 'image', openSpeed: 150, closeSpeed: 150});
|
||||||
});
|
});
|
||||||
|
|||||||
@ -33,5 +33,5 @@ Template:
|
|||||||
- assets/js/vendor/jquery/jquery-2.2.3.min.js
|
- assets/js/vendor/jquery/jquery-2.2.3.min.js
|
||||||
- assets/js/vendor/js-cookie/js-cookie-2.1.1.min.js
|
- assets/js/vendor/js-cookie/js-cookie-2.1.1.min.js
|
||||||
- assets/js/vendor/featherlight/featherlight-1.4.0.min.js
|
- assets/js/vendor/featherlight/featherlight-1.4.0.min.js
|
||||||
- assets/js/scripts.js?2016090705
|
- assets/js/scripts.js?2016111901
|
||||||
...
|
...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user