schnti/robots

简单 Kirby robots.txt 插件

安装次数: 471

依赖者: 1

建议者: 0

安全: 0

星星: 1

关注者: 2

分支: 0

开放问题: 0

类型:kirby-plugin

1.0.0 2023-04-02 18:53 UTC

This package is auto-updated.

Last update: 2024-10-01 00:08:54 UTC


README

这是一个为 Kirby 3 CMS 生成的 robots.txt 的插件。

商业使用

此插件免费,但如果您在商业项目中使用它,请考虑

安装

下载

下载文件 并将它们放置在 site/plugins/robots 目录内。

Composer

composer require schnti/robots

Git 子模块

您可以将插件作为 Git 子模块添加。

$ cd your/project/root
$ git submodule add https://github.com/schnti/kirby3-robots.git site/plugins/robots
$ git submodule update --init --recursive
$ git commit -am "Add Kirby robots.txt plugin"

运行以下命令以更新插件

$ cd your/project/root
$ git submodule foreach git checkout master
$ git submodule foreach git pull
$ git commit -am "Update submodules"
$ git submodule update --init --recursive

如何使用

无需任何要求。

建议使用 schnti/kirby3-sitemap 插件。