I am using Django Suit in my project. The Django costume has a default footer that I would like to change or get rid of. According to the instructions on the documents:
You must extend the base_site.html template to customize footer links, copyright text, or add additional JS / CSS files. An example file is available on github.
Copy the custom base_site.html template file to the main projects application template / admin / and do not comment and edit the blocks that you would like to expand.
But when I do this, whenever I uncomment one of my blocks, I get the following error:
Exception Type: TemplateSyntaxError
Exception Value:Could not parse the remainder: '% block footer_links %' from '% block footer_links %'
Any idea why this is happening and how I can solve it?
base_site.html:
{% extends "admin/base.html" %}
{% load admin_static %}
{# Additional <head> content here, some extra meta tags or favicon #}
{#{% block extrahead %}#}
{#{% endblock %}#}
{# Additional CSS includes #}
{#{% block extrastyle %}#}
{# <link rel="stylesheet" type="text/css" href="{% static 'css/my_project.css' %}" media="all">#}
{#{% endblock %}#}
{# Additional JS files in footer, right before </body> #}
{#{% block extrajs %}#}
{# <script type="text/javascript" src="{% static 'js/my_project.js' %}"></script>#}
{#{% endblock %}#}
{ Footer links (left side) }
{{% block footer_links %}}
{{% endblock %}}
{# Additional header content like notifications or language switcher #}
{#{% block header_content %}#}
{# {{ block.super }}#}
{# <div class="header-content">#}
{# #}
{# <div class="header-column icon">#}
{# <i class="icon-home"></i><br>#}
{# <i class="icon-cog"></i>#}
{# </div>#}
{# <div class="header-column" style="margin-right: 20px">#}
{# <a href="/" class="grey">Front-end</a><br>#}
{# <a href="" class="grey">One more link</a>#}
{# </div>#}
{# #}
{# <div class="header-column icon">#}
{# <i class="icon-comment"></i>#}
{# </div>#}
{# <div class="header-column">#}
{# <a href="" class="grey">5 new messages</a>#}
{# </div>#}
{# </div>#}
{#{% endblock %}#}
{ Footer branding name (center) }
{{% block footer_branding %}}
{{% endblock %}}
{ Footer copyright (right side) }
{{% block copyright %}}
{ Copyright © 2013 Client<br>Developed by <a href="http://yoursite.com" target="_blank">YourName</a> }
{{% endblock %}}