Skip to content

Commit

Permalink
Fix broken resources (#145)
Browse files Browse the repository at this point in the history
Signed-off-by: mohin7 <[email protected]>
  • Loading branch information
mohin7 authored May 9, 2024
1 parent 380d86b commit 990e77f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
5 changes: 3 additions & 2 deletions layouts/partials/helpers/script-bundle.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@

<!-- Load from local Script -->
<script src="/assets/js/jquery.serialscrolling.min.js" defer></script>

<!-- <script src="/assets/js/main.js" defer></script> -->

{{ with $style := resources.Get "/assets/js/main.js" | resources.Minify | resources.Fingerprint }}
<script src="{{ $style.RelPermalink }}"></script>
{{ with $script := resources.Get "/assets/js/main.js" | resources.Minify | resources.Fingerprint }}
<script src="{{ $script.RelPermalink }}" defer></script>
{{ end }}

<!-- Start of HubSpot Embed Code -->
Expand Down
7 changes: 4 additions & 3 deletions layouts/partials/helpers/style-bundle.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.min.css" media="print" onload="this.media='all'">

<!-- Load custom CSS asynchronously -->
<!-- <link rel="stylesheet" href="/assets/sass/main.css"> -->
<link rel="stylesheet" href="/assets/sass/main.css">

{{ with $style := resources.Get "assets/sass/main.scss" | resources.ToCSS | resources.PostCSS | resources.Minify | resources.Fingerprint }}
<!-- {{ with $style := resources.Get "/assets/sass/main.scss" | resources.ToCSS | resources.PostCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
{{ end }}
{{ end }} -->

3 changes: 1 addition & 2 deletions static/assets/sass/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -7224,5 +7224,4 @@ body.partner .fserv-button-submit {
body.partner .fserv-button-submit:hover {
box-shadow: 2px 4px 24px rgba(0, 166, 81, 0.3) !important;
transform: translateY(-2px);
}
/*# sourceMappingURL=static/assets/sass/main.css.map */
}

0 comments on commit 990e77f

Please sign in to comment.