i have a static page which was created via cms -> page. I include a custom phtml template within the cms page
{{block class="Magento\Framework\View\Element\Template" name="test_file" template="Magento_Theme::test.phtml"}}
Now i want to include a masonry gallery for example (https://vodkabears.github.io/galereya/)
How can i include css, jss files from within the phtml file to the bottom of the theme where all the other assets like jquery, etc are?
I tried several ways, i do not want the library to include in the whole theme, but only on the specific page. When i include the js/css files within the phtml file it gets included too early, before any jquery was loaded.
I hope to find someone who can help me.
Thank you very much