Skip to content

Commit f31744f

Browse files
Remove unused fadeFrontPage (#330)
1 parent c55cba8 commit f31744f

4 files changed

Lines changed: 0 additions & 23 deletions

File tree

assets/js/fresh.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
//Preloader
2-
$(window).on("load", function () {
3-
// makes sure the whole site is loaded
4-
$("#status").fadeOut(); // will first fade out the loading animation
5-
$("#preloader").delay(350).fadeOut("slow"); // will fade out the white DIV that covers the website.
6-
$("body").delay(350).css({ overflow: "visible" });
7-
});
8-
91
$(document).ready(function () {
102
//Mobile menu toggle
113
if ($(".navbar-burger").length) {

assets/theme-css/fresh.css

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -156,15 +156,6 @@ button:focus,
156156
button:active {
157157
outline: none;
158158
}
159-
#preloader {
160-
position: fixed;
161-
top: 0;
162-
left: 0;
163-
right: 0;
164-
bottom: 0;
165-
background-color: #fff;
166-
z-index: 99;
167-
}
168159
#status {
169160
width: 200px;
170161
height: 200px;

config.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
disableKinds:
22
- taxonomy
33
params:
4-
fadeFrontPage: false
54
images:
65
- /images/logo.svg
76
navColor: blue

layouts/_default/baseof.html

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@
2323

2424
</head>
2525
<body>
26-
<!-- Preloader. Set to true for front-page fade-in animation -->
27-
{{ if (and .IsHome .Site.Params.fadeFrontPage) }}
28-
<div id="preloader"></div>
29-
{{ end -}}
30-
3126
{{ block "navbar" . }}
3227
{{ partial "navbar.html" . -}}
3328
{{ partial "navbar-clone.html" . -}}

0 commit comments

Comments
 (0)