{% extends "base.html" %} {% block title %}Audyt SEO #{{ audit.id }} - Norda Biznes Partner{% endblock %} {% block extra_css %} {% endblock %} {% block content %}
← Wróć do listy audytów

Audyt SEO #{{ audit.id }}

{{ audit.url }} — {{ audit.audited_at|local_time('%d.%m.%Y %H:%M') }} {% if audit.notes %} — {{ audit.notes }}{% endif %}

{% if audit.full_results %} {% set r = audit.full_results %} {% if r.get('issues') %}

Znalezione problemy ({{ r.issues|length }})

{% endif %} {% if r.get('pagespeed') %}

PageSpeed Insights

{% set ps = r.pagespeed %} {% set scores = ps.get('scores', {}) %} {% for key in ['performance', 'seo', 'accessibility', 'best_practices'] %}
{{ key|replace('_', ' ')|title }} {{ scores.get(key, '—') }}
{% endfor %} {% set cwv = ps.get('core_web_vitals', {}) %} {% for key in ['lcp_ms', 'fcp_ms', 'cls', 'tbt_ms', 'ttfb_ms'] %} {% if cwv.get(key) is not none %}
{{ key|upper|replace('_MS','')|replace('_','') }} {{ cwv[key] }}{{ 'ms' if 'ms' in key else '' }}
{% endif %} {% endfor %}
{% endif %} {% if r.get('on_page') %}

On-Page SEO

{% set op = r.on_page %} {% for key, label in [('meta_title', 'Meta Title'), ('meta_description', 'Meta Description'), ('h1_text', 'H1'), ('h2_count', 'H2 Count'), ('total_images', 'Obrazy'), ('images_without_alt', 'Bez alt'), ('word_count', 'Słowa'), ('has_structured_data', 'Structured Data'), ('has_og_tags', 'Open Graph')] %} {% if op.get(key) is not none %}
{{ label }} {% if op[key] is sameas true %}✓{% elif op[key] is sameas false %}✗{% else %}{{ op[key] }}{% endif %}
{% endif %} {% endfor %}
{% endif %} {% if r.get('technical') %}

Technical SEO

{% set t = r.technical %} {% for key, label in [('has_robots_txt', 'robots.txt'), ('has_sitemap', 'sitemap.xml'), ('has_canonical', 'Canonical'), ('has_ssl', 'SSL'), ('is_mobile_friendly', 'Mobile Friendly'), ('is_indexable', 'Indexable'), ('viewport_configured', 'Viewport')] %} {% if t.get(key) is not none %}
{{ label }} {% if t[key] %}✓{% else %}✗{% endif %}
{% endif %} {% endfor %}
{% endif %} {% if r.get('local_seo') %}

Local SEO

{% set ls = r.local_seo %} {% for key, label in [('score', 'Wynik'), ('has_local_business_schema', 'LocalBusiness Schema'), ('nap_on_website', 'NAP na stronie'), ('has_google_maps_embed', 'Google Maps'), ('has_local_keywords', 'Lokalne słowa kluczowe')] %} {% if ls.get(key) is not none %}
{{ label }} {% if ls[key] is sameas true %}✓{% elif ls[key] is sameas false %}✗{% else %}{{ ls[key] }}{% endif %}
{% endif %} {% endfor %}
{% endif %}
Pełne dane audytu (JSON)
{{ r|tojson(indent=2) }}
{% else %}

Brak szczegółowych danych dla tego audytu.

{% endif %} {% endblock %}