Skip to content

Commit

Permalink
Add sitemap to the robots.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
stariy95 committed Mar 21, 2024
1 parent ab4955d commit d88f38d
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 16 deletions.
30 changes: 16 additions & 14 deletions config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ disableKinds:
- taxonomy
- term

enableRobotsTXT: true

params:
googleAnalytics: "UA-74603008-1"
description: >-
Expand All @@ -21,17 +23,17 @@ permalinks:

menu:
main:
- Name: "Get started"
Pre: version # this means that item's URL depends on Bootique version
URL: "/getting-started/"
Weight: 1
- Name: "Documentation"
Pre: version
URL: "/docs/"
Weight: 2
- Name: "CLA"
URL: "/cla/"
Weight: 3
- Name: "Forum"
URL: "https://groups.google.com/forum/#!forum/bootique-user"
Weight: 4
- name: "Get started"
pre: version # this means that item's URL depends on Bootique version
url: "/getting-started/"
weight: 1
- name: "Documentation"
pre: version
url: "/docs/"
weight: 2
- name: "CLA"
url: "/cla/"
weight: 3
- name: "Forum"
url: "https://groups.google.com/forum/#!forum/bootique-user"
weight: 4
2 changes: 0 additions & 2 deletions static/robots.txt

This file was deleted.

2 changes: 2 additions & 0 deletions themes/bootique-theme/layouts/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
User-agent: *
Sitemap: {{ "sitemap.xml" | absURL }}

0 comments on commit d88f38d

Please sign in to comment.