SEO & content optimization: meta tags, structured data, improved targeting
All checks were successful
Build and Deploy PunktFri / build-and-deploy (push) Successful in 1m19s
All checks were successful
Build and Deploy PunktFri / build-and-deploy (push) Successful in 1m19s
Major improvements: - Add comprehensive meta tags (Open Graph, Twitter Cards, canonical URL) - Implement schema.org structured data (Organization, FAQPage) - Optimize H1 with keywords: "Non-profit registrator for .dk-domæner" - Add robots.txt and sitemap.xml with Flask routes - Improve hero intro with specific pain point (90-150 kr/year) - Enhance DNSSEC description with technical details (DS-records) - Update timeline to May 2026 - Add FAQ comparing PunktFri to commercial providers - CSS styling for H1 subtitle 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
12
app.py
12
app.py
@@ -3,7 +3,7 @@ import logging
|
||||
import sqlite3
|
||||
from functools import wraps
|
||||
|
||||
from flask import Flask, render_template, request, redirect, url_for, g, Response
|
||||
from flask import Flask, render_template, request, redirect, url_for, g, Response, send_from_directory
|
||||
|
||||
DATABASE = os.environ.get("DATABASE", "punktfri.db")
|
||||
LOG_FILE = os.environ.get("LOG_FILE", "signups.log")
|
||||
@@ -135,6 +135,16 @@ def health():
|
||||
}, 200
|
||||
|
||||
|
||||
@app.route("/robots.txt")
|
||||
def robots():
|
||||
return send_from_directory(app.static_folder, "robots.txt")
|
||||
|
||||
|
||||
@app.route("/sitemap.xml")
|
||||
def sitemap():
|
||||
return send_from_directory(app.static_folder, "sitemap.xml")
|
||||
|
||||
|
||||
init_db()
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user