
Product
Announcing Socket Fix 2.0
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
hexo-generator-robotstxt-host
Advanced tools
Basic robots.txt generator plugin for Hexo with Host options
A very simple plugin to generate a robots.txt file automatically for Hexo 3.
npm install hexo-generator-robotstxt --save
Add hexo-generator-robotstxt
to plugins
in _config.yml
.
plugins:
- hexo-generator-robotstxt
Add config for robots.txt
to _config.yml
.
robotstxt:
useragent: "*"
disallow:
- /one_file_to_disallow.html
- /2nd_file_to_disallow.html
- /3rd_file_to_disallow.html
allow:
- /one_file_to_allow.html
- /2nd_file_to_allow.html
- /3rd_file_to_allow.html
sitemap: /sitemap.xml
Setting | Description | Default |
---|---|---|
useragent | Set the User-Agent | * |
disallow | Disallow files or folders for this User-Agent | |
allow | Allow files or folders for this User-Agent | |
sitemap | Set the path to your sitemap |
FAQs
Basic robots.txt generator plugin for Hexo with Host options
We found that hexo-generator-robotstxt-host demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket Fix 2.0 brings targeted CVE remediation, smarter upgrade planning, and broader ecosystem support to help developers get to zero alerts.
Security News
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.