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

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

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