I am working on multiple websites and am trying to template as much of them as I can so that I have a single version / source of truth, that when updated, will flow through to my websites upon rebuild. I have a plugin which allows me to pull through content from an external site / source similar to the standard Liquid Include method.
Example: I would like to have the the Meta Tags in my websites pulled through from my external source but reference the website its pulled to using liquid variables.
So this would mean pulling through the below content from my external (assets website) source...
<title>{{ page.title }} | {{ site.title }}</title>
<meta name="url" content="{{ site.url }}{% if page.url <> '/' %}{{ page.url }}{% endif %}"/>
... using the a liquid include in my layout (via a plugin that allows pulls content from external sources) like so...
{% include_remote https://asset-source/meta-tags.html %}
... and ideally the liquid variables in the included source then be interpreted (reference my website's site and page data).
I really hope this makes sense, I am relatively new to Jekyll and Liquid so maybe I am asking the impossible but would really appreciate anyone's time in explaining how or why not this is possible.