{% extends "admin/layout.html" %} {% block title %}Edit Page - {{ page_label }}{% endblock %} {% block body %}

{{ page_label }}

{{ page_id }}

{% if live_url_parts is defined and live_url_parts %} {% trans %}View live page{% endtrans %} {% endif %}
{% trans %}Translate{% endtrans %}

{% trans %}SEO & Meta Tags{% endtrans %}

{% trans %}Title, description, and custom HTML for the page head section{% endtrans %}

{% for f in page_fields %} {% if f.key == 'title' or f.key == 'description' or f.key == 'head_html' or f.key == 'og_image' %}
{% if f.key == 'og_image' %}
OG Image Preview
{% trans %}or paste URL below{% endtrans %}

{% trans %}Upload an image or enter a URL for the Open Graph image{% endtrans %}

{% elif f.type == 'textarea' %} {% else %} {% endif %}
{% endif %} {% endfor %}

{% trans %}Page Content{% endtrans %}

{% trans %}Heading, description, and content sections shown on the page{% endtrans %}

{% for f in page_fields %} {% if f.key == 'page_heading' or f.key == 'page_description' or f.key == 'before_faq_title' or f.key == 'before_faq_content' %}
{% if f.type == 'textarea' %} {% else %} {% endif %}
{% endif %} {% endfor %}
{% if show_desc_fields %}

{% trans %}Filetype & Category Descriptions{% endtrans %}

{% trans %}Override the filetype title, category description, long description, and extension card box text. Leave empty to use default values from config.{% endtrans %}

{% for f in page_fields %} {% if f.key == 'filetype_title' or f.key == 'filetype_description' or f.key == 'filetype_long_description' or f.key == 'extension_box_text' %}
{% if f.type == 'textarea' %} {% else %} {% endif %} {% if defaults[f.key] %}

{% trans %}Default:{% endtrans %} {{ defaults[f.key] | truncate(120) }}

{% endif %}
{% endif %} {% endfor %}
{% endif %} {% if show_format_def %}

{% trans %}Format Definition{% endtrans %}

{% trans %}The definition text for this file format. Leave empty to use default from config.{% endtrans %}

{% for f in page_fields %} {% if f.key == 'format_definition' %}
{% if defaults[f.key] %}

{% trans %}Default:{% endtrans %} {{ defaults[f.key] | truncate(120) }}

{% endif %}
{% endif %} {% endfor %}
{% endif %} {% if option_overrides %}

{% trans %}Converter Option Labels{% endtrans %}

{% trans %}Override option label names and tooltip descriptions shown in the converter settings panel. Leave blank to use defaults from config.{% endtrans %}

{% for opt in option_overrides %}
{{ opt.key }} {% if opt.default_title %}{% trans %}Default:{% endtrans %} {{ opt.default_title }}{% endif %}
{% endfor %}
{% endif %} {% if show_extension_fields and extensions %}

{% trans %}Extension-Specific Settings{% endtrans %}

{% trans %}Customize titles, descriptions, and icons for each file extension{% endtrans %}

{% for ext in extensions %} {% set ext_title_key = 'ext_' + ext + '_title' %} {% set ext_box_key = 'ext_' + ext + '_box_text' %} {% set ext_icon_type_key = 'ext_' + ext + '_icon_type' %} {% set ext_icon_value_key = 'ext_' + ext + '_icon_value' %}
{{ ext }} {% trans %}Extension{% endtrans %}
Icon Preview
{% trans %}or paste URL below{% endtrans %}

{% trans %}Default:{% endtrans %} {{ get_definition(ext) }}

{% trans %}Preview:{% endtrans %}

{% if fields[ext_icon_type_key] == 'fa' and fields[ext_icon_value_key] %} {% elif fields[ext_icon_type_key] == 'svg' and fields[ext_icon_value_key] %}
{{ fields[ext_icon_value_key]|safe }}
{% elif fields[ext_icon_type_key] == 'image' and fields[ext_icon_value_key] %} {% else %} {% endif %}

{{ fields[ext_title_key] if fields[ext_title_key] else 'Convert ' + ext + ' file' }}

{{ fields[ext_box_key] if fields[ext_box_key] else get_definition(ext) }}

{% endfor %}
{% endif %}

{% trans %}FAQs{% endtrans %}{% if lang != 'en' %} ({{ lang | upper }}){% endif %}

{% trans %}Manage frequently asked questions for this page{% endtrans %}

{% for faq in faqs %}
{% endfor %}
{% endblock %} {% block page_scripts %} {% endblock %}