A terminal-style blog built with Hugo, Webtui CSS, and Catppuccin theme.
hugo serverVisit http://localhost:1313 to view your blog.
Blog post (organized by date):
hugo new blog/2025/07/my-post-title/index.mdTIL entry:
hugo new til/2025/07/what-i-learned.md- Create new content using commands above
- Edit the markdown file in
content/blog/orcontent/til/ - Set
draft: falsewhen ready to publish - Or use
hugo server --buildDraftsto preview drafts
hugo --minifyOutput will be in the public/ directory.
# Clone the repository
git clone <repository-url>
cd terminal-blog
# Verify Hugo installation
hugo version# Start server with live reload
hugo server --bind 0.0.0.0 --port 1313
# Include draft content during development
hugo server --buildDrafts# Create new blog post (organized by date folders)
hugo new blog/2025/07/post-name/index.md
# Create new TIL entry
hugo new til/2025/07/til-name.md- Write - Edit your markdown files in
content/blog/orcontent/til/ - Preview - Check changes at http://localhost:1313 (auto-refreshes)
- Publish - Set
draft: falsein frontmatter when ready - Build - Run
hugo --cleanDestinationDirif content doesn't appear
# Clean rebuild (fixes missing content issues)
hugo --cleanDestinationDir
# Build without starting server
hugo
# Build with minification for production
hugo --minify# Final build
hugo --cleanDestinationDir --minify
# Deploy contents of public/ directoryhugo server- Start development serverhugo new blog/YYYY/MM/post-name/index.md- Create new blog posthugo new til/YYYY/MM/til-name.md- Create new TIL entryhugo --cleanDestinationDir- Clean rebuildhugo --buildDrafts- Include draft contenthugo --minify- Minified production build
For blog posts using the index.md structure, place images in the same folder:
content/blog/2025/07/my-post/
├── index.md
└── my-image.jpg
In your markdown, use absolute paths:
<img src="/blog/2025/07/my-post/my-image.jpg" alt="Description" style="width: 300px; height: auto;">Why absolute paths? This ensures images display correctly in:
- Individual post pages
- Homepage preview cards
- Blog listing pages
Add colored text using Catppuccin theme colors:
{{< color "yellow" >}}highlighted text{{< /color >}}
{{< color "red" >}}important warning{{< /color >}}
{{< color "green" >}}success message{{< /color >}}
{{< color "blue" >}}informational text{{< /color >}}Available colors:
rosewater,flamingo,pink,mauvered,maroon,peach,yellowgreen,teal,sky,sapphireblue,lavender
- Terminal-style UI with ASCII box borders
- Unified homepage feed combining blog posts and TIL entries
- Automatic code block and image styling
- Responsive design with Catppuccin color scheme
- Color text shortcodes for highlighting content