- cv-experience.njk: work history timeline with highlights - cv-skills.njk: skills grid grouped by category - cv-education.njk: education cards + language pills - cv-projects.njk: project cards with status badges and tech tags - cv-interests.njk: interest tag cloud - Update homepage-builder.njk to include cv-education and cv-interests Part of indiekit-endpoint-cv plugin integration (Phase 2). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
46 lines
2.0 KiB
Plaintext
46 lines
2.0 KiB
Plaintext
{#
|
|
Homepage Builder - renders configured sections from homepageConfig
|
|
Used when indiekit-endpoint-homepage plugin is installed and configured
|
|
#}
|
|
|
|
{% if homepageConfig.hero and homepageConfig.hero.enabled %}
|
|
{% include "components/sections/hero.njk" %}
|
|
{% endif %}
|
|
|
|
<div class="homepage-sections">
|
|
{% for section in homepageConfig.sections %}
|
|
{% if section.type == "hero" %}
|
|
{# Hero is handled above #}
|
|
{% elif section.type == "recent-posts" %}
|
|
{% include "components/sections/recent-posts.njk" %}
|
|
{% elif section.type == "custom-html" %}
|
|
{% include "components/sections/custom-html.njk" %}
|
|
{% elif section.type == "cv-experience" %}
|
|
{% include "components/sections/cv-experience.njk" ignore missing %}
|
|
{% elif section.type == "cv-projects" %}
|
|
{% include "components/sections/cv-projects.njk" ignore missing %}
|
|
{% elif section.type == "cv-skills" %}
|
|
{% include "components/sections/cv-skills.njk" ignore missing %}
|
|
{% elif section.type == "cv-education" %}
|
|
{% include "components/sections/cv-education.njk" ignore missing %}
|
|
{% elif section.type == "cv-interests" %}
|
|
{% include "components/sections/cv-interests.njk" ignore missing %}
|
|
{% elif section.type == "blogroll" %}
|
|
{% include "components/sections/blogroll.njk" ignore missing %}
|
|
{% elif section.type == "podroll" %}
|
|
{% include "components/sections/podroll.njk" ignore missing %}
|
|
{% elif section.type == "github-activity" %}
|
|
{% include "components/sections/github-activity.njk" ignore missing %}
|
|
{% elif section.type == "youtube" %}
|
|
{% include "components/sections/youtube.njk" ignore missing %}
|
|
{% elif section.type == "funkwhale" %}
|
|
{% include "components/sections/funkwhale.njk" ignore missing %}
|
|
{% elif section.type == "lastfm" %}
|
|
{% include "components/sections/lastfm.njk" ignore missing %}
|
|
{% else %}
|
|
{# Unknown section type - log warning #}
|
|
<!-- Unknown section type: {{ section.type }} -->
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|