Skip to content

jquery problems with thuliteio / doks / hugo and the dearflip viewer (or any other jquery stuff... #1287

Answered by h-enk
cnichte asked this question in Support
Discussion options

You must be logged in to vote

This works (tested)

Add to layouts/partials/footer/script-footer-custom.html:

{{ $jquery := resources.Get "js/jquery.min.js" }}
<script src="{{ $jquery.RelPermalink }}"></script>

{{ partial "footer/esbuild" (dict "src" "js/dflip.js" "load" "async" "transpile" false) -}}

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@h-enk
Comment options

@h-enk
Comment options

@cnichte
Comment options

Comment options

You must be logged in to vote
2 replies
@cnichte
Comment options

@h-enk
Comment options

Answer selected by cnichte
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants