<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>I want to customize pages other than base.html and index.html for my custom geonode project. In this example I want to change the "Share this" text of the social_links.html page for something else.</p>
<p>My understanding is that I need to create a new HTML template file and that will be linked to the base social_links.html file.</p>
<p>So, I created the HTML file "site_links.html" in the template folder of my custom project. The file looks like this:</p>
<p><em>{% extends social_links.html %}</em><br /><em>{% load i18n %}</em><br /><em>{% block social_links %}</em><br /><em> <article class="tab-pane" id="share"></em><br /><em> <header></em><br /><em> <h3>{% trans "New text here!" %} {% trans resource.class_name %} </h3></em><br /><em> </header></em><br /><em> </article></em><br /><em>{% endblock %}</em></p>
<p>I've also added to the main social_links.html file:</p>
<p><em>{% extends "site_links.html" %}</em></p>
<p>I tought this would work but whenever I get on a layer page, I get an Internal Server Error. </p>
<p>What is the correct way to customize other pages than index.html and base.html ?</p>
<p>Thanks !</p>
<p> </p>
<div> </div>
</body></html>