I am using Github Pages and Jekyll to serve Plotly interactive plots. At the moment, for each of the plots, I have Plotly generate the html and save it to _includes
in my root directory. To display the plots, I’ve modified the home.html
layout in _layouts
to consist of only {% include filename.html %}
statements and index.md
to be blank. This does what I want it to do (see image 1) but is somewhat clunky.
So, I’ve been trying to modify home.html
with <head>
and <title>
and <body>
sections, and then placing my {% include filename.html %}
statements into the body of index.md
. However, when home.html
fills {{ content }}
from index.md
my plots all of a sudden become compressed in size (see image 2).
Is there some way to have the contents from {% include filename.html %}
statements fill the whole page, as was the case when I had {% include filename.html %}
statements in home.html
?
Thanks!