<div dir="ltr"><div>Dear users,</div><div><br></div><div>Never mind. Yes, I got it. I picked the right tag <span class="gmail-cssselectorcolor" style="color:brown"><span class="gmail-csspropertycolor" style="color:red">{% block middle %}{{ block.super}}{% endblock %}. A little bit of css and the work was done.</span></span></div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div><div><span class="gmail-cssselectorcolor" style="color:brown"><span class="gmail-csspropertycolor" style="color:red"><span class="gmail-csspropertyvaluecolor" style="color:mediumblue"><span class="gmail-cssdelimitercolor" style="color:black"></span></span></span></span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 22, 2019 at 5:58 PM Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com">juliermeopensourcedeveloper@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div>In regards to my previous email. I tried adding a paragraph right before junbotron as shown bellow, but I did not get any success. It seems that I am very close. The parapraph is showing in the console, but not on/over the page.</div><div>{% block middle %}<br><br> <div id="geonode_paragraph" style="position: relative;"><br> <p>{% blocktrans %}I am a geonode paragraph{% endblocktrans %}</p><br> </div><br><br>{{ block.super}}<br><br>{% endblock %}<br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Mar 22, 2019 at 2:14 PM Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear users,</div><div><br></div><div>I am trying to add a new block {% block content %}{% endblock %} to site_index.html, right before the {% block hero %}{% endblock %}, more specifically right before the class=jumbotron. According to this video <a href="https://www.youtube.com/watch?v=tyFmF_v3z8c" target="_blank">https://www.youtube.com/watch?v=tyFmF_v3z8c</a>, I should have the {% block content %}{% endblock %} in the index.html file. <br></div><div>I wonder if there is a extra block and its name to extend index.html before the block hero (class=junbotron). <br></div><div><br></div><div>I also checked the site index.html <a href="https://github.com/GeoNode/geonode/blob/master/geonode/templates/index.html#L8" target="_blank">line8</a>, but not sure if I could inherit information to the body_class block. Instead of overriding, I want to add a new block, before the hero block. What block name should I use in my site_index.html? Find my block bellow:</div><div>{% block geonode %}<br><br> <div id="myparagraph" style="position: relative; "><br> <p>{% blocktrans %}I am a paragraph.{% endblocktrans %}</p><br> </div><br><br>{% endblock %}<br></div><div><br></div><div>Any hint on that will be very appreciated.</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div></div></div></div></div>
</blockquote></div>
</blockquote></div>