diff --git a/challenges/templates/challenge/answer_single.html b/challenges/templates/challenge/answer_single.html index 0216a19..0e5c66d 100644 --- a/challenges/templates/challenge/answer_single.html +++ b/challenges/templates/challenge/answer_single.html @@ -1,5 +1,14 @@ {% extends "base.html" %} {% load static %} + +{% block title %} +Answer of {{ question.title }} by {{ answer.user }} | Code Turing +{% endblock title %} + +{% block description %} +View user {{ answer.user }}'s solution to the programming challenge {{ question.title }} +{% endblock description %} + {% block header %} .card { diff --git a/templates/base.html b/templates/base.html index d2e1a67..335d323 100644 --- a/templates/base.html +++ b/templates/base.html @@ -5,7 +5,9 @@ - Code Turing + {% block title %}{% endblock title %} + + body { diff --git a/users/templates/users/login.html b/users/templates/users/login.html index 390df32..93b9d24 100644 --- a/users/templates/users/login.html +++ b/users/templates/users/login.html @@ -2,6 +2,14 @@ {% load static %} +{% block title %} +Login | Code Turing +{% endblock title %} + +{% block description %} +Login to Code Turing +{% endblock description %} + {% load crispy_forms_tags %} {% block header %} diff --git a/users/templates/users/profile.html b/users/templates/users/profile.html index 14d51e2..7a34f54 100644 --- a/users/templates/users/profile.html +++ b/users/templates/users/profile.html @@ -1,5 +1,14 @@ {% extends "base.html" %} {% load static %} + +{% block title %} +{{ user_profile.user }} | Code Turing +{% endblock title %} + +{% block description %} +User Profile +{% endblock description %} + {% block content %}

diff --git a/users/templates/users/signup.html b/users/templates/users/signup.html index b56071b..833c828 100644 --- a/users/templates/users/signup.html +++ b/users/templates/users/signup.html @@ -2,6 +2,14 @@ {% load static %} +{% block title %} +SignUp | Code Turing +{% endblock title %} + +{% block description %} +SignUp to Code Turing +{% endblock description %} + {% load crispy_forms_tags %} {% block header %} diff --git a/users/templates/users/update_profile.html b/users/templates/users/update_profile.html index 74fbe1a..9633af0 100644 --- a/users/templates/users/update_profile.html +++ b/users/templates/users/update_profile.html @@ -1,5 +1,14 @@ {% extends "base.html" %} {% load static %} + +{% block title %} +Profile Update | Code Turing +{% endblock title %} + +{% block description %} +User profile update page. +{% endblock description %} + {% load crispy_forms_tags %} {% block content %}