xiaohongshu
xiaohongshu
hexo-butterfly
Hexo Butterfly 主题配置与使用指南,包括主题安装、页面配置、主题配置、标签外挂、FAQ、进阶教程
Full skill instructions
Butterfly 是一款基于 hexo-theme-melody 的简洁卡片式 Hexo 主题,提供丰富的配置选项和标签外挂功能。
当用户询问以下内容时激活此技能:
# Git 安装(推荐)
git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly
# NPM 安装(Hexo 5.0+)
npm install hexo-theme-butterfly
# 必装渲染器
npm install hexo-renderer-pug hexo-renderer-stylus --save
修改 Hexo 根目录 _config.yml:
theme: butterfly
在 Hexo 根目录创建 _config.butterfly.yml,复制主题 _config.yml 内容。升级主题时配置不会丢失。
---
title: 文章标题
date: 2024-01-01 12:00:00
tags:
- 标签1
- 标签2
categories:
- 分类名
cover: /img/cover.jpg
toc: true
comments: true
---
# 标签页
hexo new page tags
# 然后设置 type: 'tags'
# 分类页
hexo new page categories
# 然后设置 type: 'categories'
# 友链页
hexo new page link
# 然后设置 type: 'link'
Note 提示框:
{% note info %}
这是一条信息提示
{% endnote %}
Tabs 选项卡:
{% tabs 选项卡名 %}
<!-- tab 标签1 -->
内容1
<!-- endtab -->
<!-- tab 标签2 -->
内容2
<!-- endtab -->
{% endtabs %}
折叠内容:
{% hideToggle 点击展开 %}
隐藏的内容
{% endhideToggle %}
详细文档位于 references/ 目录:
| 问题 | 解决方案 |
|---|---|
| 页面显示代码而非渲染 | npm install hexo-renderer-pug hexo-renderer-stylus --save |
| 友链配置报错 | 检查 link.yml 的缩进空格 |
| 升级后运行报错 | 检查 _config.butterfly.yml 是否缺少新配置项 |
| 部署后样式异常 | 执行 hexo clean 清理缓存后重新生成 |
| 字数统计失效 | 安装 npm install hexo-wordcount --save |
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience