diff --git a/assets/pasted-20251118-034835-db8441aa.jpg b/assets/pasted-20251118-034835-db8441aa.jpg deleted file mode 100644 index 51ee33c..0000000 Binary files a/assets/pasted-20251118-034835-db8441aa.jpg and /dev/null differ diff --git a/config/__pycache__/settings.cpython-311.pyc b/config/__pycache__/settings.cpython-311.pyc index a6f9812..4f439f5 100644 Binary files a/config/__pycache__/settings.cpython-311.pyc and b/config/__pycache__/settings.cpython-311.pyc differ diff --git a/config/__pycache__/urls.cpython-311.pyc b/config/__pycache__/urls.cpython-311.pyc index 1057329..139db10 100644 Binary files a/config/__pycache__/urls.cpython-311.pyc and b/config/__pycache__/urls.cpython-311.pyc differ diff --git a/config/settings.py b/config/settings.py index 9fa973c..2301d78 100644 --- a/config/settings.py +++ b/config/settings.py @@ -55,7 +55,6 @@ INSTALLED_APPS = [ 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', - 'django.contrib.sitemaps', 'core', ] diff --git a/config/urls.py b/config/urls.py index f904c31..5093d47 100644 --- a/config/urls.py +++ b/config/urls.py @@ -16,15 +16,8 @@ Including another URLconf """ from django.contrib import admin from django.urls import include, path -from django.contrib.sitemaps.views import sitemap -from core.sitemaps import StaticViewSitemap - -sitemaps = { - 'static': StaticViewSitemap, -} urlpatterns = [ path("admin/", admin.site.urls), path("", include("core.urls")), - path('sitemap.xml', sitemap, {'sitemaps': sitemaps}, name='django.contrib.sitemaps.views.sitemap'), ] diff --git a/core/__pycache__/sitemaps.cpython-311.pyc b/core/__pycache__/sitemaps.cpython-311.pyc deleted file mode 100644 index f317f63..0000000 Binary files a/core/__pycache__/sitemaps.cpython-311.pyc and /dev/null differ diff --git a/core/__pycache__/urls.cpython-311.pyc b/core/__pycache__/urls.cpython-311.pyc index d3bd842..1f807fa 100644 Binary files a/core/__pycache__/urls.cpython-311.pyc and b/core/__pycache__/urls.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index 6f8919c..2b72b90 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/sitemaps.py b/core/sitemaps.py deleted file mode 100644 index d354e43..0000000 --- a/core/sitemaps.py +++ /dev/null @@ -1,11 +0,0 @@ -from django.contrib.sitemaps import Sitemap -from django.urls import reverse - -class StaticViewSitemap(Sitemap): - def items(self): - return ['home', 'website-seo', 'youtube-seo', 'faq', 'testimonials'] - - def location(self, item): - if item in ['website-seo', 'youtube-seo', 'faq', 'testimonials']: - return '/' + item - return reverse(item) diff --git a/core/templates/base.html b/core/templates/base.html index 687461d..6794b64 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -17,31 +17,6 @@ - -
{% block content %}{% endblock %}
diff --git a/core/templates/core/faq.html b/core/templates/core/faq.html deleted file mode 100644 index 14053fb..0000000 --- a/core/templates/core/faq.html +++ /dev/null @@ -1,14 +0,0 @@ -{% extends "base.html" %} - -{% block title %}FAQ - SEO Tag Generator{% endblock %} - -{% block head %} - - -{% endblock %} - -{% block content %} - -

FAQ

- -{% endblock %} \ No newline at end of file diff --git a/core/templates/core/index.html b/core/templates/core/index.html index 75f018a..2fed3b4 100644 --- a/core/templates/core/index.html +++ b/core/templates/core/index.html @@ -4,8 +4,7 @@ {% block title %}AI-Powered Content Generator{% endblock %} {% block head %} - - +