Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/halo-dev/plugin-sitemap
Halo 2.0 的站点 Sitemap 生成插件
https://github.com/halo-dev/plugin-sitemap
halo halo-plugin
Last synced: about 1 month ago
JSON representation
Halo 2.0 的站点 Sitemap 生成插件
- Host: GitHub
- URL: https://github.com/halo-dev/plugin-sitemap
- Owner: halo-dev
- License: gpl-3.0
- Created: 2022-08-12T01:39:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-03T04:10:10.000Z (5 months ago)
- Last Synced: 2024-09-19T05:58:13.007Z (3 months ago)
- Topics: halo, halo-plugin
- Language: Java
- Homepage: https://halo.run/store/apps/app-QDFMI
- Size: 2.23 MB
- Stars: 5
- Watchers: 5
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-halo - plugin-sitemap - Sitemap 链接生成插件 (Halo 2.0 / 插件)
README
# plugin-sitemap
Halo 2.0 的站点 Sitemap 链接生成插件
安装插件之后会提供一个 `http://your-host/sitemap.xml` 的链接作为站点的 Sitemap。
## 使用方式
1. 下载,目前提供以下两个下载方式:
- GitHub Releases:访问 [Releases](https://github.com/halo-sigs/plugin-sitemap/releases) 下载 Assets 中的 JAR 文件。
- Halo 应用市场:。
2. 插件安装和更新方式可参考:。## 开发环境
```bash
git clone [email protected]:halo-dev/plugin-sitemap.git# 或者当你 fork 之后
git clone [email protected]:{your_github_id}/plugin-sitemap.git
``````bash
cd path/to/plugin-sitemap
``````bash
./gradlew build
```修改 Halo 配置文件:
```yaml
halo:
plugin:
runtime-mode: development
classes-directories:
- "build/classes"
- "build/resources"
lib-directories:
- "libs"
fixedPluginPath:
- "/path/to/plugin-sitemap"
```