This example from leaflet.

html iframe

use jekyll (liquid) include or include_relative shortcut to iframe

grafana in an iframe

data from erddap in iframe

png image from erddap in iframe:

leaflet map in iframe