diff --git a/templates/robots.txt b/templates/robots.txt new file mode 100644 index 0000000..d632a13 --- /dev/null +++ b/templates/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: {{ config.base_url }}/sitemap.xml diff --git a/zola.toml b/zola.toml index 79e464b..ca5d5ca 100644 --- a/zola.toml +++ b/zola.toml @@ -6,6 +6,7 @@ build_search_index = false taxonomies = [ {name = "tags"} ] generate_feeds = true feed_filenames = ["rss.xml"] +generate_robots_txt = true [markdown.highlighting] theme = "catppuccin-mocha"