Commit fc85e93e authored by Jan Ericsson Ong Ang's avatar Jan Ericsson Ong Ang

created 5 types of html files

parent 6815828d
...@@ -116,7 +116,8 @@ USE_TZ = True ...@@ -116,7 +116,8 @@ USE_TZ = True
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/4.1/howto/static-files/ # https://docs.djangoproject.com/en/4.1/howto/static-files/
STATIC_URL = 'static/' STATIC_URL = '/static/'
STATICFILES_DIRS = [os.path.join(BASE_DIR, 'static')]
# Default primary key field type # Default primary key field type
# https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field # https://docs.djangoproject.com/en/4.1/ref/settings/#default-auto-field
......
<!DOCTYPE html>
<html lang="en">
<head>
<link rel = "stylesheet" href=""style.css>
<title>{% block title %}My amazing site{% endblock %}</title>
{% block styles %}{% endblock %}
</head>
<body>
<div id="contetnt">
{% block content %}{% endblock %}
</div>
{block scripts %}{% endblock %}
</body>
</html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment