@jrc03c in jekyll? there is an includes_relative tag which might help: https://jekyllrb.com/docs/includes/
otherwise the more complicated solution involves using data files and building an include which takes parameter(s) and selects the appropriate data accordingly