Revert to version 76c712b

This commit is contained in:
Flatlogic Bot 2025-11-18 03:51:55 +00:00
parent a6892f0787
commit c6aa62fccb
18 changed files with 34 additions and 168 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB

View File

@ -55,7 +55,6 @@ INSTALLED_APPS = [
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'django.contrib.sitemaps',
'core', 'core',
] ]

View File

@ -16,15 +16,8 @@ Including another URLconf
""" """
from django.contrib import admin from django.contrib import admin
from django.urls import include, path from django.urls import include, path
from django.contrib.sitemaps.views import sitemap
from core.sitemaps import StaticViewSitemap
sitemaps = {
'static': StaticViewSitemap,
}
urlpatterns = [ urlpatterns = [
path("admin/", admin.site.urls), path("admin/", admin.site.urls),
path("", include("core.urls")), path("", include("core.urls")),
path('sitemap.xml', sitemap, {'sitemaps': sitemaps}, name='django.contrib.sitemaps.views.sitemap'),
] ]

View File

@ -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)

View File

@ -17,31 +17,6 @@
</script> </script>
</head> </head>
<body> <body>
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand" href="{% url 'home' %}">RapidTags</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="{% url 'website-seo' %}">Website SEO</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'youtube-seo' %}">YouTube SEO</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'faq' %}">FAQ</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'testimonials' %}">Testimonials</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container"> <div class="container">
{% block content %}{% endblock %} {% block content %}{% endblock %}
</div> </div>

View File

@ -1,14 +0,0 @@
{% extends "base.html" %}
{% block title %}FAQ - SEO Tag Generator{% endblock %}
{% block head %}
<meta name="description" content="Frequently asked questions about our SEO tag generator. Learn how to generate tags, how our tool works, and get help with your YouTube SEO.">
<meta name="keywords" content="tag generator faq, seo tool faq, how to generate tags, youtube seo help, beginner seo guide, how tag generator works">
{% endblock %}
{% block content %}
<h1>FAQ</h1>
{% endblock %}

View File

@ -4,8 +4,7 @@
{% block title %}AI-Powered Content Generator{% endblock %} {% block title %}AI-Powered Content Generator{% endblock %}
{% block head %} {% block head %}
<meta name="description" content="Generate SEO-optimized titles, keywords, and YouTube tags using our free AI-powered tool. Get the best keywords for your content and boost your online presence."> <meta name="description" content="Generate SEO-optimized titles, keywords, and YouTube tags using AI.">
<meta name="keywords" content="youtube tag generator, free youtube tags, SEO tag generator, AI tag generator, keyword generator online, generate SEO keywords, best tag generator tool, ai seo tools, youtube seo optimization">
<meta property="og:title" content="AI-Powered Content Generator"> <meta property="og:title" content="AI-Powered Content Generator">
<meta property="og:description" content="Generate SEO-optimized titles, keywords, and YouTube tags using AI."> <meta property="og:description" content="Generate SEO-optimized titles, keywords, and YouTube tags using AI.">
<style> <style>
@ -70,45 +69,40 @@
<div class="col-lg-8 mx-auto"> <div class="col-lg-8 mx-auto">
<p class="lead mb-4">Choose your content type and enter a topic to generate titles, keywords, and more.</p> <p class="lead mb-4">Choose your content type and enter a topic to generate titles, keywords, and more.</p>
<div class="card shadow-sm"> <ul class="nav nav-tabs" id="myTab" role="tablist">
<div class="card-header"> <li class="nav-item" role="presentation">
<ul class="nav nav-tabs card-header-tabs" id="myTab" role="tablist"> <button class="nav-link active" id="website-tab" data-bs-toggle="tab" data-bs-target="#website" type="button" role="tab" aria-controls="website" aria-selected="true">Website SEO</button>
<li class="nav-item" role="presentation"> </li>
<button class="nav-link active" id="website-tab" data-bs-toggle="tab" data-bs-target="#website" type="button" role="tab" aria-controls="website" aria-selected="true">Website SEO</button> <li class="nav-item" role="presentation">
</li> <button class="nav-link" id="youtube-tab" data-bs-toggle="tab" data-bs-target="#youtube" type="button" role="tab" aria-controls="youtube" aria-selected="false">YouTube SEO</button>
<li class="nav-item" role="presentation"> </li>
<button class="nav-link" id="youtube-tab" data-bs-toggle="tab" data-bs-target="#youtube" type="button" role="tab" aria-controls="youtube" aria-selected="false">YouTube SEO</button> </ul>
</li>
</ul>
</div>
<div class="card-body">
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="website" role="tabpanel" aria-labelledby="website-tab">
<form method="post" action="{% url 'home' %}" class="mt-4 content-form">
{% csrf_token %}
<input type="hidden" name="form_type" value="website">
<div class="input-group mb-3">
<input type="text" class="form-control" name="topic" placeholder="e.g., 'The future of renewable energy'">
<button class="btn btn-primary" type="submit" style="background-color: #6c63ff; border-color: #6c63ff;">Generate</button>
</div>
</form>
<div class="loader"></div>
<div class="results-section mt-4"></div>
</div>
<div class="tab-pane fade" id="youtube" role="tabpanel" aria-labelledby="youtube-tab"> <div class="tab-content" id="myTabContent">
<form method="post" action="{% url 'home' %}" class="mt-4 content-form"> <div class="tab-pane fade show active" id="website" role="tabpanel" aria-labelledby="website-tab">
{% csrf_token %} <form method="post" action="{% url 'home' %}" class="mt-4 content-form">
<input type="hidden" name="form_type" value="youtube"> {% csrf_token %}
<div class="input-group mb-3"> <input type="hidden" name="form_type" value="website">
<input type="text" class="form-control" name="topic" placeholder="e.g., 'Unboxing the new iPhone'"> <div class="input-group mb-3">
<button class="btn btn-primary" type="submit" style="background-color: #6c63ff; border-color: #6c63ff;">Generate</button> <input type="text" class="form-control" name="topic" placeholder="e.g., 'The future of renewable energy'">
</div> <button class="btn btn-primary" type="submit">Generate</button>
</form>
<div class="loader"></div>
<div class="results-section mt-4"></div>
</div> </div>
</div> </form>
<div class="loader"></div>
<div class="results-section mt-4"></div>
</div>
<div class="tab-pane fade" id="youtube" role="tabpanel" aria-labelledby="youtube-tab">
<form method="post" action="{% url 'home' %}" class="mt-4 content-form">
{% csrf_token %}
<input type="hidden" name="form_type" value="youtube">
<div class="input-group mb-3">
<input type="text" class="form-control" name="topic" placeholder="e.g., 'Unboxing the new iPhone'">
<button class="btn btn-primary" type="submit">Generate</button>
</div>
</form>
<div class="loader"></div>
<div class="results-section mt-4"></div>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,14 +0,0 @@
{% extends "base.html" %}
{% block title %}Testimonials - SEO Tag Generator{% endblock %}
{% block head %}
<meta name="description" content="Read user reviews and testimonials for our SEO tag generator. See what other content creators are saying about our tool.">
<meta name="keywords" content="user reviews tag generator, seo tool testimonials, youtube tags tool reviews, best seo tools feedback, ai tool ratings">
{% endblock %}
{% block content %}
<h1>Testimonials</h1>
{% endblock %}

