{% extends "admin/base.html" %} {% block title %}Link Validator - Focomy{% endblock %} {% block header_title %}Link Validator{% endblock %} {% block content %}

Link Validation

{% if stats %}
Total Pages {{ stats.total_pages }}
Internal Links {{ stats.total_internal_links }}
External Links {{ stats.total_external_links }}
Broken Internal {{ stats.broken_internal }}
{% if stats.broken_external is defined %}
Broken External {{ stats.broken_external }}
{% endif %}
{% endif %} {% if broken_links %}

Broken Internal Links ({{ broken_links | length }})

{% for link in broken_links %} {% endfor %}
Source Page Broken Link Actions
{{ link.source_title }}
{{ link.source_url }}
{{ link.target_url }} {{ link.status }} Find & Edit
{% endif %} {% if external_errors %}

External Link Errors ({{ external_errors | length }})

{% for link in external_errors %} {% endfor %}
Source Page Broken External Link Status
{{ link.source_title }}
{{ link.source_url }}
{{ link.target_url[:60] }}{% if link.target_url | length > 60 %}...{% endif %} {{ link.status }}
{% endif %} {% if not stats and not broken_links %}

Click a button above to run link validation.

Internal link check is fast. External check may take several minutes for large sites.

{% elif stats and not broken_links and not external_errors %}

All links are valid! No broken links found.

{% endif %}

Orphan Pages

{% if orphans is defined %} {% if orphans %}

Found {{ orphans | length }} page(s) not linked from anywhere:

{% for page in orphans %} {% endfor %}
Page URL Type Actions
{{ page.title }} {{ page.url }} {{ page.type }} View Edit
{% else %}

No orphan pages found! All published pages are linked.

{% endif %} {% else %}

Click "Find Orphan Pages" to detect pages not linked from anywhere.

{% endif %}
{% endblock %}