We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c669bfe commit c6fd43cCopy full SHA for c6fd43c
.eleventy.js
@@ -27,6 +27,9 @@ module.exports = function (config) {
27
// Copy the `admin` folders to the output
28
config.addPassthroughCopy('admin');
29
30
+ // Copy the robots.txt file to the output
31
+ config.addPassthroughCopy('robots.txt');
32
+
33
// Copy USWDS init JS so we can load it in HEAD to prevent banner flashing
34
config.addPassthroughCopy({'./node_modules/@uswds/uswds/dist/js/uswds-init.js': 'assets/js/uswds-init.js'});
35
robots.txt
@@ -0,0 +1,9 @@
1
+Sitemap: https://guides.18f.gov/sitemap.xml
2
3
+User-agent: usasearch
4
+Allow: /
5
+Crawl-delay: 2
6
7
+User-agent: *
8
9
+Crawl-delay: 10
0 commit comments