Repository ufficiale del sito di Unitoo
  • HTML 47.1%
  • SCSS 44.6%
  • Dockerfile 2.9%
  • JavaScript 2.8%
  • Python 1.2%
  • Other 1.4%
Find a file
Claudio Maradonna a61f52222e
feat(ai): add system prompt for Unitoo website
developer assistant

This commit introduces a new AI system prompt file that defines the role,
context, and constraints for the Unitoo Website Developer Assistant. The
prompt establishes guidelines for Jekyll 4 development, bilingual content
handling, asset pipelines, and build workflows specific to the project.
2026-05-05 01:59:05 +02:00
.ai feat(ai): add system prompt for Unitoo website 2026-05-05 01:59:05 +02:00
.claude claude: remove attribution to commit/ pr 2026-04-27 22:52:57 +02:00
.devcontainer chore/upgrade-ruby (#51) 2026-04-27 11:40:36 +02:00
scripts chore: move Jekyll source into src/ 2026-04-27 20:40:47 +00:00
src fix(cookie): add error handling for Matomo 2026-05-05 01:53:17 +02:00
.gitignore chore: move Jekyll source into src/ 2026-04-27 20:40:47 +00:00
.nvmrc chore/upgrade-ruby (#51) 2026-04-27 11:40:36 +02:00
.ruby-version chore/upgrade-ruby (#51) 2026-04-27 11:40:36 +02:00
_config.yml chore: move Jekyll source into src/ 2026-04-27 20:40:47 +00:00
CLAUDE.md fix(deploy): serve Matrix .well-known with Content-Type application/json 2026-04-27 20:49:11 +00:00
COPYING First page commit 2019-08-13 15:16:48 +02:00
Dockerfile fix(deploy): serve Matrix .well-known with Content-Type application/json 2026-04-27 20:49:11 +00:00
Gemfile chore(deps): add ruby-lsp and reek as development gems 2026-04-27 21:37:01 +00:00
Gemfile.lock chore(deps): add ruby-lsp and reek as development gems 2026-04-27 21:37:01 +00:00
Makefile chore: move Jekyll source into src/ 2026-04-27 20:40:47 +00:00
README.md docs: document src/ source layout 2026-04-27 20:42:35 +00:00
sws.toml fix(deploy): serve .well-known by disabling sws hidden-files filter 2026-04-27 23:14:35 +02:00

unitoo-site

New Unitoo website based on Jekyll 4.

Quick start

make serve   # dev server at localhost:4000
make build   # production build → _site/

The first run requires bundle install (Ruby 3.3.11) and npm i -g terser (Node 22). A .devcontainer/ is provided for a reproducible toolchain — see .devcontainer/README.md.

How to contribute

Edit pages in src/_pages/*.html, translations in src/_i18n/{it,en}.yml. After adding tags to a page, run make tag-pages to regenerate src/tag/*.html stubs and add matching meta.titles.tags.<tag> / meta.descriptions.tags.<tag> keys to both locale files.

The Jekyll source lives under src/ (configured via source: src in _config.yml); root-level files are build/repo metadata only. See CLAUDE.md for the full architecture overview.

Build & deploy

make prod_build   # docker buildx multi-arch + push to git.unitoo.it/unitoo/website:latest

prod_build depends on buildx-init, which idempotently creates a multiarch buildx builder (docker-container driver) the first time — required because the default docker driver does not support multi-platform builds. Multi-arch emulation also requires qemu-user + qemu-user-binfmt registered on the host (via binfmt-support on Ubuntu).

The Dockerfile is multi-stage: it builds Jekyll inside the image and ships only the static _site/ via static-web-server.