update url for front page
This commit is contained in:
parent
f315823dcd
commit
7a4c875fd5
@ -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'^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'^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'captcha.png', views.create_captcha, name='captcha'),
|
||||||
url(r'^$', views.FrontPageView.as_view(), name='index'),
|
url(r'^$', views.FrontPageView.as_view(), name='frontpage'),
|
||||||
]
|
]
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div id="navbar">
|
<div id="navbar">
|
||||||
<div class="navbar left">
|
<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_title">{% block navbar_title %}{% endblock %}</div>
|
||||||
<div id="navbar_links">{% block navbar_links %}{% endblock %}</div>
|
<div id="navbar_links">{% block navbar_links %}{% endblock %}</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user