First of all, I'm a total noob in Grav, twig and yaml.
I'm trying to convert my website into a Grav-template (for personal use). In the site I had a portfolio section in which the projects loaded on click. I did this with jQuery (that's ajax I think):
('#someProject').on('click', function() {
('.someTarget').load('someProject.html');
});
I'd wish to have the same functionallity, but with a Grav-template, so that the client can add projects and change the content. The projects contain a lot of images so I don't think loading them al at the beginning would be a good idea.
Is there a possibility/alternative to do this with twig?
Thanks!