A modern, elegant Ghost theme focused on clean typography, mobile readability, and deep support for Ghost.
- Dual Theme System - Light/dark modes with automatic system detection
- Mobile Design - Fully responsive with native WebKit smooth scrolling
- Modern Image Support - AVIF/WebP format with automatic conversion
- Code Syntax Highlighting - Beautiful code blocks with one-click copy
- Automatic Table of Contents - Smart navigation with scroll spy
- 32 Languages - Comprehensive internationalization support
- Poem Cards - Elegant poetry display with Markdown syntax support
- Tags Page Template - Custom page for browsing all tags with post counts
- Links Page Template - Friend links showcase with animated Möbius symbol
- Enhanced Footnotes - Improved navigation and styling
- Not By AI Badge - Optional transparency badge for human-created content
- Portrait Image Detection - Automatic layout optimization
- Fast Loading - Optimized assets with lazy loading
- Glass Morphism UI - Modern design with elegant animations
- Smart Navigation - Post navigation with intelligent fallbacks
- Mobile Enhancements - Auto-hide panels and touch-optimized interactions
- Custom OG Images - Optional Open Graph image service integration
Attegi achieves excellent scores on Google PageSpeed Insights:
| Metric | Mobile | Desktop |
|---|---|---|
| Performance | 97 | 97 |
| Accessibility | 96 | 100 |
| Best Practices | 100 | 100 |
| SEO | 100 | 100 |
Display beautiful poetry with automatic Markdown parsing or custom HTML
> [!poem] The Road Not Taken
> Two roads diverged in a yellow wood,
> And sorry I could not travel both
> And be one traveler, long I stood
>
> — Robert FrostFeatures:
- Markdown syntax with
[!poem]trigger - Auto-adapts to light/dark themes
- Fully responsive design
- Centered layout and plain text style options
- Elegant hover effects
Next-gen image formats with automatic conversion
- AVIF & WebP automatic format detection
- Fully configurable
- Lazy loading
- Enhanced mobile touch interactions
- Lightbox gallery with
GLightbox
Smart navigation with scroll spy
- Auto-generated from post headings (H2-H6)
- Scroll spy with active section highlighting
- Desktop: Fixed sidebar, Mobile: Collapsible drawer
- Disable per-post with
#no-tocinternal tag
Browse all tags with post previews in a beautiful glass-morphism design
- Custom page template with scrollable tag list
- Glass-effect cards with elegant animations
- Shows post count for each tag
- Fully responsive design
Setup: Create a new page in Ghost Admin → Pages, set the slug to tags.
Showcase friend links with animated Möbius infinity symbol
- Custom page template with elegant header animation
- Supports Ghost's native bookmark cards
- Custom HTML link cards with rich metadata
- Beautiful grid layout with hover effects
Setup: Create a new page in Ghost Admin → Pages, set the slug to links.
Syntax highlighting with one-click copy
- Syntax highlighting via highlight.js
- Copy button for code snippets
- Language detection and display
- Optimized mobile viewing experience
Optional badge for posts not created by AI
- Enable per-post with internal tag
#not-by-ai - Configurable badge link
- Seamlessly integrated into post layout
- Footnote Navigation - Enhanced styling and smooth scrolling
- Open Graph Images - Optional custom OG image service support
- Portrait Detection - Automatic layout optimization for portrait images
- Auto-hide Panels - Mobile floating panels hide during interactions
- Glass Buttons - Elegant liquid glass-effect buttons
- Download the latest version from GitHub Releases
Ghost Admin→Settings→Design→Upload Theme- Activate
Attegi - Enjoy!
| Setting | Location |
|---|---|
| Accent color | Ghost Admin → Design & Branding |
| Hide elements | Code Injection (see below) |
| Styles/Scripts | Edit src/sass or src/js, then rebuild |
Hide Elements via Code Injection
<style>
section.post-comments,
.post-share,
.nav-footer ul,
span.nav-credits,
span.nav-copy { display: none !important; }
</style>Prerequisites
- Node.js 16+ and npm/yarn
- Docker (optional)
- Git
Local Development with Docker
docker-compose up -d
# Visit http://localhost:2368/ghost
# Activate theme in Settings → DesignBuild Commands
npm run dev # Watch mode (CSS + JS concurrent)
npm run build # Production build
npm run compress # Create zip
npm run validate # Validate theme with GScan
npm run clean # Remove build artifactsProject Structure
Attegi/
├── assets/ # Compiled (don't edit)
├── locales/ # 32 language files
├── partials/ # Template components
├── src/
│ ├── sass/ # Source styles
│ └── js/ # Modular ES modules
│ ├── core/ # Shared utilities
│ ├── features/ # Feature modules
│ └── entries/ # Bundle entry points
├── scripts/ # Build tools (esbuild)
├── *.hbs # Templates
└── package.json
- Docs: Ghost Theme Documentation
- Issues: GitHub Issues
- Discussions: GitHub Discussions
- Paid support & Customization: Available for technical support and theme customization. email me to discuss scope.
GNU Affero General Public License v3.0. See LICENSE.




