mirror of
				https://github.com/imfing/hextra.git
				synced 2025-11-04 05:54:54 -05:00 
			
		
		
		
	* chore(docs): rename `exampleSite` to `docs` and create `examples` * chore(build): update build script to support new version format and source directories; add v0.10 to documentation menu
		
			
				
	
	
		
			40 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			40 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
---
 | 
						||
linkTitle: "文档"
 | 
						||
title: 简介
 | 
						||
---
 | 
						||
 | 
						||
👋 你好!欢迎来到 Hextra 文档中心!
 | 
						||
 | 
						||
<!--more-->
 | 
						||
 | 
						||
## 什么是 Hextra?
 | 
						||
 | 
						||
Hextra 是一个基于 [Tailwind CSS][tailwind-css] 构建的现代化、高性能且开箱即用的 [Hugo][hugo] 主题。专为打造文档、博客和网站而设计,它提供丰富的内置功能和灵活配置,满足多样化需求。
 | 
						||
 | 
						||
## 核心特性
 | 
						||
 | 
						||
- **精美设计** - 灵感源自 Nextra,采用 Tailwind CSS 实现现代美学,让您的站点脱颖而出。
 | 
						||
- **响应式布局与暗黑模式** - 完美适配移动设备、平板及桌面端,并支持根据环境光线自动切换的暗黑模式。
 | 
						||
- **极速轻量** - 依托 Hugo 静态网站生成器的单文件二进制架构,无需 JavaScript 或 Node.js 环境即可运行。
 | 
						||
- **全文搜索** - 内置基于 FlexSearch 的离线全文搜索功能,零配置开箱即用。
 | 
						||
- **功能完备** - 支持 Markdown 语法高亮、LaTeX 数学公式、图表和 Shortcodes 等丰富内容元素。自动生成目录导航、面包屑、分页及侧边栏等组件。
 | 
						||
- **多语言与 SEO 友好** - 通过 Hugo 多语言模式轻松构建国际化站点,原生集成 SEO 标签、Open Graph 和 Twitter Cards 支持。
 | 
						||
 | 
						||
## 问题或建议?
 | 
						||
 | 
						||
{{< callout emoji="❓" >}}
 | 
						||
  Hextra 仍在积极开发中。
 | 
						||
  如有疑问或反馈,欢迎[提交 Issue](https://github.com/imfing/hextra/issues)!
 | 
						||
{{< /callout >}}
 | 
						||
 | 
						||
## 下一步
 | 
						||
 | 
						||
立即开始探索:
 | 
						||
 | 
						||
{{< cards >}}
 | 
						||
  {{< card link="getting-started" title="快速开始" icon="document-text" subtitle="学习如何使用 Hextra 创建网站" >}}
 | 
						||
{{< /cards >}}
 | 
						||
 | 
						||
[hugo]: https://gohugo.io/
 | 
						||
[flex-search]: https://github.com/nextapps-de/flexsearch
 | 
						||
[tailwind-css]: https://tailwindcss.com/ |