Repository ufficiale del sito di Unitoo
- HTML 48.2%
- SCSS 42.6%
- JavaScript 5.6%
- Python 1.2%
- Dockerfile 1.1%
- Other 1.3%
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. |
||
|---|---|---|
| .claude | ||
| docs | ||
| scripts | ||
| src | ||
| .dockerignore | ||
| .gitignore | ||
| .nvmrc | ||
| .ruby-version | ||
| _config.yml | ||
| CLAUDE.md | ||
| COPYING | ||
| Dockerfile | ||
| Gemfile | ||
| Gemfile.lock | ||
| Makefile | ||
| README.md | ||
| sws.toml | ||
| TRADEMARKS.md | ||
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 declarespermalink:(IT) andpermalink_en:(EN). - Translations:
src/_i18n/it.ymlandsrc/_i18n/en.yml. - Tags: after adding a tag to a page's front-matter, run
make tag-pagesand addmeta.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.