📜  十一添加 robots.txt - Html 代码示例

📅  最后修改于: 2022-03-11 14:53:02.452000             🧑  作者: Mango

代码示例1

Create a file called robots.njk inside the src directory:

---
permalink: '/robots.txt'
eleventyExcludeFromCollections: true
---

User-agent: * 
Disallow: /