{% assign canonical_url = page.url | absolute_url %} {% assign site_home_url = '/' | absolute_url %} {% assign page_title = page.title | default: site.title %} {% assign page_description = page.description | default: site.description %} {% assign social_image = page.og_image | default: site.default_og_image | absolute_url %} {% assign social_image_alt = page.og_image_alt | default: site.default_og_image_alt %} {% assign website_id = site_home_url | append: '#website' %} {% assign software_id = site_home_url | append: '#softwareapplication' %} {% assign webpage_id = canonical_url | append: '#webpage' %} {% assign faq_id = canonical_url | append: '#faq' %} {% assign breadcrumb_id = canonical_url | append: '#breadcrumb' %} {% assign asset_version = site.time | date: '%s' %} {{ page_title | escape }} {% if page.noindex %}{% else %}{% endif %} {% if site.google_site_verification %}{% endif %} {% capture structured_data %} { "@context": "https://schema.org", "@graph": [ { "@type": "WebSite", "@id": {{ website_id | jsonify }}, "url": {{ site_home_url | jsonify }}, "name": {{ site.title | jsonify }}, "description": {{ site.description | jsonify }}, "inLanguage": "en" }, { "@type": "SoftwareApplication", "@id": {{ software_id | jsonify }}, "name": "iOpenPod", "url": {{ site_home_url | jsonify }}, "description": {{ site.description | jsonify }}, "releaseNotes": {{ site.data.distribution.native_release.url | jsonify }}, "applicationCategory": "MultimediaApplication", "operatingSystem": "Windows, macOS, Linux", "screenshot": {{ site.default_og_image | absolute_url | jsonify }}, "license": "https://www.gnu.org/licenses/gpl-3.0.html", "isAccessibleForFree": true, "downloadUrl": {{ site.data.distribution.native_release.url | jsonify }}, "installUrl": {{ '/install-help/' | absolute_url | jsonify }}, "offers": { "@type": "Offer", "price": "0", "priceCurrency": "USD", "url": {{ '/#install' | absolute_url | jsonify }} }, "isBasedOn": { "@type": "SoftwareSourceCode", "codeRepository": {{ site.repository_url | jsonify }}, "programmingLanguage": "Python", "license": "https://www.gnu.org/licenses/gpl-3.0.html" }, "author": { "@type": "Person", "name": {{ site.author | jsonify }} }, "isPartOf": { "@id": {{ website_id | jsonify }} } }, { "@type": "WebPage", "@id": {{ webpage_id | jsonify }}, "url": {{ canonical_url | jsonify }}, "name": {{ page_title | jsonify }}, "description": {{ page_description | jsonify }}, "inLanguage": "en", {% if page.breadcrumb_title %}"breadcrumb": { "@id": {{ breadcrumb_id | jsonify }} },{% endif %} "isPartOf": { "@id": {{ website_id | jsonify }} }, "about": { "@id": {{ software_id | jsonify }} } } {% if page.breadcrumb_title %}, { "@type": "BreadcrumbList", "@id": {{ breadcrumb_id | jsonify }}, "itemListElement": [ { "@type": "ListItem", "position": 1, "name": "Home", "item": {{ site_home_url | jsonify }} }, {% assign breadcrumb_position = 2 %} {% if page.url contains '/guides/' and page.url != '/guides/' %} { "@type": "ListItem", "position": 2, "name": "Guides", "item": {{ '/guides/' | absolute_url | jsonify }} }, {% assign breadcrumb_position = 3 %} {% endif %} { "@type": "ListItem", "position": {{ breadcrumb_position }}, "name": {{ page.breadcrumb_title | jsonify }}, "item": {{ canonical_url | jsonify }} } ] } {% endif %} ] } {% endcapture %} {% if page.include_faq_schema %} {% capture faq_data %} { "@context": "https://schema.org", "@type": "FAQPage", "@id": {{ faq_id | jsonify }}, "isPartOf": { "@id": {{ webpage_id | jsonify }} }, "mainEntity": [ {% for item in site.data.faq %} { "@type": "Question", "name": {{ item.question | jsonify }}, "acceptedAnswer": { "@type": "Answer", "text": {{ item.answer | jsonify }} } }{% unless forloop.last %},{% endunless %} {% endfor %} ] } {% endcapture %} {% endif %} {{ content }}