diff --git a/publications_bootstrap/templates/publications_bootstrap/pages/publications.html b/publications_bootstrap/templates/publications_bootstrap/components/publications.html similarity index 70% rename from publications_bootstrap/templates/publications_bootstrap/pages/publications.html rename to publications_bootstrap/templates/publications_bootstrap/components/publications.html index 4fd3280..0a3d712 100644 --- a/publications_bootstrap/templates/publications_bootstrap/pages/publications.html +++ b/publications_bootstrap/templates/publications_bootstrap/components/publications.html @@ -1,5 +1,3 @@ -{% extends "publications_bootstrap/base.html" %} - {% for publication in publications %} {% include "publications_bootstrap/components/publication.html" %} {% endfor %} diff --git a/publications_bootstrap/templatetags/publication_extras.py b/publications_bootstrap/templatetags/publication_extras.py index d138183..5656223 100644 --- a/publications_bootstrap/templatetags/publication_extras.py +++ b/publications_bootstrap/templatetags/publication_extras.py @@ -29,7 +29,7 @@ def render_template(template, request, args): @register.simple_tag(takes_context=True) -def get_publications(context, template='publications_bootstrap/pages/publications.html'): +def get_publications(context, template='publications_bootstrap/components/publications.html'): """ Get all publications. """