How can I add custom javascript

Hey there,

first of all, I really hope I am in the right category, otherwise I am sorry!

I have following problem:
I am trying to build a website for out local sports team. There is a piece javascript, which I would like to my page. I have the quark theme with modular pages (onepage design)

I tried to google and search in this wiki, but I could not find something I need/understand.
grafik
That is the part, where I would like to see following code to work:

<script type="text/javascript" src="https://www.fupa.net/fupa/widget.js"></script>
<div id="fupa_livebox">... lade Modul ...<script type="text/javascript"> live_widget(10356);</script>

Thanks for your help!

Hi

Take a look https://learn.getgrav.org/15/themes/asset-manager

And in Quark theme https://github.com/getgrav/grav-theme-quark/blob/develop/templates/partials/base.html.twig

Thanks for your replay!
I really tried to figure that out with those two links you send me.
I put the code into the base.hmtl.twig but I still can’t figure out, how to get this working.

Could you be a little bit more specific please. Thank you so much in advance!

Greetings

Hey again,

could someone take a few minutes to help me out here? :slight_smile:
Thank you!