diff options
-rw-r--r-- | app/pages/views.py | 2 | ||||
-rw-r--r-- | design/templates/discursive_base.html | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/app/pages/views.py b/app/pages/views.py index 715e7cb..aa31cbe 100644 --- a/app/pages/views.py +++ b/app/pages/views.py @@ -20,7 +20,7 @@ class PageDetailTXTView(LuxDetailView): def get_template_names(self): obj = self.get_object() - return 'pages/%spage_detail.txt'% obj.site.display_name + return 'pages/%spage_detail.txt'% obj.site.name class HomePageList(DetailView): diff --git a/design/templates/discursive_base.html b/design/templates/discursive_base.html index 7e9b7ff..2b0b0b3 100644 --- a/design/templates/discursive_base.html +++ b/design/templates/discursive_base.html @@ -29,8 +29,8 @@ <div class="logo"></div> <nav class="right {% if request.user.is_anonymous %}nologin{% endif %}"> <ul> - <li><a href="{% url 'pages' slug='discursive-meditation-history' %}" title="">What is Discursive Meditation?</a></li> - <li><a href="{% url 'pages' slug='discursive-meditation-how-to' %}" title="">How Do I Do It?</a></li>{% if not request.user.is_anonymous %} + <li><a href="{% url 'pages:detail' slug='discursive-meditation-history' %}" title="">What is Discursive Meditation?</a></li> + <li><a href="{% url 'pages:detail' slug='discursive-meditation-how-to' %}" title="">How Do I Do It?</a></li>{% if not request.user.is_anonymous %} {%comment%}<li><a id="account-menu" href="{% url 'clients:settings' %}" title="">Account</a> <div id="user-menu" class="dropmenu" tabindex="-1"> <ul id="user-menu-list" class="list-style-none vertical"> @@ -68,8 +68,8 @@ <p>©{%comment%}{% now "Y" %}{%endcomment%}2018 discursivemeditation.com</p> <nav> <ul> - <li><a href="{% url 'pages' slug='faq' %}" title="">FAQ</a></li> - <li><a href="{% url 'pages' slug='resources' %}" title="">Resources</a></li> + <li><a href="{% url 'pages:detail' slug='faq' %}" title="">FAQ</a></li> + <li><a href="{% url 'pages:detail' slug='resources' %}" title="">Resources</a></li> </ul> </nav> </footer> |