Repository ufficiale del sito di Unitoo
  • HTML 48.2%
  • SCSS 42.6%
  • JavaScript 5.6%
  • Python 1.2%
  • Dockerfile 1.1%
  • Other 1.3%
Find a file
Claudio Maradonna 89b943d7e2
fix(build): silence remaining Sass deprecation warnings in Jekyll config
The sass:color and calc() migrations above eliminate most warnings,
but three categories remain from deeply embedded vendored code that
cannot be cleanly refactored without forking Bootstrap more
aggressively: @import (replaced by @use in a future pass), the
legacy if-function syntax, and global-builtin color functions used
inside Bootstrap's own generated mixins.

Add silence_deprecations to _config.yml's sass block as a deliberate
temporary measure to keep the build output clean while the vendored
partials are progressively updated.
2026-06-01 15:05:13 +02:00
.claude
docs docs(a11y): document contrast/heading rules and refresh assessment date 2026-05-31 22:16:07 +02:00
scripts
src fix(sass): migrate color functions and slash-division to modern Sass API 2026-06-01 15:04:55 +02:00
.dockerignore chore: tidy ignore rules and drop AI prompt artifact 2026-05-30 09:52:01 +02:00
.gitignore chore: tidy ignore rules and drop AI prompt artifact 2026-05-30 09:52:01 +02:00
.nvmrc
.ruby-version build: upgrade Ruby toolchain to 4.0.5 and align jekyll to ~> 4.4 2026-05-30 10:06:39 +02:00
_config.yml fix(build): silence remaining Sass deprecation warnings in Jekyll config 2026-06-01 15:05:13 +02:00
CLAUDE.md feat(doc): document accessibility feature 2026-05-30 17:35:06 +02:00
COPYING
Dockerfile Revert "build(docker): use scratch-based static-web-server runtime image" 2026-06-01 09:48:56 +02:00
Gemfile build: upgrade Ruby toolchain to 4.0.5 and align jekyll to ~> 4.4 2026-05-30 10:06:39 +02:00
Gemfile.lock build: upgrade Ruby toolchain to 4.0.5 and align jekyll to ~> 4.4 2026-05-30 10:06:39 +02:00
Makefile fix(docker): add --no-cache to prevent caching layers for production build 2026-05-26 15:24:29 +02:00
README.md feat(doc): document accessibility feature 2026-05-30 17:35:06 +02:00
sws.toml refactor(content): rename plural we/us slugs to singular I/me 2026-05-30 10:22:38 +02:00
TRADEMARKS.md docs: restructure README/architecture docs and add brand licensing 2026-05-30 09:51:51 +02:00

unitoo.it — Source code

Source code for the Unitoo company website — a bilingual (Italian / English) static site built with Jekyll 4 and served via static-web-server.

Quick start

Prerequisites: Ruby 4.0.5 (bundle install) and Node 22 with terser installed globally (npm i -g terser).

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

Commands

make serve          # dev server with live reload at localhost:4000
make build          # production build: tag-pages + assets-js + jekyll build → _site/
make assets-js      # concat + minify JS → src/assets/main.js
make tag-pages      # regenerate src/tag/*.html stubs from page front-matter tags
make assets-images  # generate retina logo @2x (requires ImageMagick)
make clean          # remove _site/ and generated assets
make prod_build     # docker buildx multi-arch push → git.unitoo.it/unitoo/website:latest

Verify changes visually before building.

Editing content

The Jekyll source lives under src/; the repo root holds build and configuration metadata.

  • Pages: src/_pages/*.html — each declares permalink: (IT) and permalink_en: (EN).
  • Translations: src/_i18n/it.yml and src/_i18n/en.yml.
  • Tags: after adding a tag to a page's front-matter, run make tag-pages and add meta.titles.tags.<tag> / meta.descriptions.tags.<tag> to both locale files.

Documentation

  • docs/architecture.md — how the site is put together: content model, i18n, tag system, asset pipeline, SEO.
  • docs/accessibility.md — WCAG 2.1 AA / EN 301 549 conformance, the accessibility statement, and the conventions templates must keep.
  • docs/analytics.md — Matomo measurement plan, custom dimensions, goals/events, and the conversion funnel.
  • docs/deploy.md — how to build and ship the production image.

License

The source code is released under the GNU Affero General Public License v3.0. See COPYING for the full text.

The Unitoo name, logo, brand, and graphic assets are excluded from this license and remain the exclusive property of Unitoo — see TRADEMARKS.md.