HexoBlog

hexo-theme-mnh — Hexo Blog Template

By czgaotian

hexo-theme-mnh is a Hexo blog theme forked from hexo-theme-polarbearsimple, released under the MIT license, with Chinese documentation and an online demo.

Explore the design

Compare the page layouts and mobile experience. Open any screenshot for a closer look.

1 previews
Author preview
Author-provided preview

Preview provided in the project README.

One original preview is available. Open the full image to inspect the design.

Screenshots show visual appearance; interactive behavior may differ.

Recorded 2026-10-02View source

What stands out

A quick read of the recorded project description.

01

A Hexo blog theme forked from hexo-theme-polarbearsimple, with Chinese documentation and an online demo in the repository

02

Sidebar widgets can separately toggle tags and categories, and support custom HTML content

03

Statistics configuration covers Baidu Analytics and Google Analytics 4 (gtag)

04

Comment systems can be Duoshuo, Disqus, or utterances based on a GitHub repository

05

The archive page can display all posts at once via hexo-generator-archive with per_page: 0

06

The copyright notice can specify a name and license link in the theme configuration

Template Details

hexo-theme-mnh is a Hexo theme written by the author for a personal blog. The repository describes itself as "A simple theme for Hexo" and states that it is modified from hexo-theme-polarbearsimple. The theme provides Chinese documentation (README_zh.md) and an online demo site, and the repository includes a screenshot of the homepage.

On the feature side, the README documents theme configuration options: sidebar widgets can toggle tags, categories, and custom HTML content; site statistics support Baidu Analytics and Google Analytics 4 (gtag); comments support Duoshuo, Disqus, and utterances; and the copyright notice can be configured with a name and link. The archive page can display all posts via hexo-generator-archive with per_page: 0, and site search relies on hexo-algoliasearch and the Algolia service. The README's TODO lists "search component style update," indicating that this part is still being adjusted.

Regarding usage constraints, installation requires additional plugins including hexo-renderer-sass, hexo-renderer-swig, hexo-generator-archive, and hexo-algoliasearch; the README notes that hexo-renderer-sass may fail to install when the Node.js version is greater than 12, and provides an alternative command to install from the @kmuncie repository. The search feature requires preparing Algolia's applicationID, apiKey, adminApiKey, and index name yourself. The repository does not provide a dependency list, so specific version numbers are not listed here.

HexoBlog

Is it right for your project?

Use Cases

  • Building a personal blog with Hexo and wanting to switch to an existing theme
  • Blogs that need sidebar tags, categories, or custom HTML widgets
  • Sites that want to integrate Algolia site search, Baidu Analytics, or Google Analytics 4
  • Blogs using utterances, Disqus, or Duoshuo as the article comment section
  • Blogs that need an archive page to display all posts together

Suitable For

  • Users familiar with Hexo configuration and theme directory structure
  • Site owners willing to apply for and configure the Algolia search service themselves
  • Developers who can handle hexo-renderer-sass installation issues in a Node.js environment
  • Users who prefer a simple blog theme and accept a fork based on polarbearsimple

Getting started & customization

Use these recorded setup notes alongside the repository instructions for your chosen version.

  1. 1

    First install the hexo-renderer-sass, hexo-renderer-swig, hexo-generator-archive, and hexo-algoliasearch plugins

  2. 2

    When the Node.js version is greater than 12, hexo-renderer-sass may fail to install; the README recommends installing from the repository provided by @kmuncie instead

  3. 3

    Clone the theme into the Hexo site's themes/mnh directory and set theme: mnh in the site _config.yml

  4. 4

    To display all posts on the archive page, configure archive_generator with per_page: 0 and yearly/monthly/daily all set to false

  5. 5

    For site search, fill in Algolia's applicationID, apiKey, adminApiKey, and indexName in the site _config.yml

Read repository instructions

License & source material

Usage conditions & limitations

Free to use · keep license notice

This entry covers the free version in the public repository under the MIT license; the free scope is the code of this version and does not mean that external services or third-party assets are free.

Must comply with when using

  • Free use, modification, commercial use, and distribution of this version's code are permitted.
  • When distributing copies or substantial portions of the code, retain the original author's copyright notice and the complete MIT license notice.
  • The code is provided as is; warranties and limitations of liability are governed by the original license and applicable law.

Additional costs & items to verify

  • Site search depends on the third-party Algolia service; you must register an account yourself and provide applicationID, apiKey, adminApiKey, and index name, which is an external service requirement.
  • Baidu Analytics requires applying for it yourself and filling in the statistics key, which is an external service account requirement.
  • Google Analytics 4 requires applying for it yourself and filling in the gtag identifier, which is an external service account requirement.
  • utterances comments require providing a GitHub repository address and depend on a GitHub account and repository.
  • When the Node.js version is greater than 12, hexo-renderer-sass may fail to install and must be installed from an alternative repository, which is an environment compatibility limitation.
  • Demo images, fonts, icons, and other third-party assets must be checked against their respective licenses and cannot be judged solely by the code's MIT license.
  • External services such as domains, hosting, databases, payments, or AI may incur additional charges.
View Original Text Basis

Permission is hereby granted, free of charge

Original License Text

Global search based on Algolia https://www.algolia.com/

Original README

