Site Structure
Site Structure
This document describes the current repository layout for triwei.ai.
Top-Level Structure
/
|-- _blog/
|-- _experiments/
|-- _guides/
|-- _knowledge/
|-- _posts/
|-- _data/
|-- _includes/
|-- _layouts/
|-- assets/
|-- games/
|-- scripts/ (excluded from Jekyll build)
|-- src/ (excluded from Jekyll build)
|-- public/ (excluded from Jekyll build)
|-- _config.yml
|-- index.md
|-- experiments.md
|-- guides.md
|-- knowledge.md
|-- blog.md
|-- about.md
|-- contact.md
|-- 404.html
|-- CNAME
|-- robots.txt
|-- site.webmanifest
|-- README.md
|-- CONTRIBUTING.md
|-- DEVELOPER_GUIDE.md
Jekyll Runtime Areas
_config.yml: Jekyll config, collections, defaults, and excludes._includes/: shared partials used across layouts.head.htmlheader.htmlfooter.html
_layouts/: page templates.default.htmlhome.htmlpage.htmlpost.html
_data/: build-time JSON used by Liquid templates._data/games_manifest.json_data/games_card_overrides.json
assets/: shared static assets.assets/css/style.cssassets/fonts/*assets/images/*
Content Collections
_experiments/->/experiments/.../_guides/->/guides/.../_knowledge/->/knowledge/.../_blog/->/blog/.../
Entry Pages
index.md->/experiments.md->/experiments/guides.md->/guides/knowledge.md->/knowledge/blog.md->/blog/about.md->/about/contact.md->/contact/
Games Section
Hub:
games/index.md->/games/games/manifest.json-> canonical game list for tooling and sync sourcegames/card_overrides.json-> canonical per-slug card override source_data/games_manifest.json-> synced build-time source for/games/rendering_data/games_card_overrides.json-> synced build-time override source for/games/
Game directories (each contains index.html with permalink /games/<slug>/):
games/orbit-runner/games/circuit-flip/games/signal-drift/games/vector-vault/games/logic-lattice/games/flux-line/games/pulse-stack/games/grid-hopper/games/echo-trace/games/pattern-relay/games/tempo-matrix/games/quantum-swap/
Navigation Control Points
- Primary nav:
_includes/header.html - Footer nav:
_includes/footer.html - Shared page wrapper and global scripts:
_layouts/default.html
Tooling Files (Not Used by Jekyll Output)
These exist in the repo but are excluded in _config.yml:
src/public/scripts/package.jsonpackage-lock.jsonpostcss.config.cjstailwind.config.mjsastro.config.mjs
Local verification scripts:
scripts/sanity_check_games.mjsscripts/broken_link_detector.mjs