Install a Material Design Hexo Theme in 4 Simple Steps
This guide shows how to set up the Material Design‑styled Hexo theme "Fluid" by creating a Hexo blog, obtaining the theme via npm or direct download, configuring the theme in the site settings, and adding an about page, while highlighting the theme’s many built‑in features.
Hexo is a Node.js‑based static blog generator; this article introduces a Material Design style Hexo theme called Fluid.
Step 1
Create a Hexo blog following the official guide.
Step 2
Obtain the latest version of the theme via two methods.
Method 1
For Hexo 5.0.0 or later, install via npm: npm install --save hexo-theme-fluid Then create _config.fluid.yml in the blog directory and copy the contents of the theme’s _config.yml into it.
Method 2
Download the latest release, unzip into the themes directory, and rename the folder to fluid.
Step 3
Specify the theme in _config.yml:
theme: fluid # specify theme
language: zh-CN # language, adjust as neededStep 4
Create an “about” page: hexo new page about Edit /source/about/index.md and add the layout: about attribute. Example front matter:
---
title: about
date: 2020-02-23 19:20:33
layout: about
---
Here write the about page content, supporting Markdown, HTMLThe theme supports features such as lazy image loading, custom code highlighting, multiple languages, various comment plugins, data‑file configuration, CDN for static resources, detailed documentation, built‑in search, footer备案 information, analytics, footnotes, LaTeX formulas, mermaid diagrams, and dark mode.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Programmer DD
A tinkering programmer and author of "Spring Cloud Microservices in Action"
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
