feat: initial Hugo blog for internetforkids.ong
Child safety marketing blog with: - First article: Global Child Protection Laws 2026 (EN/DE) - Interactive world map (17 countries, TopoJSON) - SEO: JSON-LD, OpenGraph, hreflang, canonical URLs - AI search: robots.txt, llms.txt, FAQ sections - VPN CTA shortcode, about pages, tag taxonomy - Rybbit analytics partial (site ID TBD) - Dockerfile + nginx.conf for deployment Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
13
layouts/shortcodes/faq.html
Normal file
13
layouts/shortcodes/faq.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{/* FAQ shortcode — renders as expandable details + outputs FAQPage schema for AI search */}}
|
||||
{{ $items := .Inner | split "---" }}
|
||||
<div class="faq-section">
|
||||
{{ range $items }}
|
||||
{{ $parts := . | split "?" }}
|
||||
{{ if gt (len $parts) 1 }}
|
||||
<details class="faq-item" style="margin-bottom: 0.75rem; border: 1px solid #e2e8f0; border-radius: 8px; padding: 0;">
|
||||
<summary style="padding: 0.75rem 1rem; cursor: pointer; font-weight: 600; list-style: none;">{{ index $parts 0 | markdownify }}?</summary>
|
||||
<div style="padding: 0 1rem 0.75rem; color: #4a5568;">{{ index $parts 1 | markdownify }}</div>
|
||||
</details>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
Reference in New Issue
Block a user