diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml
index 3beb4bfd5e5fdb724fdf238438b5627676642239..32ee8b857ac80e16b800c5bff9962440c895bdaa 100644
--- a/config/_default/hugo.toml
+++ b/config/_default/hugo.toml
@@ -7,6 +7,8 @@ pygmentsStyle = "monokai"
 DefaultContentLanguage = "en"
 defaultContentLanguageInSubdir = false
 
+enableRobotsTXT = true
+
 [services.rss]
 limit = 50
 
@@ -65,3 +67,6 @@ getenv = ['^HUGO_', '^CI$', '^ACTIPAGE_']
 
 [params]
 siteAuthor="Jeffrey Phillips Freeman"
+
+[sitemap]
+filename = 'sitemap.xml'
diff --git a/layouts/robots.txt b/layouts/robots.txt
new file mode 100644
index 0000000000000000000000000000000000000000..319bc3add48b47bc32186fda5a5c3c2e4be61fc9
--- /dev/null
+++ b/layouts/robots.txt
@@ -0,0 +1,2 @@
+User-agent: *
+Sitemap: {{ .Site.BaseURL }}sitemap.xml
diff --git a/static/robots.txt b/static/robots.txt
deleted file mode 100644
index 142f4a864cc64c78f2ec2d628c7e772ba2e35e34..0000000000000000000000000000000000000000
--- a/static/robots.txt
+++ /dev/null
@@ -1 +0,0 @@
-Sitemap: https://flear.org/sitemap.xml