diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/index.html b/templates/index.html index 6b57b80..891be41 100644 --- a/templates/index.html +++ b/templates/index.html @@ -26,8 +26,10 @@ <br> <p> - <a href="#" class="btn btn-outline-inverse btn-lg">了解更多</a> + <a href="{% url 'introduction' %}" class="btn btn-outline-inverse btn-lg">了解更多</a> + {% if not user.is_authenticated %} <a href="{% url 'registration_register' %}" class="btn btn-outline-inverse btn-lg">注册参加</a> + {% endif %} </p> </div> {% endblock %} {# content #} |