Understand Core And Template Roles
Why unaltraweb-template is the primary integration demo.
This page is outside the active documentation profile, but direct links remain available.
unaltraweb-template is the starter repository and integration fixture. It should stay thin, but it is the best place to prove that the gem works for real child sites.
Why The Template Matters
- It consumes
unaltrawebas an external dependency. - It contains realistic demo content for
unaltreselfie,unaltreprojecte,unaltremanualandunaltredocsprofiles. - It owns the local Docker workflow for child sites.
- It uses the shared
ghcr.io/dosquartsdedocs/unaltraweb:mainruntime image by default. - It runs Playwright smoke tests and screenshots across profiles, themes and responsive layouts.
- It keeps starter-site content out of the reusable core.
The core docs/ site is different: it is an unaltredocs-style documentation site for explaining unaltraweb itself. The template is the place where all four profile starters are shown together.
What Should Stay In The Core
- Shared layouts and includes.
- Sass and static assets that every child site can reuse.
- Jekyll plugins and Liquid helpers.
- Bibliometric, CV and documentation tooling.
- Reusable GitHub Actions workflows.
- The
unaltrawebreference site underdocs/.
What Should Stay In The Template
- Editable
_config.ymldefaults. - Demo pages, posts, projects, chapters and bibliography records.
- Local
_sass/_site-custom.scssexamples. - Local Makefile and Docker wrapper for child-site workflows.
- Render smoke tests and screenshots.
Local Core Validation
cd ../unaltraweb-template
make build LOCAL_CORE=../unaltraweb
make test LOCAL_CORE=../unaltraweb SITE_PROFILE=unaltreprojecte
On constrained machines, prefer make build first and run only the profile-specific browser test needed for the change.