Skip to content

Commit

Permalink
lib-info.js added to assets
Browse files Browse the repository at this point in the history
  • Loading branch information
yevgen-nykytenko committed Dec 19, 2023
1 parent 5c58654 commit b3220b5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions themes/hugo-geekdoc/data/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,9 @@
"groupdocs.js": {
"src": "js/groupdocs-22.10.0.js",
"integrity": "sha512-+a9+BkBIIwkVnx+g7eYyQdbwSvBFPJY6VufUR/6MkpN5mxyAnhMDyMsvkEfhT8x+NzP5pmCv07MtNapM1y9+ZQ=="
}

},
"lib-info.js": {
"src": "js/lib-info.js",
"integrity": "sha512-+qBXScwm7DwE0J2YX/lC8h9GP3pFPJY6VufUR/6MkpN5mxyAnhMDyMOmwOZw5xeq0d28Yr+hVTIMcQ2QWxO7Jy=="
}
}
2 changes: 1 addition & 1 deletion themes/hugo-geekdoc/layouts/partials/foot.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@

<!-- JS scripts -->
{{ if default true .Params.AddLibInfoScript }}
<script src="/js/lib-info.js?v=1.1"></script>
<script defer src="{{ index (index .Site.Data.assets "lib-info.js") "src" | relURL }}"></script>
{{ end }}

0 comments on commit b3220b5

Please sign in to comment.