13 lines
279 B
HTML
13 lines
279 B
HTML
![]() |
<!-- templates/home.html -->
|
||
|
{% extends 'base.html' %}
|
||
|
|
||
|
{% block title %}Home{% endblock %}
|
||
|
|
||
|
{% block content %}
|
||
|
{% if user.is_authenticated %}
|
||
|
Hi {{ user.username }}!
|
||
|
{% else %}
|
||
|
<p>You are not logged in</p>
|
||
|
<a href="{% url 'login' %}">Log In</a>
|
||
|
{% endif %}
|
||
|
{% endblock %}
|