Building a theme for TokyoCMS
A TokyoCMS theme is made of three folders:
themes/my-theme/
├── layouts/ # the page skeleton (base.html)
├── partials/ # header, footer, menu...
├── templates/ # one template per content type
└── assets/ # CSS, JS, images
Steps
- Duplicate the
themes/defaultfolder - Tweak
assets/css/style.cssto your taste - Set
theme: my-themeinconfig.yaml - Hot reload takes care of the rest!
No server restart required.