- homepage-builder.njk: master section renderer for configured sections - sections/hero.njk: hero section with avatar, name, title, bio, social - sections/recent-posts.njk: configurable recent posts section - sections/custom-html.njk: freeform HTML content block - Wire home.njk Tier 1 to include homepage-builder when config exists Part of indiekit-endpoint-homepage plugin integration. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
19 lines
509 B
Plaintext
19 lines
509 B
Plaintext
{#
|
|
Custom HTML Section - freeform HTML/markdown content block
|
|
Rendered by homepage-builder when custom-html section is configured
|
|
#}
|
|
|
|
{% set sectionConfig = section.config or {} %}
|
|
|
|
<section class="mb-8 sm:mb-12">
|
|
{% if sectionConfig.title %}
|
|
<h2 class="text-xl sm:text-2xl font-bold text-surface-900 dark:text-surface-100 mb-4 sm:mb-6">
|
|
{{ sectionConfig.title }}
|
|
</h2>
|
|
{% endif %}
|
|
|
|
<div class="prose dark:prose-invert max-w-none">
|
|
{{ sectionConfig.content | safe }}
|
|
</div>
|
|
</section>
|