remove fixed nav
All checks were successful
website / prod-build (push) Successful in 6s

This commit is contained in:
Denys Konovalov 2023-08-10 10:43:14 +02:00
parent 52e960a4d1
commit 70fab84ecd
2 changed files with 5 additions and 8 deletions

View File

@ -17,9 +17,6 @@
</div>
</header>
<main class="content" role="main">
<div class='fixed-nav'>
</div>
{{ range $index_val, $elem_val := $sections }}
<div class='post-holder'>
<article id='{{ anchorize .Title }}' class='post {{ if eq $index_val 0 }}first{{ end }} {{ if eq (add $index_val 1) (len $sections) }}last{{ end }}'>

View File

@ -48,7 +48,7 @@ var $sitehead = $("#site-head");
srcTo($first);
});
$(".post-title").each(function () {
/*$(".post-title").each(function () {
var t = $(this).text();
var index = $(this).parents(".post-holder").index();
$fnav.append(
@ -65,10 +65,10 @@ var $sitehead = $("#site-head");
400
);
});
});
});*/
$(".post.last").next(".post-after").hide();
if ($sitehead.length) {
$(".post.last").next(".post-after").hide();
/* if ($sitehead.length) {
$(window).scroll(function () {
var w = $(window).scrollTop();
var g = $sitehead.offset().top;
@ -107,7 +107,7 @@ var $sitehead = $("#site-head");
}
});
});
}
}*/
$("ul li").before('<span class="bult fa fa-asterisk"></span>');
$("blockquote p").prepend('<span class="quo fa fa-quote-left"></span>');