Skip to content

Commit

Permalink
Use jquery from npm, do not include version in filename (using finger…
Browse files Browse the repository at this point in the history
…printing anyway)
  • Loading branch information
julian-klode committed Oct 14, 2018
1 parent a72a053 commit 2e5b298
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 0 additions & 2 deletions assets/js/jquery-3.3.1.min.js

This file was deleted.

1 change: 1 addition & 0 deletions assets/js/jquery.min.js
2 changes: 1 addition & 1 deletion layouts/partials/mastodon.html
Expand Up @@ -20,7 +20,7 @@ <h2>Reactions from Mastodon</h2>
var RelPermalink="{{ .RelPermalink }}";
var MastodonUser = "{{ .Site.Params.MastodonUser }}";
</script>
{{ $jquery := resources.Get "js/jquery-3.3.1.min.js" | minify | fingerprint }}
{{ $jquery := resources.Get "js/jquery.min.js" | minify | fingerprint }}
<script src="{{ $jquery.Permalink }}"></script>
{{ $mastodonJS := resources.Get "js/mastodon-comments.js" | minify | fingerprint }}
<script src="{{ $mastodonJS.Permalink }}"></script>
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -3,6 +3,7 @@
"devDependencies": {
"@fortawesome/fontawesome-free": "^5.4.1",
"bulma": "^0.7.2",
"jquery": "^3.3.1",
"postcss-cli": "^6.0.0",
"postcss-preset-env": "^6.1.1",
"sass": "^1.14.2"
Expand Down

0 comments on commit 2e5b298

Please sign in to comment.