Skip to content

Using extend-footer.html for custom balance-text.js script #596

Answered by nunocoracao
manchuwook asked this question in Q&A
Discussion options

You must be logged in to vote

Weird, that should work.
Overall using the extend-footer seems like the best approach. That static version should work if you are just importing the JS using normal HTML. If you want to optimize it you can place it in assets and use a similar logic to what's in the head file to import it using Hugo itself.
Hope this helped

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by manchuwook
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants