title: How can I add gsap cdn to flask?
body: <p>So far I have tried adding the cdn like this which does not work:</p>
  <pre class="lang-py prettyprint-override"><code>@app.route('/')
  def home():
      cdn = 'https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.1/gsap.min.js&quot;'
      return render_template('index.html', cdn = cdn)
  </code></pre>
  <p>Here what I want to do is write the js code in html using gsap cdn, however it's not working at all.</p>
  <p>index.html:</p>
  <pre class="lang-html prettyprint-override"><code>&lt;head&gt;
      &lt;link src=&quot;{{ cdn }}&quot; /&gt;
      rest of the code..
  &lt;/head&gt;
  
  &lt;body&gt;
   &lt;script&gt;
          import { gsap, interpolate } from &quot;gsap&quot;;
          import {ScrollTrigger} from 'gsap/ScrollTrigger';
          rest of the code..
   &lt;/script&gt;
  &lt;/body&gt;
  </code></pre>