View File

@ -1,14 +0,0 @@
{% extends "base.html" %}
{% block title %}Website SEO Tag Generator{% endblock %}
{% block head %}
<meta name="description" content="Generate SEO-optimized tags and keywords for your website. Use our free AI-powered tool to find the best keywords for your content.">
<meta name="keywords" content="website seo tag generator, website keyword generator, seo keyword tool free, ai seo keyword creator, website title generator, meta description generator, high-rank keywords, low competition keywords">
{% endblock %}
{% block content %}
<h1>Website SEO</h1>
{% endblock %}

View File

@ -1,14 +0,0 @@
{% extends "base.html" %}
{% block title %}YouTube SEO Tag Generator{% endblock %}
{% block head %}
<meta name="description" content="Generate SEO-optimized tags, titles, and hashtags for your YouTube videos. Use our free AI-powered tool to find the best keywords for your content.">
<meta name="keywords" content="youtube seo generator, youtube tag generator free, youtube title generator ai, best youtube keywords tool, video seo optimization, ai for youtube titles, youtube hashtags generator, trending youtube tags">
{% endblock %}
{% block content %}
<h1>YouTube SEO</h1>
{% endblock %}

View File

@ -1,11 +1,7 @@
from django.urls import path from django.urls import path
from .views import home, website_seo, youtube_seo, faq, testimonials from .views import home
urlpatterns = [ urlpatterns = [
path("", home, name="home"), path("", home, name="home"),
path("website-seo", website_seo, name="website-seo"),
path("youtube-seo", youtube_seo, name="youtube-seo"),
path("faq", faq, name="faq"),
path("testimonials", testimonials, name="testimonials"),
] ]

View File

@ -64,27 +64,3 @@ def home(request):
return JsonResponse({'error': 'An unexpected error occurred.'}, status=500) return JsonResponse({'error': 'An unexpected error occurred.'}, status=500)
return render(request, "core/index.html", {}) return render(request, "core/index.html", {})
def website_seo(request):
"""
Render the website SEO page.
"""
return render(request, "core/website_seo.html", {})
def youtube_seo(request):
"""
Render the YouTube SEO page.
"""
return render(request, "core/youtube_seo.html", {})
def faq(request):
"""
Render the FAQ page.
"""
return render(request, "core/faq.html", {})
def testimonials(request):
"""
Render the testimonials page.
"""
return render(request, "core/testimonials.html", {})

Binary file not shown.

Before

Width:  |  Height:  |  Size: 164 KiB