Archived
1
0

update url for front page

This commit is contained in:
Jeff Becker 2016-11-07 09:12:31 -05:00
parent f315823dcd
commit 7a4c875fd5
No known key found for this signature in database
GPG Key ID: AB950234D6EA286B
2 changed files with 2 additions and 2 deletions

View File

@ -12,5 +12,5 @@ urlpatterns = [
url(r'^b/(?P<name>[a-zA-Z0-9\.]+[a-zA-Z0-9])/(?P<page>[0-9]+)/$', views.BoardView.as_view(), name='board'),
url(r'^t/(?P<op>[a-fA-F0-9\.]{40})/$', views.ThreadView.as_view(), name='thread'),
url(r'captcha.png', views.create_captcha, name='captcha'),
url(r'^$', views.FrontPageView.as_view(), name='index'),
url(r'^$', views.FrontPageView.as_view(), name='frontpage'),
]

View File

@ -14,7 +14,7 @@
<div id="wrapper">
<div id="navbar">
<div class="navbar left">
<div id="navbar_frontpage"><a href="/">nntpchan</a></div> |
<div id="navbar_frontpage"><a href="{% url 'frontpage' %}">nntpchan</a></div> |
<div id="navbar_title">{% block navbar_title %}{% endblock %}</div>
<div id="navbar_links">{% block navbar_links %}{% endblock %}</div>
</div>