🐱 VSCat Theme for Hexo An elegant and minimalist theme for Hexo, designed with a dark color scheme and code-inspired aesthetics. ⭐ Support the Project If you find this theme useful, please consider giving it a star on GitHub! Your support helps make the project more visible and encourages continued development. Every star matters and is greatly appreciated! 🙏 Image credit: Black cat at work by Pixabay 📋 Table of…
An elegant and minimalist theme for Hexo, designed with a dark color scheme and code-inspired aesthetics.
⭐ Support the Project
If you find this theme useful, please consider giving it a star on GitHub! Your support helps make the project more visible and encourages continued development.
The theme support mermaid diagrams, you need to install the following plugin to make sure it can render properly:
npm install hexo-filter-mermaid-diagrams
Search Configuration
The theme includes a powerful search functionality inspired by VS Code’s search interface. The search feature allows users to:
Search through all blog posts and pages
Filter by title, content, tags, and categories
Use keyboard navigation (↑↓ arrows and Enter)
See highlighted search matches
Get context-aware search previews
Enabling Search
Search is enabled by default. The search index is automatically generated when you build your site. You can customize the search behavior in your site’s _config.yml:
search:
path: search.json # Path to generate the search index file
field: post # Search field, available: post, page, all
content: true # Whether to include post/page content
format: html # Content format to parse, available: html, raw
Search Keyboard Shortcuts
↑ / ↓: Navigate through search results
Enter: Open selected result
Esc: Clear search input
Search Filters
The search interface includes filters for:
Titles
Content
Tags
Categories
Users can toggle these filters to narrow down their search results.
💬 Comment System Configuration
The theme now supports multiple comment systems with automatic theme switching between dark and light modes.
Supported Comment Systems
Waline (Recommended) - Privacy-friendly, no login required
Disqus - Traditional comment system
Configuring Waline (Recommended)
Waline is a privacy-friendly comment system that allows anonymous comments without requiring login. It’s perfect for readers who want to comment without creating an account.
🎨 Automatic theme switching - Comments adapt to VS Code dark/light theme
📱 Responsive design - Works perfectly on all devices
🌍 Multi-language support - Follows your site’s language setting
🚀 Lazy loading - Comments load only when needed
🔒 Privacy-friendly - Waline allows anonymous comments without tracking
Disabling Comments
To disable comments on specific posts:
---
title: My Post
comments: false
---
To disable comments globally, set provider: false in the configuration.
👨💻 Contributors
Thanks to all the contributors who have helped make this theme better!
Note: If contributors aren't showing correctly, they may need to have their contributions properly linked to their GitHub accounts. Check that commits are associated with GitHub emails.
How to Contribute
We welcome all contributions to improve VSC4T theme! Here’s how you can help:
Fork the repository
Create your feature branch: git checkout -b feature/amazing-feature
Commit your changes: git commit -m 'Add some amazing feature'
Push to the branch: git push origin feature/amazing-feature
评论