# Baidu Analytics baidu_analytics: enable: true key: "[BAIDU ANALYTICS KEY]"

Original README

google_analytics: enable: true gtag: "[GOOGLE ANALYTICS GTAG]"

Original README

utterances: enable: true repo: "[ENTER REPO HERE]"

Original README

if use `nodejs` version > 12, `hexo-renderer-sass` may installed incorrect

Original README
https://github.com/czgaotian/hexo-theme-mnh/blob/master/LICENSEhttps://github.com/czgaotian/hexo-theme-mnh/blob/master/README.md

Compiled by DeepSeek based on repository license and README ·2026-10-02. Results only cover the materials read; dependencies, images, fonts, and subsequent term changes are subject to their respective original texts.

Project checks & description sources

Template Information

Source platforms
GitHub
Documentation and maintenance reference score
Partly documented · 60 / 100
Technologies
Hexo
Website type
Blog
How this score is calculated

Our heuristic uses license records (up to 30), a demo link (12), a preview (10), stars (15), recorded maintenance (15), description completeness (8), feature records (5) and classification data (5). It is not a code, security or performance test, or a Google score. A link does not establish tested functionality.

What to verify for this project

Repository update recorded
2023-07-31
Screenshot last checked
2026-10-02

A demo link is listed. Check it with your own content and viewport sizes; its presence does not confirm that forms, authentication or payments work.

The catalog identifies Hexo as the primary stack. Check the actual dependency manifest and lockfile for versions and hosting requirements. These notes use recorded metadata, not a code audit or a deployment test.

Use a selection guide →

How this description was prepared

AI-assisted description based on catalog records and repository material. Repository authors are not automatically the reviewers of this description.

Automatically checked against source and license rules; no manual editorial review.

Inspect the recorded source material

SHA-256: 734edbfcae384b39a2f1aeb42bc09d3a1d703a5c0c69454e29df1052b8497379

2026-10-02T15:01:59.996Z

Source file / repository
# hexo-theme-mnh

[中文文档](README_zh.md)

A simple theme for Hexo. Based on [hexo-theme-polarbearsimple](https://github.com/henryhuang/hexo-theme-polarbearsimple)

!["首页图片"](mnh.png)

[Online Demo](https://mnh.gao.tn)

## TODO

1. Search component style update

## Installation

1.Install Hexo plugin `hexo-renderer-sass` `hexo-renderer-swig` `hexo-generator-archive` and `hexo-algoliasearch`

  ```bash
  npm install hexo-renderer-scss@github:meannoharm/hexo-renderer-sass hexo-renderer-swig hexo-generator-archive hexo-algoliasearch --save
  ```
  
  if use `nodejs` version > 12, `hexo-renderer-sass` may installed incorrect, see [Issue](https://github.com/knksmith57/hexo-renderer-sass/issues/43) and [Pull request](https://github.com/knksmith57/hexo-renderer-sass/pull/46).

  You can run this command to install `hexo-renderer-sass` from [@kmuncie](https://github.com/kmuncie)

  ```bash
  npm install --save https://github.com/kmuncie/hexo-renderer-sass
  ```

2.Download the theme to your Hexo theme folder

  ```bash
  git clone https://github.com/meannoharm/hexo-theme-mnh themes/mnh
  ```

3.Modify `your_site/_config.yml`

```yaml
# Extensions
## Plugins: http://hexo.io/plugins/
## Themes: http://hexo.io/themes/
theme: mnh

# Show all articles at archive page.
# Need to install hexo-generator-archive
archive_generator:
    per_page: 0
    yearly: false
    monthly: false
    daily: false

# Global search based on Algolia https://www.algolia.com/
# Need to install and config hexo-algoliasearch
algolia:
  applicationID: "<APP_ID>"
  apiKey: "<API_KEY>"
  adminApiKey: "<ADMIN_API_KEY>"
  chunkSize: 5000
  indexName: "<INDEX_NAME>"
  fields:
  - content:strip:truncate,0,500
  - excerpt:strip
  - permalink
  - cover
  - slug
  - tags
  - categories
  - title
```

## Theme Config

Modify `your_site/themes/mnh/_config.yml`

### Widget Function

```yaml
# widget function
# false: disable
# widget_custom: custom your widget
#   title: your widget title
#   content: Add your html code in here. Example: <p>testing...</p>
widget:
  Tags: true
  Categories: false
  Custom: false

widget_custom:
    title: Test
    content: <p>testing...</p>
```

### Site Analytics

```yaml
# Baidu Analytics
baidu_analytics:
  enable: true
  key: "[BAIDU ANALYTICS KEY]"
# Google Analytics
# use google analytics 4
google_analytics:
  enable: true
  gtag: "[GOOGLE ANALYTICS GTAG]"
```

### Comment Function

```yaml
# Duoshuo
duoshuo_shortname:
# Disqus
disqus_shortname:
# utterances
utterances:
  enable: true
  repo: "[ENTER REPO HERE]"
  issueTerm: pathname
  theme: github-light
```

### License Config

```yaml
license:
  name: CC-BY-NC-SA 4.0
  link: https://creativecommons.org/licenses/by-nc-sa/4.0/
```
Report a correction

Explore similar templates

Compare previews and descriptions within the same stack and category.