How cotes2020/jekyll-theme-chirpy works
Chirpy is a Jekyll theme for publishing technical-writing sites. Authors provide posts and site configuration; the theme supplies page layouts and includes, with browser-side modules adding navigation and interactive features. The README documents content management, rich text, search, comments, feeds, analytics, PWA support, and SEO. Sampled JavaScript shows page entry points invoking shared components; most Jekyll wiring and several documented capabilities were not sampled, so those relationships are not inferred.
Main entry points: layouts.js Layout behavior · _includes Theme includes · components.js Shared components · _layouts Page layouts
Components 24
Site rendering
- Page layouts
_layouts - Theme includes
_includes - Locale data
_data/locales
Content features
- Post content
_posts - Post metadata
_plugins/posts-lastmod-hook.rb - Categories and tags
_layouts/categories.html - Table of contents
_javascript/modules/components/toc.js - Rich text
_includes/embed
Browser experience
- Post interactions
_javascript/post.js - Page interactions
_javascript/page.js - Home interactions
_javascript/home.js - Shared components
_javascript/modules/components.js - Layout behavior
_javascript/modules/layouts.js - Sidebar
_javascript/modules/layouts/sidebar.js - Topbar and search
_javascript/modules/layouts/topbar.js - Search display
_javascript/modules/components/search-display.js - Theme modes
_javascript/theme.js
Services and delivery
- PWA support
_javascript/pwa - Atom feed
assets/feed.xml - Web analytics
_includes/analytics - Comment systems
_includes/comments
Other components
- Site author
- Jekyll site
- External services
Connections 26
- Site author → Jekyll site: authors for
README.md - Jekyll site → Page layouts: uses theme
- Page layouts → Theme includes: renders with
- Post content → Jekyll site: publishes through
- Post interactions → Shared components: invokes
_javascript/post.js - Post interactions → Layout behavior: invokes
_javascript/post.js - Page interactions → Shared components: invokes
_javascript/page.js - Page interactions → Layout behavior: invokes
_javascript/page.js - Home interactions → Shared components: imports
_javascript/home.js - Home interactions → Layout behavior: imports
_javascript/home.js - Shared components → Table of contents: exports
_javascript/modules/components.js - Layout behavior → Sidebar: exports
_javascript/modules/layouts.js - Layout behavior → Topbar and search: exports
_javascript/modules/layouts.js - Topbar and search → Search display: imports
_javascript/modules/layouts/topbar.js - Theme includes → Locale data: uses translations
- Theme includes → Web analytics: offers analytics
README.md - Theme includes → Comment systems: offers comments
README.md - Jekyll site → Atom feed: provides feed
README.md - PWA support → External services: caches resources
- Web analytics → External services: sends metrics
- Comment systems → External services: embeds providers
- Jekyll site → Post metadata: tracks modifications
README.md - Jekyll site → Categories and tags: organizes posts
README.md - Jekyll site → Rich text: supports embeds
README.md - Jekyll site → Table of contents: generates contents
README.md - Page layouts → Theme modes: supports modes
README.md