mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-06-20 07:40:32 +00:00
parent
27b99f0f18
commit
b2ac8298bf
23 changed files with 498 additions and 388 deletions
static/js
|
@ -17,7 +17,7 @@ var getUrlParameter = function getUrlParameter(sPageURL) {
|
|||
};
|
||||
|
||||
// Execute actions on images generated from Markdown pages
|
||||
var images = $("div#body-inner img");
|
||||
var images = $("div#body-inner img").not(".inline");
|
||||
// Wrap image inside a featherlight (to get a full size view in a popup)
|
||||
images.wrap(function(){
|
||||
var image =$(this);
|
||||
|
@ -56,10 +56,10 @@ images.each(function(index){
|
|||
});
|
||||
|
||||
// Stick the top to the top of the screen when scrolling
|
||||
$("#top-bar").stick_in_parent( {
|
||||
parent: ".sticky-parent",
|
||||
spacer: ".sticky-spacer",
|
||||
});
|
||||
//$("#top-bar").stick_in_parent( {
|
||||
// parent: ".sticky-parent",
|
||||
// spacer: ".sticky-spacer",
|
||||
//});
|
||||
|
||||
|
||||
jQuery(document).ready(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue