Revert to version 76c712b
This commit is contained in:
parent
a6892f0787
commit
c6aa62fccb
Binary file not shown.
|
Before Width: | Height: | Size: 164 KiB |
Binary file not shown.
Binary file not shown.
@ -55,7 +55,6 @@ INSTALLED_APPS = [
|
||||
'django.contrib.sessions',
|
||||
'django.contrib.messages',
|
||||
'django.contrib.staticfiles',
|
||||
'django.contrib.sitemaps',
|
||||
'core',
|
||||
]
|
||||
|
||||
|
||||
@ -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'),
|
||||
]
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -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)
|
||||
@ -17,31 +17,6 @@
|
||||
</script>
|
||||
</head>
|
||||
<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">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
||||
@ -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 %}
|
||||
@ -4,8 +4,7 @@
|
||||
{% block title %}AI-Powered Content Generator{% endblock %}
|
||||
|
||||
{% 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="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 name="description" content="Generate SEO-optimized titles, keywords, and YouTube tags using AI.">
|
||||
<meta property="og:title" content="AI-Powered Content Generator">
|
||||
<meta property="og:description" content="Generate SEO-optimized titles, keywords, and YouTube tags using AI.">
|
||||
<style>
|
||||
@ -70,45 +69,40 @@
|
||||
<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>
|
||||
|
||||
<div class="card shadow-sm">
|
||||
<div class="card-header">
|
||||
<ul class="nav nav-tabs card-header-tabs" id="myTab" role="tablist">
|
||||
<li class="nav-item" role="presentation">
|
||||
<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>
|
||||
<li class="nav-item" role="presentation">
|
||||
<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>
|
||||
</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>
|
||||
<ul class="nav nav-tabs" id="myTab" role="tablist">
|
||||
<li class="nav-item" role="presentation">
|
||||
<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>
|
||||
<li class="nav-item" role="presentation">
|
||||
<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>
|
||||
</ul>
|
||||
|
||||
<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" style="background-color: #6c63ff; border-color: #6c63ff;">Generate</button>
|
||||
</div>
|
||||
</form>
|
||||
<div class="loader"></div>
|
||||
<div class="results-section mt-4"></div>
|
||||
<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">Generate</button>
|
||||
</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>
|
||||
|
||||
@ -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 %}
|
||||
@ -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 %}
|
||||
@ -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 %}
|
||||
@ -1,11 +1,7 @@
|
||||
from django.urls import path
|
||||
|
||||
from .views import home, website_seo, youtube_seo, faq, testimonials
|
||||
from .views import home
|
||||
|
||||
urlpatterns = [
|
||||
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"),
|
||||
]
|
||||
|
||||
@ -64,27 +64,3 @@ def home(request):
|
||||
return JsonResponse({'error': 'An unexpected error occurred.'}, status=500)
|
||||
|
||||
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 |
Loading…
x
Reference in New Issue
Block a user