Fix heading hierarchy (h3→h2) and add FAQ structured data for SEO
All checks were successful
Build & Deploy to Staging / Build & Deploy to Staging (push) Successful in 11m12s

- Changed 'Hosted in the EU' from h3 to h2 (WCAG compliance)
- Added FAQPage JSON-LD schema with 5 developer-focused questions
- Improves accessibility and Google rich results eligibility
This commit is contained in:
DocFast Dev 2026-02-21 13:03:06 +00:00
parent 8a98710543
commit f332d425ec
2 changed files with 98 additions and 2 deletions

View file

@ -18,6 +18,54 @@
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"SoftwareApplication","name":"DocFast","url":"https://docfast.dev","applicationCategory":"DeveloperApplication","operatingSystem":"Web","description":"Convert HTML and Markdown to beautiful PDFs with a simple API call. Fast, reliable, developer-friendly.","offers":[{"@type":"Offer","price":"9","priceCurrency":"EUR","name":"Pro","description":"Unlimited PDF generation for production apps","billingIncrement":"P1M"}]}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How do I convert HTML to PDF with an API?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Send a POST request to https://docfast.dev/v1/convert/html with your HTML content in the request body and your API key in the Authorization header. DocFast returns a ready-to-use PDF in under 1 second."
}
},
{
"@type": "Question",
"name": "Does DocFast support Markdown to PDF?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, DocFast supports converting Markdown to PDF through the /v1/convert/markdown endpoint. Simply send your Markdown content and receive a beautifully formatted PDF with full styling support."
}
},
{
"@type": "Question",
"name": "Where is DocFast hosted?",
"acceptedAnswer": {
"@type": "Answer",
"text": "DocFast is hosted exclusively in the European Union, specifically in Hetzner's Nuremberg, Germany datacenter. All data processing happens within EU borders and is fully GDPR compliant."
}
},
{
"@type": "Question",
"name": "How much does DocFast cost?",
"acceptedAnswer": {
"@type": "Answer",
"text": "DocFast Pro costs €9 per month and includes unlimited PDF generation, all conversion endpoints, built-in templates, no watermarks, and priority email support."
}
},
{
"@type": "Question",
"name": "Do you have SDKs for Node.js and Python?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, DocFast provides official SDKs for both Node.js and Python. You can also use the REST API directly with curl or any HTTP client in your preferred language."
}
}
]
}
</script>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@ -392,7 +440,7 @@ html, body {
<div class="eu-badge">
<div class="eu-icon">🇪🇺</div>
<div class="eu-content">
<h3>Hosted in the EU</h3>
<h2>Hosted in the EU</h2>
<p>Your data never leaves the EU • GDPR Compliant • Hetzner Germany (Nuremberg)</p>
</div>
</div>

View file

@ -18,6 +18,54 @@
<script type="application/ld+json">
{"@context":"https://schema.org","@type":"SoftwareApplication","name":"DocFast","url":"https://docfast.dev","applicationCategory":"DeveloperApplication","operatingSystem":"Web","description":"Convert HTML and Markdown to beautiful PDFs with a simple API call. Fast, reliable, developer-friendly.","offers":[{"@type":"Offer","price":"9","priceCurrency":"EUR","name":"Pro","description":"Unlimited PDF generation for production apps","billingIncrement":"P1M"}]}
</script>
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [
{
"@type": "Question",
"name": "How do I convert HTML to PDF with an API?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Send a POST request to https://docfast.dev/v1/convert/html with your HTML content in the request body and your API key in the Authorization header. DocFast returns a ready-to-use PDF in under 1 second."
}
},
{
"@type": "Question",
"name": "Does DocFast support Markdown to PDF?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, DocFast supports converting Markdown to PDF through the /v1/convert/markdown endpoint. Simply send your Markdown content and receive a beautifully formatted PDF with full styling support."
}
},
{
"@type": "Question",
"name": "Where is DocFast hosted?",
"acceptedAnswer": {
"@type": "Answer",
"text": "DocFast is hosted exclusively in the European Union, specifically in Hetzner's Nuremberg, Germany datacenter. All data processing happens within EU borders and is fully GDPR compliant."
}
},
{
"@type": "Question",
"name": "How much does DocFast cost?",
"acceptedAnswer": {
"@type": "Answer",
"text": "DocFast Pro costs €9 per month and includes unlimited PDF generation, all conversion endpoints, built-in templates, no watermarks, and priority email support."
}
},
{
"@type": "Question",
"name": "Do you have SDKs for Node.js and Python?",
"acceptedAnswer": {
"@type": "Answer",
"text": "Yes, DocFast provides official SDKs for both Node.js and Python. You can also use the REST API directly with curl or any HTTP client in your preferred language."
}
}
]
}
</script>
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>⚡</text></svg>">
<style>
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
@ -392,7 +440,7 @@ html, body {
<div class="eu-badge">
<div class="eu-icon">🇪🇺</div>
<div class="eu-content">
<h3>Hosted in the EU</h3>
<h2>Hosted in the EU</h2>
<p>Your data never leaves the EU • GDPR Compliant • Hetzner Germany (Nuremberg)</p>
</div>
</div>