diff --git a/nsupdate/main/templates/main/home.html b/nsupdate/main/templates/main/home.html index 677bb19..00fee1a 100644 --- a/nsupdate/main/templates/main/home.html +++ b/nsupdate/main/templates/main/home.html @@ -3,11 +3,13 @@ {% load static %} {% block content %} + {% include "main/includes/home_top.html" %}

Your current IP(s):

IPv4: {{ request.session.ipv4 }}

IPv6: {{ request.session.ipv6 }}

+ {% include "main/includes/home_middle.html" %}

{{ WWW_HOST }} — the Dynamic DNS service you waited for.

@@ -39,4 +41,5 @@

+ {% include "main/includes/home_bottom.html" %} {% endblock %} diff --git a/nsupdate/main/templates/main/includes/home_bottom.html b/nsupdate/main/templates/main/includes/home_bottom.html new file mode 100644 index 0000000..04068f2 --- /dev/null +++ b/nsupdate/main/templates/main/includes/home_bottom.html @@ -0,0 +1 @@ +
diff --git a/nsupdate/main/templates/main/includes/home_middle.html b/nsupdate/main/templates/main/includes/home_middle.html new file mode 100644 index 0000000..064c6c3 --- /dev/null +++ b/nsupdate/main/templates/main/includes/home_middle.html @@ -0,0 +1 @@ +
diff --git a/nsupdate/main/templates/main/includes/home_top.html b/nsupdate/main/templates/main/includes/home_top.html new file mode 100644 index 0000000..e11ff42 --- /dev/null +++ b/nsupdate/main/templates/main/includes/home_top.html @@ -0,0 +1 @@ +
diff --git a/nsupdate/settings.py b/nsupdate/settings.py index ab915fa..644a762 100644 --- a/nsupdate/settings.py +++ b/nsupdate/settings.py @@ -139,6 +139,7 @@ ROOT_URLCONF = 'nsupdate.urls' WSGI_APPLICATION = 'nsupdate.wsgi.application' TEMPLATE_DIRS = ( + # you can add site-specific template dirs here to customize nsupdate.info # Put strings here, like "/home/html/django_templates" or "C:/www/django/templates". # Always use forward slashes, even on Windows. # Don't forget to use absolute paths, not relative paths.