Skip to main content

Introduction

Tranquility is a Hexo theme designed for personal homepages and multi-discipline bloggers. It changes Hexo's default design logic to focus on personal branding and clear domain boundaries across blog content.

Fork Notice

This repository is a fork of hooozen/hexo-theme-tranquility. The original repository was archived in June 2026 and is no longer maintained. This fork continues maintenance, adding features and fixing bugs on top of the original.

Major changes compared to the original repo:

  • Hitokoto Slogan toggle
  • Article-driven timeline (replaces config-defined events)
  • Hexo native about page (replaces config-defined content)
  • Build-time RSS-aggregated "Recent Updates" cards
  • Runtime dark mode (CSS variables — no rebuild needed to switch)
  • Open Graph / Twitter Card / JSON-LD structured data
  • Sitemap (sitemap.xml), robots.txt, RSS auto-discovery
  • PWA (manifest.json + Service Worker), lazy image loading
  • Back-to-top button, prefers-reduced-motion accessibility degradation
  • Font loading optimization (font-display: swap + preload)
  • Code simplification (scripts directory -23%); removed the CV feature (duplicated by the about page)
  • Security hardening (fixed XSS / </script> injection / localStorage fallback, etc.)
  • Removed the deprecated Gitalk comments feature

See Releases for details.

Version Evolution (v1.4.0 ~ v1.6.1)

Since the fork, the theme has iterated through the following versions:

VersionDateTheme
v1.4.02026-07-16Personalization enhanced — first fork release: Hitokoto slogan, article-driven timeline, native about page, build-time RSS recent updates
v1.5.02026-07-18Modernization — runtime dark mode, Open Graph/Twitter Card, JSON-LD, sitemap, PWA, image lazy loading
v1.5.12026-07-19Performance optimization and bug fixes — TOC throttling, template caching, 6 defect fixes
v1.5.22026-07-22Security hardening and robustness — XSS fixes, functional defects, error handling, SEO improvements
v1.6.02026-07-22Accessibility / performance / experience — back-to-top button, prefers-reduced-motion, RSS auto-discovery, robots.txt, font loading optimization
v1.6.12026-07-26Robustness fixes — RSS auto-discovery config read, JSON-LD image URL, carousel null checks

See the Changelog for per-version details.

Demo Sites

Features